AWS Certified Developer Associate DVA-C02 Practice Question
Your organization enforces a governance rule that only the central security team can create, update, or attach IAM policies. Developers cannot change identity-based or resource-based policies themselves. The development team must review configuration files stored in the S3 bucket named dev-configurations. What is the MOST secure way to grant the team the required read-only access while complying with the governance model and the principle of least privilege?
Attach the AWS-managed policy AmazonS3ReadOnlyAccess to the development team's IAM role.
Add an S3 bucket policy yourself that grants the development IAM users s3:GetObject permission on the bucket.
Open a ticket asking the security team to create a customer-managed policy granting s3:GetObject and s3:ListBucket on the dev-configurations bucket and attach it to the development group.
Create a permissions boundary for each developer that includes the required S3 actions.
Submitting a request to the security team ensures that a customer-managed policy is created with only s3:GetObject and s3:ListBucket permissions on the dev-configurations bucket and is attached to the development group or role. This honors the governance rule that developers may not manipulate policies. Adding an AWS-managed policy would grant broader access than necessary and still violates the control boundary. Editing the bucket policy yourself or attaching inline user policies bypasses the central authorization process. A permissions boundary alone cannot grant permissions; it only limits them.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is the principle of least privilege important in IAM policies?
Open an interactive chat with Bash
What is the difference between identity-based and resource-based policies in AWS IAM?
Open an interactive chat with Bash
What is a customer-managed policy, and how does it differ from an AWS-managed policy?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .