cert
cert-1
cert-2

Pass Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified DevOps Engineer - Professional DOP-C02 Exam - Verified By Experts
AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle
$14.99

AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle

$74.99
$89.98
  • Premium File 480 Questions & Answers. Last update: Nov 08, 2026
  • Training Course 242 Video Lectures
 
$89.98
$74.99
accept 62 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam Training Products Individually
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Premium File
Premium File 480 Q&A
$76.99$69.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Video Training Course
Training Course 242 Lectures
$21.99 $19.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 52

Question 510

After implementing a proposed fix, the team reviews: A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys. Which result would BEST confirm that the risk is addressed?

  1. A test image with a policy-prohibited finding is rejected before production deployment.
  2. A controlled execution deploys in the intended account and fails in an unauthorized account.
  3. A deliberately unhealthy release triggers rollback to the prior verified revision.
  4. An unrelated change does not deploy billing, while a relevant shared component still triggers required tests.

Explanation

Correct Answer

B:

A controlled execution deploys in the intended account and fails in an unauthorized account. The approved action is: Configure a target-account deployment role trusted by the tooling role, with minimum required actions. The risk principle is: Cross-account delivery should assume narrowly scoped roles in each target account.

Incorrect Answers

A:

A test image with a policy-prohibited finding is rejected before production deployment. This instead addresses a different case: A container image with a known critical OS vulnerability is built and deployed because only compilation and unit testing are gated. For the stated situation (A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys.), the better verification is: A controlled execution deploys in the intended account and fails in an unauthorized account. The deciding distinction is: Cross-account delivery should assume narrowly scoped roles in each target account.

C:

A deliberately unhealthy release triggers rollback to the prior verified revision. This instead addresses a different case: A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic. For the stated situation (A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys.), the better verification is: A controlled execution deploys in the intended account and fails in an unauthorized account. The deciding distinction is: Cross-account delivery should assume narrowly scoped roles in each target account.

D:

An unrelated change does not deploy billing, while a relevant shared component still triggers required tests. This instead addresses a different case: A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines. For the stated situation (A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys.), the better verification is: A controlled execution deploys in the intended account and fails in an unauthorized account. The deciding distinction is: Cross-account delivery should assume narrowly scoped roles in each target account.

Question 511

Before changing production, engineers find: A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time. Which investigation should the engineer perform FIRST?

  1. Inspect Control Tower landing zone, Account Factory templates and detective guardrails.
  2. Inspect SAM template resources, generated roles and manually added triggers.
  3. Run drift detection and compare effective security group properties with template state.
  4. Review organization structure, delegated administrator, StackSets permission model and target OUs.

Explanation

Correct Answer

D:

Review organization structure, delegated administrator, StackSets permission model and target OUs. The governing principle is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration. The next controlled engineering decision is: Use service-managed StackSets with appropriate OU targets and automatic deployment where supported.

Incorrect Answers

A:

Inspect Control Tower landing zone, Account Factory templates and detective guardrails. This instead addresses a different case: A company provisions AWS accounts manually and regularly forgets baseline logging and governance settings. For the stated situation (A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better investigation is: Review organization structure, delegated administrator, StackSets permission model and target OUs. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

B:

Inspect SAM template resources, generated roles and manually added triggers. 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 central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better investigation is: Review organization structure, delegated administrator, StackSets permission model and target OUs. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

C:

Run drift detection and compare effective security group properties with template state. This instead addresses a different case: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. For the stated situation (A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time.), the better investigation is: Review organization structure, delegated administrator, StackSets permission model and target OUs. The deciding distinction is: Managed multi-account deployment benefits from governed CloudFormation StackSets administration.

Question 512

A DevOps team is reviewing: Chargeback reports omit resources because each team uses different tag keys and case variants. Which TWO complementary actions should it take? Select TWO answers.

  1. Adopt a documented tag taxonomy with organization tag policies and deployment checks.
  2. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  3. Use scoped paths or separate accounts with least-privilege parameter read access.
  4. Attach organization-wide or OU-targeted Config checks and remediations to account onboarding.
  5. Review tag policies, required dimensions, untagged inventory and deployment templates.

Explanation

Correct Answers

A:

Adopt a documented tag taxonomy with organization tag policies and deployment checks. This is a required controlled engineering action for the stated situation: Chargeback reports omit resources because each team uses different tag keys and case variants. The complementary correct action is: Review tag policies, required dimensions, untagged inventory and deployment templates. Both follow the principle: Organization-scale resource classification benefits from governed consistent tag policies and enforcement.

E:

Review tag policies, required dimensions, untagged inventory and deployment templates. This is a required diagnostic evidence step for the stated situation: Chargeback reports omit resources because each team uses different tag keys and case variants. The complementary correct action is: Adopt a documented tag taxonomy with organization tag policies and deployment checks. Both follow the principle: Organization-scale resource classification benefits from governed consistent tag policies and enforcement.

Incorrect Answers

B:

Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. This is suitable for another situation: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. In this case, engineers instead need the paired investigation (Review tag policies, required dimensions, untagged inventory and deployment templates.) and design change (Adopt a documented tag taxonomy with organization tag policies and deployment checks.). These two steps address: Chargeback reports omit resources because each team uses different tag keys and case variants.

C:

Use scoped paths or separate accounts with least-privilege parameter read access. This is suitable for another situation: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. In this case, engineers instead need the paired investigation (Review tag policies, required dimensions, untagged inventory and deployment templates.) and design change (Adopt a documented tag taxonomy with organization tag policies and deployment checks.). These two steps address: Chargeback reports omit resources because each team uses different tag keys and case variants.

D:

Attach organization-wide or OU-targeted Config checks and remediations to account onboarding. This is suitable for another situation: AWS Organizations account vending creates accounts without Config rules checking EBS encryption and S3 protection. In this case, engineers instead need the paired investigation (Review tag policies, required dimensions, untagged inventory and deployment templates.) and design change (Adopt a documented tag taxonomy with organization tag policies and deployment checks.). These two steps address: Chargeback reports omit resources because each team uses different tag keys and case variants.

Question 513

Before changing production, engineers find: New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access. Which investigation should the engineer perform FIRST?

  1. Review VPC route tables, firewall endpoint placement and egress flow records.
  2. Inspect organization CloudTrail coverage, event patterns and root principal fields.
  3. Inspect module defaults, S3 public access settings and Config findings.
  4. Inspect S3 inventory, Macie coverage, custom identifiers and finding aggregation.

Explanation

Correct Answer

C:

Inspect module defaults, S3 public access settings and Config findings. The governing principle is: Preventive IaC guardrails and detective controls should enforce data exposure policy. The next controlled engineering decision is: Fix the infrastructure module and enable appropriate Block Public Access plus monitoring.

Incorrect Answers

A:

Review VPC route tables, firewall endpoint placement and egress flow records. This instead addresses a different case: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path. For the stated situation (New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access.), the better investigation is: Inspect module defaults, S3 public access settings and Config findings. The deciding distinction is: Preventive IaC guardrails and detective controls should enforce data exposure policy.

B:

Inspect organization CloudTrail coverage, event patterns and root principal fields. 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 (New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access.), the better investigation is: Inspect module defaults, S3 public access settings and Config findings. The deciding distinction is: Preventive IaC guardrails and detective controls should enforce data exposure policy.

D:

Inspect S3 inventory, Macie coverage, custom identifiers and finding aggregation. This instead addresses a different case: An enterprise stores thousands of S3 objects across accounts and needs to discover unclassified personal records at scale. For the stated situation (New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access.), the better investigation is: Inspect module defaults, S3 public access settings and Config findings. The deciding distinction is: Preventive IaC guardrails and detective controls should enforce data exposure policy.

Question 514

An AWS platform team investigates this condition: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. Which DevOps principle BEST explains the core problem?

  1. Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
  2. Fleet governance needs measured configuration and software inventory rather than intended metadata.
  3. Automated resource cleanup must constrain target scope and irreversible actions.
  4. Multi-account security governance needs centralized delegated administration and aggregated visibility.

Explanation

Correct Answer

A:

Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling. Relevant first evidence: Inspect execution history, schedule ownership, IAM rights and failure destinations. The resulting controlled response is: Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.

Incorrect Answers

B:

Fleet governance needs measured configuration and software inventory rather than intended metadata. This instead addresses a different case: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better principle is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.

C:

Automated resource cleanup must constrain target scope and irreversible actions. This instead addresses a different case: A Lambda cleans abandoned development stacks nightly but occasionally deletes shared production KMS keys due to an imprecise tag query. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better principle is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.

D:

Multi-account security governance needs centralized delegated administration and aggregated visibility. This instead addresses a different case: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better principle is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.

Question 515

An AWS platform team investigates this condition: A custom TLS termination service stores its private key in an unencrypted public container image layer. Which DevOps principle BEST explains the core problem?

  1. Private TLS key material should be protected and excluded from build artifacts.
  2. Sensitive-data discovery should be automated and authorized across relevant storage scopes.
  3. Cryptographic key lifecycle must protect decryptability of retained sensitive data.
  4. Compliance monitoring needs organization-level collection and aggregation at appropriate scope.

Explanation

Correct Answer

A:

Private TLS key material should be protected and excluded from build artifacts. Relevant first evidence: Inspect image layers, secret storage, runtime mounts and certificate rotation. The resulting controlled response is: Use ACM or a secure secret/key service appropriate to the termination model.

Incorrect Answers

B:

Sensitive-data discovery should be automated and authorized across relevant storage scopes. This instead addresses a different case: An enterprise stores thousands of S3 objects across accounts and needs to discover unclassified personal records at scale. For the stated situation (A custom TLS termination service stores its private key in an unencrypted public container image layer.), the better principle is: Private TLS key material should be protected and excluded from build artifacts. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

C:

Cryptographic key lifecycle must protect decryptability of retained sensitive data. This instead addresses a different case: An automated cleanup tool schedules deletion of a KMS key that encrypts backups needed to satisfy long retention. For the stated situation (A custom TLS termination service stores its private key in an unencrypted public container image layer.), the better principle is: Private TLS key material should be protected and excluded from build artifacts. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

D:

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 custom TLS termination service stores its private key in an unencrypted public container image layer.), the better principle is: Private TLS key material should be protected and excluded from build artifacts. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

Question 516

An AWS platform team investigates this condition: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. Which DevOps principle BEST explains the core problem?

  1. Parameter naming and permissions must isolate environment configuration.
  2. Patch automation should account for maintenance schedules, baselines and operational safety.
  3. Fleet governance needs measured configuration and software inventory rather than intended metadata.
  4. Configuration state should be continuously enforced on new and existing managed nodes.

Explanation

Correct Answer

D:

Configuration state should be continuously enforced on new and existing managed nodes. Relevant first evidence: Review SSM agent registration, associations, instance profiles and compliance reporting. The resulting controlled response is: Create a Systems Manager State Manager association installing and checking the required agent.

Incorrect Answers

A:

Parameter naming and permissions must isolate environment configuration. This instead addresses a different case: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better principle is: Configuration state should be continuously enforced on new and existing managed nodes. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

B:

Patch automation should account for maintenance schedules, baselines and operational safety. This instead addresses a different case: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better principle is: Configuration state should be continuously enforced on new and existing managed nodes. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

C:

Fleet governance needs measured configuration and software inventory rather than intended metadata. This instead addresses a different case: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better principle is: Configuration state should be continuously enforced on new and existing managed nodes. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

Question 517

An AWS platform team investigates this condition: An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms. Which DevOps principle BEST explains the core problem?

  1. Event routing should filter on relevant sources, detail types and expected event properties.
  2. Fan-out with independent durable subscribers decouples consumer processing and retries.
  3. Provider health notifications complement application and resource telemetry.
  4. Containment automation must use precise resource identity, scope and rollback safeguards.

Explanation

Correct Answer

C:

Provider health notifications complement application and resource telemetry. Relevant first evidence: Inspect AWS Health event scope, affected entities and incident routing coverage. The resulting controlled response is: Subscribe to relevant health events through centralized EventBridge and incident workflows.

Incorrect Answers

A:

Event routing should filter on relevant sources, detail types and expected event properties. This instead addresses a different case: A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls. For the stated situation (An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms.), the better principle is: Provider health notifications complement application and resource telemetry. The deciding distinction is: Provider health notifications complement application and resource telemetry.

B:

Fan-out with independent durable subscribers decouples consumer processing and retries. This instead addresses a different case: One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable. For the stated situation (An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms.), the better principle is: Provider health notifications complement application and resource telemetry. The deciding distinction is: Provider health notifications complement application and resource telemetry.

D:

Containment automation must use precise resource identity, scope and rollback safeguards. This instead addresses a different case: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. For the stated situation (An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms.), the better principle is: Provider health notifications complement application and resource telemetry. The deciding distinction is: Provider health notifications complement application and resource telemetry.

Question 518

A DevOps team is reviewing: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. Which TWO complementary actions should it take? Select TWO answers.

  1. Create a managed synthetic login journey with secure test identity and operational alarm.
  2. Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.
  3. Configure suitable scheduled or predictive scaling alongside reactive controls.
  4. Use CloudWatch composite alarm logic with deliberate suppression or grouping.
  5. Review log group retention settings, use case, compliance period and log costs.

Explanation

Correct Answers

A:

Create a managed synthetic login journey with secure test identity and operational alarm. This is a required controlled engineering action for the stated situation: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. The complementary correct action is: Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. Both follow the principle: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

B:

Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. This is a required diagnostic evidence step for the stated situation: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. The complementary correct action is: Create a managed synthetic login journey with secure test identity and operational alarm. Both follow the principle: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.

Incorrect Answers

C:

Configure suitable scheduled or predictive scaling alongside reactive controls. This is suitable for another situation: A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances. In this case, engineers instead need the paired investigation (Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.) and design change (Create a managed synthetic login journey with secure test identity and operational alarm.). These two steps address: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.

D:

Use CloudWatch composite alarm logic with deliberate suppression or grouping. This is suitable for another situation: Five related alarms page the same team simultaneously for a single database outage, overwhelming responders. In this case, engineers instead need the paired investigation (Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.) and design change (Create a managed synthetic login journey with secure test identity and operational alarm.). These two steps address: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.

E:

Review log group retention settings, use case, compliance period and log costs. This is suitable for another situation: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. In this case, engineers instead need the paired investigation (Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.) and design change (Create a managed synthetic login journey with secure test identity and operational alarm.). These two steps address: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.

Question 519

A DevOps team is reviewing: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect CloudTrail delivery errors, destination bucket policy and KMS key policy.
  2. Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.
  3. Inspect tracing activation, propagation headers, service map and correlated request IDs.
  4. Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.
  5. Forward container logs with cluster, namespace, pod and deployment identifiers.

Explanation

Correct Answers

B:

Configure a supported CloudWatch Logs subscription to the approved analytics pipeline. This is a required controlled engineering action for the stated situation: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. The complementary correct action is: Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors. Both follow the principle: Near-real-time log integration requires a correctly configured subscription destination and permissions.

D:

Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors. This is a required diagnostic evidence step for the stated situation: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. The complementary correct action is: Configure a supported CloudWatch Logs subscription to the approved analytics pipeline. Both follow the principle: Near-real-time log integration requires a correctly configured subscription destination and permissions.

Incorrect Answers

A:

Inspect CloudTrail delivery errors, destination bucket policy and KMS key policy. This is suitable for another situation: Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key. In this case, engineers instead need the paired investigation (Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.) and design change (Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.). These two steps address: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded.

C:

Inspect tracing activation, propagation headers, service map and correlated request IDs. This is suitable for another situation: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. In this case, engineers instead need the paired investigation (Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.) and design change (Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.). These two steps address: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded.

E:

Forward container logs with cluster, namespace, pod and deployment identifiers. This is suitable for another situation: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them. In this case, engineers instead need the paired investigation (Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.) and design change (Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.). These two steps address: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded.

Question 520

The DevOps team must resolve this scenario: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible. Which engineering change is MOST appropriate?

  1. Automate drift detection, alerting and approved reconciliation for critical stacks.
  2. Require approved permissions boundaries for created roles and deny removal or bypass.
  3. Review actual necessary actions and tighten policy through a monitored rollout.
  4. Enable protected collection and query access covering required identity events.

Explanation

Correct Answer

D:

Enable protected collection and query access covering required identity events. Its validation is: A known historical AssumeRole event can be retrieved with caller and time. The principle is: Long-term security auditing requires suitable retained CloudTrail event collection and query.

Incorrect Answers

A:

Automate drift detection, alerting and approved reconciliation for critical stacks. This instead addresses a different case: A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access. For the stated situation (An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.), the better engineering action is: Enable protected collection and query access covering required identity events. The deciding distinction is: Long-term security auditing requires suitable retained CloudTrail event collection and query.

B:

Require approved permissions boundaries for created roles and deny removal or bypass. 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 (An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.), the better engineering action is: Enable protected collection and query access covering required identity events. The deciding distinction is: Long-term security auditing requires suitable retained CloudTrail event collection and query.

C:

Review actual necessary actions and tighten policy through a monitored rollout. This instead addresses a different case: A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely. For the stated situation (An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.), the better engineering action is: Enable protected collection and query access covering required identity events. The deciding distinction is: Long-term security auditing requires suitable retained CloudTrail event collection and query.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests