Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 40
Question 390
An AWS platform team investigates this condition: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. Which DevOps principle BEST explains the core problem?
- Security findings need aggregation, deduplication and accountable response in multi-account environments.
- Delegated role creation should be constrained by a permission boundary and governing policies.
- Compliance monitoring needs organization-level collection and aggregation at appropriate scope.
- High-risk root activity should be centrally detected from reliably recorded audit events.
Explanation
Correct Answer
A:Security findings need aggregation, deduplication and accountable response in multi-account environments. Relevant first evidence: Inspect detector enablement, Security Hub integration, EventBridge rules and delegated admin. The resulting controlled response is: Configure centralized Security Hub findings ingestion and approved incident routing.
Incorrect Answers
B:Delegated role creation should be constrained by a permission boundary and governing policies. This instead addresses a different case: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. For the stated situation (A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow.), the better principle is: Security findings need aggregation, deduplication and accountable response in multi-account environments. The deciding distinction is: Security findings need aggregation, deduplication and accountable response in multi-account environments.
C:Compliance monitoring needs organization-level collection and aggregation at appropriate scope. This instead addresses a different case: Governance wants one view of noncompliant encrypted volumes across every AWS Organization account and Region. For the stated situation (A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow.), the better principle is: Security findings need aggregation, deduplication and accountable response in multi-account environments. The deciding distinction is: Security findings need aggregation, deduplication and accountable response in multi-account environments.
D:High-risk root activity should be centrally detected from reliably recorded audit events. This instead addresses a different case: The security team needs immediate notification if any member account root principal creates an access key or changes account settings. For the stated situation (A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow.), the better principle is: Security findings need aggregation, deduplication and accountable response in multi-account environments. The deciding distinction is: Security findings need aggregation, deduplication and accountable response in multi-account environments.
Question 391
A DevOps team is reviewing: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. Which TWO complementary actions should it take? Select TWO answers.
- Map recovery dependencies, state transitions, approvals and rollback criteria.
- Introduce an appropriate cache or replicated read path with clear invalidation rules.
- Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
- Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.
- Create an application-aware recovery sequence with replay safety and reconciled checkpoints.
Explanation
Correct Answers
A:Map recovery dependencies, state transitions, approvals and rollback criteria. This is a required diagnostic evidence step for the stated situation: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. The complementary correct action is: Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. Both follow the principle: Disaster recovery needs repeatable orchestration and measured test evidence.
C:Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. This is a required controlled engineering action for the stated situation: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. The complementary correct action is: Map recovery dependencies, state transitions, approvals and rollback criteria. Both follow the principle: Disaster recovery needs repeatable orchestration and measured test evidence.
Incorrect Answers
B:Introduce an appropriate cache or replicated read path with clear invalidation rules. This is suitable for another situation: An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity. In this case, engineers instead need the paired investigation (Map recovery dependencies, state transitions, approvals and rollback criteria.) and design change (Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.). These two steps address: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.
D:Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas. This is suitable for another situation: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. In this case, engineers instead need the paired investigation (Map recovery dependencies, state transitions, approvals and rollback criteria.) and design change (Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.). These two steps address: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.
E:Create an application-aware recovery sequence with replay safety and reconciled checkpoints. This is suitable for another situation: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. In this case, engineers instead need the paired investigation (Map recovery dependencies, state transitions, approvals and rollback criteria.) and design change (Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.). These two steps address: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.
Question 392
An AWS platform team investigates this condition: A Lambda function update introduces intermittent errors that appear only under a small share of real requests. Which DevOps principle BEST explains the core problem?
- Rollout concurrency and downstream capacity must be included in deployment strategy.
- Infrastructure changes should be previewed and checked for destructive resource effects.
- Blue/green ECS deployments require controlled target groups, listeners and health validation.
- Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback.
Explanation
Correct Answer
D:Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback. Relevant first evidence: Review alias traffic weights, published versions, deployment hooks and error alarms. The resulting controlled response is: Shift an approved percentage of alias traffic to the new function version and monitor alarms.
Incorrect Answers
A:Rollout concurrency and downstream capacity must be included in deployment strategy. This instead addresses a different case: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. For the stated situation (A Lambda function update introduces intermittent errors that appear only under a small share of real requests.), the better principle is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback. The deciding distinction is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback.
B:Infrastructure changes should be previewed and checked for destructive resource effects. This instead addresses a different case: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. For the stated situation (A Lambda function update introduces intermittent errors that appear only under a small share of real requests.), the better principle is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback. The deciding distinction is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback.
C:Blue/green ECS deployments require controlled target groups, listeners and health validation. This instead addresses a different case: An ECS service release must let QA validate a new task set before production traffic shifts, with rollback if alarms breach a threshold. For the stated situation (A Lambda function update introduces intermittent errors that appear only under a small share of real requests.), the better principle is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback. The deciding distinction is: Gradual Lambda routing enables bounded exposure and CloudWatch-driven rollback.
Question 393
The DevOps team must resolve this scenario: Five related alarms page the same team simultaneously for a single database outage, overwhelming responders. Which engineering change is MOST appropriate?
- Use CloudWatch composite alarm logic with deliberate suppression or grouping.
- Set queue age alarms and controlled poison-message routing to a DLQ.
- Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.
- Configure a CloudWatch alarm with supported EC2 recovery action where appropriate.
Explanation
Correct Answer
A:Use CloudWatch composite alarm logic with deliberate suppression or grouping. Its validation is: One modeled database outage raises a coherent actionable incident instead of five independent pages. The principle is: Composite alarms can group related signals into meaningful incident notifications.
Incorrect Answers
B:Set queue age alarms and controlled poison-message routing to a DLQ. This instead addresses a different case: A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing. For the stated situation (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better engineering action is: Use CloudWatch composite alarm logic with deliberate suppression or grouping. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
C:Configure a supported CloudWatch Logs subscription to the approved analytics pipeline. This instead addresses a different case: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. For the stated situation (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better engineering action is: Use CloudWatch composite alarm logic with deliberate suppression or grouping. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
D:Configure a CloudWatch alarm with supported EC2 recovery action where appropriate. This instead addresses a different case: A critical single EC2 instance occasionally fails hardware health checks, but operators discover the outage only when customers complain. For the stated situation (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better engineering action is: Use CloudWatch composite alarm logic with deliberate suppression or grouping. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
Question 394
A DevOps team is reviewing: A new payment option passes staging but causes failures only for a small set of customer geographies. Which TWO complementary actions should it take? Select TWO answers.
- Compare test populations, geographic routing, canary metrics and business error indicators.
- Review repository protection rules, pull-request triggers and build pass requirements.
- Route dependencies through approved CodeArtifact repositories with controlled upstream access.
- Deploy to a bounded canary or targeted cohort and expand only after validated signals.
- Review generated CloudFormation change sets, deletion or replacement actions and approval policy.
Explanation
Correct Answers
A:Compare test populations, geographic routing, canary metrics and business error indicators. This is a required diagnostic evidence step for the stated situation: A new payment option passes staging but causes failures only for a small set of customer geographies. The complementary correct action is: Deploy to a bounded canary or targeted cohort and expand only after validated signals. Both follow the principle: Release testing should include representative cohorts and post-traffic observation before full rollout.
D:Deploy to a bounded canary or targeted cohort and expand only after validated signals. This is a required controlled engineering action for the stated situation: A new payment option passes staging but causes failures only for a small set of customer geographies. The complementary correct action is: Compare test populations, geographic routing, canary metrics and business error indicators. Both follow the principle: Release testing should include representative cohorts and post-traffic observation before full rollout.
Incorrect Answers
B:Review repository protection rules, pull-request triggers and build pass requirements. This is suitable for another situation: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. In this case, engineers instead need the paired investigation (Compare test populations, geographic routing, canary metrics and business error indicators.) and design change (Deploy to a bounded canary or targeted cohort and expand only after validated signals.). These two steps address: A new payment option passes staging but causes failures only for a small set of customer geographies.
C:Route dependencies through approved CodeArtifact repositories with controlled upstream access. This is suitable for another situation: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. In this case, engineers instead need the paired investigation (Compare test populations, geographic routing, canary metrics and business error indicators.) and design change (Deploy to a bounded canary or targeted cohort and expand only after validated signals.). These two steps address: A new payment option passes staging but causes failures only for a small set of customer geographies.
E:Review generated CloudFormation change sets, deletion or replacement actions and approval policy. This is suitable for another situation: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. In this case, engineers instead need the paired investigation (Compare test populations, geographic routing, canary metrics and business error indicators.) and design change (Deploy to a bounded canary or targeted cohort and expand only after validated signals.). These two steps address: A new payment option passes staging but causes failures only for a small set of customer geographies.
Question 395
Before changing production, engineers find: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. Which investigation should the engineer perform FIRST?
- Inspect secret version stages, rotation workflow and application cache behavior.
- Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths.
- Review Object Lock configuration, retention mode, versioning and legal obligations.
- Inspect inherited SCPs, IAM identity policy and the denied API condition.
Explanation
Correct Answer
B:Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. The governing principle is: Delegated role creation should be constrained by a permission boundary and governing policies. The next controlled engineering decision is: Require approved permissions boundaries for created roles and deny removal or bypass.
Incorrect Answers
A:Inspect secret version stages, rotation workflow and application cache behavior. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.), the better investigation is: Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. The deciding distinction is: Delegated role creation should be constrained by a permission boundary and governing policies.
C:Review Object Lock configuration, retention mode, versioning and legal obligations. This instead addresses a different case: An organization must retain regulatory audit evidence for seven years, but administrators can remove every copy using ordinary DeleteObject. For the stated situation (A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.), the better investigation is: Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. The deciding distinction is: Delegated role creation should be constrained by a permission boundary and governing policies.
D:Inspect inherited SCPs, IAM identity policy and the denied API condition. This instead addresses a different case: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. For the stated situation (A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess.), the better investigation is: Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. The deciding distinction is: Delegated role creation should be constrained by a permission boundary and governing policies.
Question 396
A DevOps team is reviewing: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB. Which TWO complementary actions should it take? Select TWO answers.
- Track affected images and update or replace those artifacts through governed pipelines.
- Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs.
- Inspect flow log coverage, filter type, destination access and retention requirements.
- Inspect historical CPU seasonality, anomaly band and alert validation cases.
- Use the appropriate metric split and correlated logs to target the failing layer.
Explanation
Correct Answers
B:Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs. This is a required diagnostic evidence step for the stated situation: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB. The complementary correct action is: Use the appropriate metric split and correlated logs to target the failing layer. Both follow the principle: Troubleshooting requires separating load balancer and target failure metrics.
E:Use the appropriate metric split and correlated logs to target the failing layer. This is a required controlled engineering action for the stated situation: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB. The complementary correct action is: Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs. Both follow the principle: Troubleshooting requires separating load balancer and target failure metrics.
Incorrect Answers
A:Track affected images and update or replace those artifacts through governed pipelines. This is suitable for another situation: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. In this case, engineers instead need the paired investigation (Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs.) and design change (Use the appropriate metric split and correlated logs to target the failing layer.). These two steps address: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB.
C:Inspect flow log coverage, filter type, destination access and retention requirements. This is suitable for another situation: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. In this case, engineers instead need the paired investigation (Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs.) and design change (Use the appropriate metric split and correlated logs to target the failing layer.). These two steps address: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB.
D:Inspect historical CPU seasonality, anomaly band and alert validation cases. This is suitable for another situation: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. In this case, engineers instead need the paired investigation (Compare HTTPCode_ELB_5XX_Count, HTTPCode_Target_5XX_Count, target health and app logs.) and design change (Use the appropriate metric split and correlated logs to target the failing layer.). These two steps address: An application dashboard reports increased HTTP 5xx errors after release, but it does not distinguish target errors from errors generated by the ALB.
Question 397
The DevOps team must resolve this scenario: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. Which engineering change is MOST appropriate?
- Update the construct to enforce Block Public Access and appropriate encryption by default.
- Plan OU migrations with explicit baseline deployment and removal behavior tests.
- Model the dependency in the stack and ensure required resources exist before dependent operations.
- Model function, API integration and minimum IAM permissions in the versioned SAM template.
Explanation
Correct Answer
C:Model the dependency in the stack and ensure required resources exist before dependent operations. Its validation is: A clean stack creation succeeds repeatedly without timing-dependent manual retries. The principle is: IaC must express resource relationships and wait for required dependencies before use.
Incorrect Answers
A:Update the construct to enforce Block Public Access and appropriate encryption by default. This instead addresses a different case: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better engineering action is: Model the dependency in the stack and ensure required resources exist before dependent operations. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
B:Plan OU migrations with explicit baseline deployment and removal behavior tests. This instead addresses a different case: A team moves an account to a new OU and expects an existing StackSets-managed baseline to remain unchanged without review. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better engineering action is: Model the dependency in the stack and ensure required resources exist before dependent operations. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
D:Model function, API integration and minimum IAM permissions in the versioned SAM template. This instead addresses a different case: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better engineering action is: Model the dependency in the stack and ensure required resources exist before dependent operations. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
Question 398
An AWS platform team investigates this condition: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing. Which DevOps principle BEST explains the core problem?
- Container service scaling should use load-appropriate metrics and capacity limits.
- Autoscaling depends on valid observable metrics and resource limits as well as policy objects.
- Caching or read replicas can reduce repeated reads when consistency requirements permit.
- Pilot-light recovery must pre-plan network, service quota and scale-up capacity.
Explanation
Correct Answer
B:Autoscaling depends on valid observable metrics and resource limits as well as policy objects. Relevant first evidence: Inspect HPA conditions, metrics API, adapter connectivity and pod requests. The resulting controlled response is: Install and configure supported metrics collection and reasonable HPA thresholds.
Incorrect Answers
A:Container service scaling should use load-appropriate metrics and capacity limits. This instead addresses a different case: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. For the stated situation (A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.), the better principle is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects. The deciding distinction is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects.
C:Caching or read replicas can reduce repeated reads when consistency requirements permit. This instead addresses a different case: An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity. For the stated situation (A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.), the better principle is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects. The deciding distinction is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects.
D:Pilot-light recovery must pre-plan network, service quota and scale-up capacity. This instead addresses a different case: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. For the stated situation (A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing.), the better principle is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects. The deciding distinction is: Autoscaling depends on valid observable metrics and resource limits as well as policy objects.
Question 399
A DevOps team is reviewing: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. Which TWO complementary actions should it take? Select TWO answers.
- Use protected cross-account or cross-Region backups with appropriately isolated recovery roles.
- Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals.
- Review processing time distribution, visibility settings and duplicate business actions.
- Measure backlog per worker, task duration, queue age and scaling policies.
- Configure suitable warmup and scaling policies so boot activity is not misread as demand.
Explanation
Correct Answers
B:Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals. This is a required controlled engineering action for the stated situation: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. The complementary correct action is: Measure backlog per worker, task duration, queue age and scaling policies. Both follow the principle: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.
D:Measure backlog per worker, task duration, queue age and scaling policies. This is a required diagnostic evidence step for the stated situation: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. The complementary correct action is: Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals. Both follow the principle: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.
Incorrect Answers
A:Use protected cross-account or cross-Region backups with appropriately isolated recovery roles. This is suitable for another situation: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. In this case, engineers instead need the paired investigation (Measure backlog per worker, task duration, queue age and scaling policies.) and design change (Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals.). These two steps address: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.
C:Review processing time distribution, visibility settings and duplicate business actions. This is suitable for another situation: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. In this case, engineers instead need the paired investigation (Measure backlog per worker, task duration, queue age and scaling policies.) and design change (Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals.). These two steps address: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.
E:Configure suitable warmup and scaling policies so boot activity is not misread as demand. This is suitable for another situation: An EC2 Auto Scaling policy sees high CPU during boot and launches many extra instances before new nodes can serve traffic. In this case, engineers instead need the paired investigation (Measure backlog per worker, task duration, queue age and scaling policies.) and design change (Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals.). These two steps address: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.
Question 400
A DevOps team is reviewing: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it. Which TWO complementary actions should it take? Select TWO answers.
- Automate drift detection, alerting and approved reconciliation for critical stacks.
- Enforce MFA through suitable identity provider or IAM session conditions.
- Review principal type, authentication context and sensitive IAM policy conditions.
- Require approved permissions boundaries for created roles and deny removal or bypass.
- Implement safe Secrets Manager rotation and compatible runtime secret refresh.
Explanation
Correct Answers
B:Enforce MFA through suitable identity provider or IAM session conditions. This is a required controlled engineering action for the stated situation: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it. The complementary correct action is: Review principal type, authentication context and sensitive IAM policy conditions. Both follow the principle: High-impact human administrative access should require MFA and strong federation controls.
C:Review principal type, authentication context and sensitive IAM policy conditions. This is a required diagnostic evidence step for the stated situation: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it. The complementary correct action is: Enforce MFA through suitable identity provider or IAM session conditions. Both follow the principle: High-impact human administrative access should require MFA and strong federation controls.
Incorrect Answers
A:Automate drift detection, alerting and approved reconciliation for critical stacks. This is suitable for another situation: A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access. In this case, engineers instead need the paired investigation (Review principal type, authentication context and sensitive IAM policy conditions.) and design change (Enforce MFA through suitable identity provider or IAM session conditions.). These two steps address: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it.
D:Require approved permissions boundaries for created roles and deny removal or bypass. This is suitable for another situation: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. In this case, engineers instead need the paired investigation (Review principal type, authentication context and sensitive IAM policy conditions.) and design change (Enforce MFA through suitable identity provider or IAM session conditions.). These two steps address: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it.
E:Implement safe Secrets Manager rotation and compatible runtime secret refresh. This is suitable for another situation: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. In this case, engineers instead need the paired investigation (Review principal type, authentication context and sensitive IAM policy conditions.) and design change (Enforce MFA through suitable identity provider or IAM session conditions.). These two steps address: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it.