Cloud-Security-Engineer Identity And Access Security Practice Question
An enterprise is hardening its AWS IAM environment. Which THREE policy conditions or elements can help restrict role assumption security risks when configured correctly? (Choose three.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
'sts:ExternalId' condition to prevent confused deputy attacks
External IDs, source VPC endpoints, and secure MFA conditions strengthen IAM role trust relationships.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
'aws:SecureTransport' condition requiring HTTPS
Why it's wrong here
SecureTransport applies to data-in-transit (like S3/API calls), not STS role assumption trust conditions.
- ✓
'sts:ExternalId' condition to prevent confused deputy attacks
Why this is correct
External ID ensures third-party applications securely assume cross-account roles.
- ✓
'aws:MultiFactorAuthPresent' condition requiring MFA for sensitive role assumptions
Why this is correct
Requiring MFA presence ensures the human user authenticated securely before assuming a privileged role.
- ✗
'ec2:InstanceType' condition restricting EC2 instance sizes in trust policies
Why it's wrong here
Instance type conditions apply to EC2 instance creation APIs, not IAM trust policies.
- ✓
'aws:SourceVpce' condition to restrict assumption requests to specific VPC endpoints
Why this is correct
Source VPCE conditions ensure calls originate exclusively from authorized internal VPCs.
About these practice questions
One of 216 original Cloud-Security-Engineer practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Palo Alto Networks exam blueprint
This Cloud-Security-Engineer practice question is part of Courseiva's free Palo Alto Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Cloud-Security-Engineer exam.