AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 52
Question 510
An AWS DevOps engineer must address this situation: Multiple feature branches share one deployment stage, and an older pipeline run occasionally overwrites the newest tested build. Which implementation choice BEST meets the main operational requirement?
- Separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions.
- Apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
- Promote the identical immutable build artifact across environments and preserve checksum and source-revision traceability.
- Use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
Explanation
Correct Answer
B:This response directly addresses the stated requirement: Apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact. The relevant technical mechanism is that concurrent delivery must preserve artifact-to-version ordering so a stale execution does not replace a newer approved revision. Without this design, an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. An operational acceptance check should confirm that parallel-trigger testing demonstrates that only the intended approved artifact version is promoted to production.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. In that situation the corresponding response would be to separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
C:This design is appropriate for another AWS operational requirement: The team publishes an AWS CodeBuild artifact to S3 and then edits the binary in a separate account before production deployment. In that situation the corresponding response would be to promote the identical immutable build artifact across environments and preserve checksum and source-revision traceability. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
D:This design is appropriate for another AWS operational requirement: A company deploys services into development and production AWS accounts, but the build account has permanent administrator credentials for both. In that situation the corresponding response would be to use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
Question 511
An operations team deploys the following safeguard: Automate tested AMI production with EC2 Image Builder or an equivalent versioned image pipeline. Which observed result is the STRONGEST validation that the safeguard works?
- An operator can redeploy a previous approved S3 object or ECR digest without rebuilding it.
- Policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions.
- Two independently built candidate AMIs pass the approved recipe tests and record their component versions.
- Builds in separate accounts resolve the same version and digest through the approved package repository.
Explanation
Correct Answer
C:The best verification result is: Two independently built candidate AMIs pass the approved recipe tests and record their component versions. It specifically demonstrates that the implemented safeguard to automate tested AMI production with EC2 Image Builder or an equivalent versioned image pipeline. is effective. This control matters where a fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. Without suitable evidence, the outstanding exposure is that manually built images can accumulate package drift and unknown security baselines.
Incorrect Answers
A:This measurement validates a different AWS control: Retain immutable approved deployment artifacts for the required rollback and audit period. It is most relevant where a pipeline deletes the artifact storage object as soon as it deploys, making an emergency rollback depend on recompiling source. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that two independently built candidate AMIs pass the approved recipe tests and record their component versions.
B:This measurement validates a different AWS control: Protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies. It is most relevant where a production account receives an artifact stored in S3 without server-side encryption or an explicit deployment read role. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that two independently built candidate AMIs pass the approved recipe tests and record their component versions.
D:This measurement validates a different AWS control: Publish versioned internal packages to AWS CodeArtifact and authorize consumers using appropriate repository policies and tokens. It is most relevant where a multi-account build consumes shared private packages but each account independently copies libraries and loses dependency provenance. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that two independently built candidate AMIs pass the approved recipe tests and record their component versions.
Question 512
The team has omitted the measure to separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions. It operates in this setting: A deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. Which resulting risk is MOST direct?
- An older successful pipeline execution can roll production back accidentally without a controlled rollback decision.
- Long-lived deployment keys can be reused to compromise production outside approved release activity.
- An unreviewed mutation between staging and production can invalidate testing and make rollback uncertain.
- Compromising a routine build step could allow security log destruction or privilege escalation.
Explanation
Correct Answer
D:The omitted control leaves this direct failure exposure: Compromising a routine build step could allow security log destruction or privilege escalation. This follows from the specific situation: A deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. The proposed safeguard would be to separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions. The governing engineering reason is that least-privilege pipeline identities constrain the damage of compromised build logic or malicious source changes. A test would check that access tests show the deployment role updates the intended ECS service but cannot delete logs or create IAM users.
Incorrect Answers
A:This failure could arise in a related but different scenario: Multiple feature branches share one deployment stage, and an older pipeline run occasionally overwrites the newest tested build. There the appropriate mitigation is to apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact. The current environment is specifically a deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. Its omitted safeguard creates the more direct consequence: Compromising a routine build step could allow security log destruction or privilege escalation.
B:This failure could arise in a related but different scenario: A company deploys services into development and production AWS accounts, but the build account has permanent administrator credentials for both. There the appropriate mitigation is to use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies. The current environment is specifically a deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. Its omitted safeguard creates the more direct consequence: Compromising a routine build step could allow security log destruction or privilege escalation.
C:This failure could arise in a related but different scenario: The team publishes an AWS CodeBuild artifact to S3 and then edits the binary in a separate account before production deployment. There the appropriate mitigation is to promote the identical immutable build artifact across environments and preserve checksum and source-revision traceability. The current environment is specifically a deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. Its omitted safeguard creates the more direct consequence: Compromising a routine build step could allow security log destruction or privilege escalation.
Question 513
A team proposes this change: Use AWS AppConfig deployment strategies and validators with monitors to roll out configuration changes gradually. The environment is: A team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. Which AWS engineering principle most directly supports the proposal?
- Application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment.
- Runbook automation can make complex operational procedures repeatable while retaining risk-based approvals.
- Stateful workflows make multi-step operational automation observable and allow controlled retries and compensation.
- Automated fleet inventory establishes a current source of software and configuration evidence for patch decisions.
Explanation
Correct Answer
A:The central principle is that application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment. It supports the decision to use AWS AppConfig deployment strategies and validators with monitors to roll out configuration changes gradually. because the workload problem is: A team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. The consequence of ignoring the principle is: An invalid flag setting can disable every service instance before the first alert is noticed. The design can be tested by confirming that a staged AppConfig update is halted by a CloudWatch alarm and returns to the previous configuration.
Incorrect Answers
B:This principle concerns the different situation in which a recurring operations task requires several AWS API steps and human review, but staff execute commands in different orders. It explains the alternative control to build a versioned Systems Manager Automation document with explicit steps, constraints and approvals. For the present workload, a team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. the design rationale is instead that application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment.
C:This principle concerns the different situation in which a remediation Lambda invokes several dependent services, but transient failures cause duplicate deletions and no reliable execution history. It explains the alternative control to use AWS Step Functions to orchestrate retries, state transitions, idempotent actions and failure paths. For the present workload, a team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. the design rationale is instead that application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment.
D:This principle concerns the different situation in which a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. It explains the alternative control to enable Systems Manager Inventory collection with suitable agent coverage and central reporting. For the present workload, a team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. the design rationale is instead that application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment.
Question 514
An operations team deploys the following safeguard: Switch to temporary role credentials from AWS STS and remove unused long-lived access keys. Which observed result is the STRONGEST validation that the safeguard works?
- Policy tests prove matching tenant attributes permit only the intended prefix while mismatched attributes are denied.
- A deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs.
- A controlled emergency access test records authenticated role assumption, approval context and alert delivery.
- A disabled workforce identity loses its assigned account access and access history identifies the session role.
Explanation
Correct Answer
B:The best verification result is: A deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs. It specifically demonstrates that the implemented safeguard to switch to temporary role credentials from AWS STS and remove unused long-lived access keys. is effective. This control matters where a deployment script uses a static access key stored in a shared secret file that remains valid for months. Without suitable evidence, the outstanding exposure is that a copied long-lived key may remain usable long after the original deployment task completes.
Incorrect Answers
A:This measurement validates a different AWS control: Evaluate attribute-based access control with approved session or principal tags and controlled resource tags. It is most relevant where application teams deploy dozens of services needing access to distinct tenant-specific S3 prefixes, and static role policies are manually copied for each tenant. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs.
C:This measurement validates a different AWS control: Enforce suitable strong authentication for privileged human access and log emergency-role assumption. It is most relevant where a rarely used break-glass administrative role has no multi-factor authentication control and its usage is not audited. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs.
D:This measurement validates a different AWS control: Use IAM Identity Center with federated workforce identities and permission sets mapped to approved account roles. It is most relevant where employees from several teams require AWS console access but each workload account has manually maintained permanent IAM users. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs.
Question 515
The team has omitted the measure to run representative preproduction load testing with explicit throughput, latency and failure thresholds. It operates in this setting: An API endpoint works at light load but exceeds response-time requirements during seasonal traffic peaks. Which resulting risk is MOST direct?
- A non-backward-compatible migration can prevent rollback and break older active application instances.
- Production transactions may fail because service permissions, event payloads or API contracts are incompatible.
- An otherwise working deployment can saturate downstream connections under predictable demand.
- Unexpected input can trigger repeated exceptions and exhaust retry or queue resources after deployment.
Explanation
Correct Answer
C:The omitted control leaves this direct failure exposure: An otherwise working deployment can saturate downstream connections under predictable demand. This follows from the specific situation: An API endpoint works at light load but exceeds response-time requirements during seasonal traffic peaks. The proposed safeguard would be to run representative preproduction load testing with explicit throughput, latency and failure thresholds. The governing engineering reason is that performance acceptance requires business-representative workloads, not only syntax correctness or instance health. A test would check that a load test at the approved concurrency meets percentile latency and error-rate acceptance thresholds.
Incorrect Answers
A:This failure could arise in a related but different scenario: A pipeline validates schema changes using a stale test database that lacks the production migration history. There the appropriate mitigation is to test forward and backward compatibility against representative migration state and establish rollback handling. The current environment is specifically an API endpoint works at light load but exceeds response-time requirements during seasonal traffic peaks. Its omitted safeguard creates the more direct consequence: An otherwise working deployment can saturate downstream connections under predictable demand.
B:This failure could arise in a related but different scenario: A payment API passes mocked unit tests but fails when communicating with the actual message queue and database. There the appropriate mitigation is to add isolated integration tests using realistic service endpoints, test data and least-privilege credentials. The current environment is specifically an API endpoint works at light load but exceeds response-time requirements during seasonal traffic peaks. Its omitted safeguard creates the more direct consequence: An otherwise working deployment can saturate downstream connections under predictable demand.
D:This failure could arise in a related but different scenario: A deployable Lambda function returns the correct body for one request but crashes on the first malformed input. There the appropriate mitigation is to exercise negative input, exception and dependency-failure tests in automated CodeBuild or equivalent test stages. The current environment is specifically an API endpoint works at light load but exceeds response-time requirements during seasonal traffic peaks. Its omitted safeguard creates the more direct consequence: An otherwise working deployment can saturate downstream connections under predictable demand.
Question 516
An AWS DevOps engineer must address this situation: An enterprise has many AWS accounts but each account owner can disable its only local CloudTrail trail. Which implementation choice BEST meets the main operational requirement?
- Evaluate normalized Security Hub findings against control status, scope, severity and evidence of remediation.
- Route matching GuardDuty findings through EventBridge to an owned incident-response workflow with bounded actions.
- Enable suitable Amazon Inspector scanning coverage for relevant compute and image resources and prioritize findings.
- Use an organization trail with controlled centralized log delivery and separation from member-account administrators.
Explanation
Correct Answer
D:This response directly addresses the stated requirement: Use an organization trail with controlled centralized log delivery and separation from member-account administrators. The relevant technical mechanism is that organization-level API audit coverage should survive ordinary workload account administration changes. Without this design, a compromised member account may suppress evidence of later unauthorized API operations. An operational acceptance check should confirm that new member-account API activity appears in the centralized trail and local account users cannot disable its organization coverage.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: Security Hub receives findings from several services, but teams report compliance solely by the total number of alerts closed. In that situation the corresponding response would be to evaluate normalized Security Hub findings against control status, scope, severity and evidence of remediation. It does not directly mitigate the current failure mode, where a compromised member account may suppress evidence of later unauthorized API operations. The current requirement instead calls for use an organization trail with controlled centralized log delivery and separation from member-account administrators.
B:This design is appropriate for another AWS operational requirement: A GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. In that situation the corresponding response would be to route matching GuardDuty findings through EventBridge to an owned incident-response workflow with bounded actions. It does not directly mitigate the current failure mode, where a compromised member account may suppress evidence of later unauthorized API operations. The current requirement instead calls for use an organization trail with controlled centralized log delivery and separation from member-account administrators.
C:This design is appropriate for another AWS operational requirement: A fleet uses the latest operating-system packages but container images still include vulnerable application libraries. In that situation the corresponding response would be to enable suitable Amazon Inspector scanning coverage for relevant compute and image resources and prioritize findings. It does not directly mitigate the current failure mode, where a compromised member account may suppress evidence of later unauthorized API operations. The current requirement instead calls for use an organization trail with controlled centralized log delivery and separation from member-account administrators.
Question 517
An operations team deploys the following safeguard: Use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets. Which observed result is the STRONGEST validation that the safeguard works?
- A sandbox replay reproduces the expected routing outcome without invoking live destructive remediation.
- Injecting the same incident event twice yields one accountable incident and no repeated destructive action.
- An event reaches both response channels even when one consumer is deliberately unavailable.
- A test relevant API event triggers one expected workflow while unrelated calls produce no remediation.
Explanation
Correct Answer
A:The best verification result is: A sandbox replay reproduces the expected routing outcome without invoking live destructive remediation. It specifically demonstrates that the implemented safeguard to use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets. is effective. This control matters where an incident automation team wants to validate a new event rule against previously seen deployment failures rather than wait for another outage. Without suitable evidence, the outstanding exposure is that uncontrolled event replay may duplicate commands or external notifications from prior incidents.
Incorrect Answers
B:This measurement validates a different AWS control: Apply idempotency keys and deduplication in the event-processing workflow using stable event identity. It is most relevant where a production event source generates duplicate notifications and the response workflow creates repeated incident tickets and conflicting actions. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a sandbox replay reproduces the expected routing outcome without invoking live destructive remediation.
C:This measurement validates a different AWS control: Use a fanout pattern such as SNS topics and separate subscriptions or routed event targets for distinct consumers. It is most relevant where one incident event must notify an on-call team and independently update a customer communication channel. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a sandbox replay reproduces the expected routing outcome without invoking live destructive remediation.
D:This measurement validates a different AWS control: Match specific event source, detail type, API name and applicable resources in the EventBridge rule pattern. It is most relevant where an EventBridge rule responds to all CloudTrail API calls and launches an expensive remediation for unrelated operations. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a sandbox replay reproduces the expected routing outcome without invoking live destructive remediation.
Question 518
The team has omitted the measure to enable Systems Manager Inventory collection with suitable agent coverage and central reporting. It operates in this setting: A patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Which resulting risk is MOST direct?
- An automatic retry can repeat a destructive change or leave dependent systems inconsistent.
- Unsupported packages may remain unknown on instances outside the manual spreadsheet.
- Hundreds of instances can remain unpatched without visibility into which hosts missed the window.
- A troubleshooting change can persist indefinitely and create inconsistent security behavior across nodes.
Explanation
Correct Answer
B:The omitted control leaves this direct failure exposure: Unsupported packages may remain unknown on instances outside the manual spreadsheet. This follows from the specific situation: A patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. The proposed safeguard would be to enable Systems Manager Inventory collection with suitable agent coverage and central reporting. The governing engineering reason is that automated fleet inventory establishes a current source of software and configuration evidence for patch decisions. A test would check that inventory queries identify target package versions across the expected managed node fleet.
Incorrect Answers
A:This failure could arise in a related but different scenario: A remediation Lambda invokes several dependent services, but transient failures cause duplicate deletions and no reliable execution history. There the appropriate mitigation is to use AWS Step Functions to orchestrate retries, state transitions, idempotent actions and failure paths. The current environment is specifically a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Its omitted safeguard creates the more direct consequence: Unsupported packages may remain unknown on instances outside the manual spreadsheet.
C:This failure could arise in a related but different scenario: An EC2 fleet needs monthly security patching, but engineers log into instances and run package managers manually. There the appropriate mitigation is to use Systems Manager Patch Manager with approved baselines, maintenance windows and compliance reporting. The current environment is specifically a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Its omitted safeguard creates the more direct consequence: Unsupported packages may remain unknown on instances outside the manual spreadsheet.
D:This failure could arise in a related but different scenario: Production EC2 instances drift from their approved operating-system configuration after ad hoc troubleshooting. There the appropriate mitigation is to apply Systems Manager State Manager associations for supported recurring desired-state tasks and detect noncompliance. The current environment is specifically a patching program cannot determine which EC2 instances run an unsupported software package because hosts report inventory inconsistently. Its omitted safeguard creates the more direct consequence: Unsupported packages may remain unknown on instances outside the manual spreadsheet.
Question 519
The team has omitted the measure to deploy governed CloudFormation StackSets with appropriate service-managed permissions and organization targeting. It operates in this setting: A central security stack must provision identical AWS Config settings into accounts in multiple Regions. Which resulting risk is MOST direct?
- A leaked auditor access key may remain usable across the organization for months.
- A malicious workload administrator can erase local logs that document unauthorized actions.
- Manually created compliance infrastructure can drift and leave new Regions unmonitored.
- A newly opened account may host sensitive workloads outside the organization's security visibility.
Explanation
Correct Answer
C:The omitted control leaves this direct failure exposure: Manually created compliance infrastructure can drift and leave new Regions unmonitored. This follows from the specific situation: A central security stack must provision identical AWS Config settings into accounts in multiple Regions. The proposed safeguard would be to deploy governed CloudFormation StackSets with appropriate service-managed permissions and organization targeting. The governing engineering reason is that stackSets propagate a centrally managed template across accounts and Regions while reporting operation status. A test would check that a new account in the targeted OU receives the required configuration and stack-instance status shows success.
Incorrect Answers
A:This failure could arise in a related but different scenario: A central audit function needs short-lived read-only access into every workload account but currently distributes permanent IAM user credentials. There the appropriate mitigation is to define cross-account IAM roles with constrained trust and read permissions, then assume them through AWS STS. The current environment is specifically a central security stack must provision identical AWS Config settings into accounts in multiple Regions. Its omitted safeguard creates the more direct consequence: Manually created compliance infrastructure can drift and leave new Regions unmonitored.
B:This failure could arise in a related but different scenario: Audit logs from all member accounts currently reside only in those accounts, where local administrators can modify retention. There the appropriate mitigation is to route organization-wide audit evidence into a separately governed centralized log archive with restricted modification privileges. The current environment is specifically a central security stack must provision identical AWS Config settings into accounts in multiple Regions. Its omitted safeguard creates the more direct consequence: Manually created compliance infrastructure can drift and leave new Regions unmonitored.
D:This failure could arise in a related but different scenario: Business units request new AWS accounts by email and the central team often forgets to enable logging and security baselines. There the appropriate mitigation is to use AWS Control Tower Account Factory or a governed AWS Organizations account-vending process to automate baseline provisioning. The current environment is specifically a central security stack must provision identical AWS Config settings into accounts in multiple Regions. Its omitted safeguard creates the more direct consequence: Manually created compliance infrastructure can drift and leave new Regions unmonitored.
Question 520
An AWS DevOps engineer must address this situation: Developers may create IAM roles for their applications but must never grant themselves organization administrator rights. Which implementation choice BEST meets the main operational requirement?
- Use a restrictive cross-account IAM trust policy with the required external ID or workload identity conditions.
- Apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions.
- Enforce suitable strong authentication for privileged human access and log emergency-role assumption.
- Attach an appropriately scoped IAM permissions boundary to roles they create and restrict boundary removal.
Explanation
Correct Answer
D:This response directly addresses the stated requirement: Attach an appropriately scoped IAM permissions boundary to roles they create and restrict boundary removal. The relevant technical mechanism is that permission boundaries set an upper limit on identity permissions but do not independently grant access. Without this design, a delegated role creator could assign an overly broad policy and gain control beyond the approved scope. An operational acceptance check should confirm that a test role with an AdministratorAccess identity policy remains unable to exceed its enforced boundary.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: An external CI provider must deploy into an AWS account, but its role trust policy allows every account belonging to the provider. In that situation the corresponding response would be to use a restrictive cross-account IAM trust policy with the required external ID or workload identity conditions. It does not directly mitigate the current failure mode, where a delegated role creator could assign an overly broad policy and gain control beyond the approved scope. The current requirement instead calls for attach an appropriately scoped IAM permissions boundary to roles they create and restrict boundary removal.
B:This design is appropriate for another AWS operational requirement: An account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. In that situation the corresponding response would be to apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions. It does not directly mitigate the current failure mode, where a delegated role creator could assign an overly broad policy and gain control beyond the approved scope. The current requirement instead calls for attach an appropriately scoped IAM permissions boundary to roles they create and restrict boundary removal.
C:This design is appropriate for another AWS operational requirement: A rarely used break-glass administrative role has no multi-factor authentication control and its usage is not audited. In that situation the corresponding response would be to enforce suitable strong authentication for privileged human access and log emergency-role assumption. It does not directly mitigate the current failure mode, where a delegated role creator could assign an overly broad policy and gain control beyond the approved scope. The current requirement instead calls for attach an appropriately scoped IAM permissions boundary to roles they create and restrict boundary removal.