AWS Solutions Architect · Design Secure Architectures · hard
A security architect wants delegated product engineers to create IAM roles for their microservices inside an AWS account, but must ensure no engineer can create a role whose effective permissions exceed a predefined ceiling—even if the engineer attaches AdministratorAccess to the new role. What should the architect configure?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. Enforce a predefined IAM permissions boundary on every role engineers create using an IAM policy condition
An IAM permissions boundary sets the maximum effective permissions a role can have (the intersection of identity-based policies and the boundary), and a condition on iam:CreateRole / iam:PutRolePermissionsBoundary in the engineer's IAM policy forces every role they create to carry that boundary. IAM groups cannot be attached to roles, and Resource Access Manager shares resources rather than capping IAM permissions.
Why the other options are wrong
- A. Place the microservice IAM roles inside an IAM group that carries an explicit deny policy for administrative actions — IAM groups can contain only IAM users; IAM roles cannot be added to IAM groups.
- C. Use AWS Resource Access Manager (RAM) to share a read-only role template across all VPC subnets in the account — AWS RAM shares infrastructure resources across accounts; it does not cap the effective permissions of newly created IAM roles.
- D. Enable IAM Access Analyzer external-access findings to automatically revoke AdministratorAccess before calls execute — IAM Access Analyzer identifies unintended resource access after configuration and does not act as a real-time permission ceiling.
More Design Secure Architectures questions
- An application running on Amazon ECS Fargate connects to an Amazon Aurora PostgreSQL cluster. Compliance rules require…
- A financial company manages forty AWS accounts in AWS Organizations and wants developers to sign in with their…
- A regulated workload in a private subnet with no internet gateway or NAT gateway must call an internal SaaS partner…
- A company operates an Application Load Balancer and an Amazon CloudFront distribution for app.example.com. Security…
- A public REST API hosted on Amazon API Gateway and an Application Load Balancer experiences SQL injection attempts and…
- A compliance officer needs an automated service that uses machine learning and pattern matching to discover personally…
- A security team manages an AWS Organization and must ensure that no principal in any member account—including account…
- A healthcare workload stores regulated objects in an Amazon S3 bucket. Auditors require customer-controlled key…
All Design Secure Architectures questions and the topic overview →
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.