AWS Developer DVA-C02 · Security · hard
A central platform security team allows application developers to create their own IAM execution roles for AWS Lambda functions, but must guarantee that no developer-created IAM role can ever exceed a maximum privilege ceiling (for example, developers may grant s3:* and dynamodb:*, but even if a developer attaches AdministratorAccess to a new Lambda role, the role must never be able to call iam:* or organizations:*). Which IAM feature enforces this maximum permission ceiling on delegated role creation?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: A. Attach an IAM Permissions Boundary policy to each developer-created Lambda role
An IAM Permissions Boundary is a managed policy attached to an IAM user or role that defines the maximum permissions that entity can ever have. The effective permissions are the intersection of the identity-based policy and the permissions boundary — preventing privilege escalation when developers create new Lambda execution roles.
Why the other options are wrong
- B. Store the Lambda function deployment zip in an unencrypted public S3 bucket — Public S3 buckets decrease security and have no effect on IAM role privilege escalation.
- C. Use an Amazon S3 Bucket ACL instead of IAM execution roles on the function — S3 Bucket ACLs are legacy object-storage controls and cannot restrict iam:* or organizations:* API calls.
- D. Replace IAM roles with hardcoded AWS root account access keys in env variables — Using root access keys violates every AWS security best practice and bypasses IAM boundaries.
More Security questions
- A mobile fitness app needs: (1) a managed user directory supporting sign-up, sign-in, MFA, and social login (Sign in…
- A regulated enterprise stores files in an Amazon S3 bucket encrypted with an AWS KMS Customer Managed Key (SSE-KMS)…
- A developer needs to encrypt a 50 MB sensitive PDF file locally on an application server before uploading it to an…
- An AWS Lambda function in Account A (111122223333) needs to read objects from an Amazon S3 bucket in Account B…
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.