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 45

Question 440

After implementing a proposed fix, the team reviews: A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion. Which result would BEST confirm that the risk is addressed?

  1. A planned failover produces only acceptable transient errors and service recovers.
  2. A restore drill measures recovered transaction currency within five minutes.
  3. A simulated primary origin fault serves approved content from the fallback source.
  4. The standby Region serves traffic when primary-region services are deliberately unavailable.

Explanation

Correct Answer

A:

A planned failover produces only acceptable transient errors and service recovers. The approved action is: Implement bounded retries and use appropriate cluster endpoints around database failover. The risk principle is: Availability requires both managed database failover and application-side transient fault handling.

Incorrect Answers

B:

A restore drill measures recovered transaction currency within five minutes. This instead addresses a different case: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better verification is: A planned failover produces only acceptable transient errors and service recovers. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

C:

A simulated primary origin fault serves approved content from the fallback source. This instead addresses a different case: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better verification is: A planned failover produces only acceptable transient errors and service recovers. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

D:

The standby Region serves traffic when primary-region services are deliberately unavailable. This instead addresses a different case: A warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better verification is: A planned failover produces only acceptable transient errors and service recovers. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

Question 441

After implementing a proposed fix, the team reviews: A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely. Which result would BEST confirm that the risk is addressed?

  1. A deliberately changed role triggers a finding and is restored or risk accepted.
  2. A simulated production admin compromise cannot erase retained centralized audit evidence.
  3. Application functions pass and unused high-risk privileges are no longer granted.
  4. The ALB continues presenting a renewed trusted certificate without downtime.

Explanation

Correct Answer

C:

Application functions pass and unused high-risk privileges are no longer granted. The approved action is: Review actual necessary actions and tighten policy through a monitored rollout. The risk principle is: IAM activity and access analysis can support least-privilege refinement under monitoring.

Incorrect Answers

A:

A deliberately changed role triggers a finding and is restored or risk accepted. 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 (A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely.), the better verification is: Application functions pass and unused high-risk privileges are no longer granted. The deciding distinction is: IAM activity and access analysis can support least-privilege refinement under monitoring.

B:

A simulated production admin compromise cannot erase retained centralized audit evidence. This instead addresses a different case: An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role. For the stated situation (A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely.), the better verification is: Application functions pass and unused high-risk privileges are no longer granted. The deciding distinction is: IAM activity and access analysis can support least-privilege refinement under monitoring.

D:

The ALB continues presenting a renewed trusted certificate without downtime. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely.), the better verification is: Application functions pass and unused high-risk privileges are no longer granted. The deciding distinction is: IAM activity and access analysis can support least-privilege refinement under monitoring.

Question 442

A DevOps team is reviewing: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm. Which TWO complementary actions should it take? Select TWO answers.

  1. Instrument valid Embedded Metric Format or approved custom metric publication.
  2. Route relevant AWS Health events through EventBridge to the approved operations channel.
  3. Inspect read/write capacity utilization, throttle metrics and scaling settings.
  4. Review alarm dependencies, parent symptoms and notification routing.
  5. Create relevant throttling alarms and adjust target tracking or key design as evidence dictates.

Explanation

Correct Answers

C:

Inspect read/write capacity utilization, throttle metrics and scaling settings. This is a required diagnostic evidence step for the stated situation: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm. The complementary correct action is: Create relevant throttling alarms and adjust target tracking or key design as evidence dictates. Both follow the principle: Capacity monitoring should alert on consumption, throttling and autoscaling effectiveness.

E:

Create relevant throttling alarms and adjust target tracking or key design as evidence dictates. This is a required controlled engineering action for the stated situation: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm. The complementary correct action is: Inspect read/write capacity utilization, throttle metrics and scaling settings. Both follow the principle: Capacity monitoring should alert on consumption, throttling and autoscaling effectiveness.

Incorrect Answers

A:

Instrument valid Embedded Metric Format or approved custom metric publication. This is suitable for another situation: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. In this case, engineers instead need the paired investigation (Inspect read/write capacity utilization, throttle metrics and scaling settings.) and design change (Create relevant throttling alarms and adjust target tracking or key design as evidence dictates.). These two steps address: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm.

B:

Route relevant AWS Health events through EventBridge to the approved operations channel. This is suitable for another situation: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. In this case, engineers instead need the paired investigation (Inspect read/write capacity utilization, throttle metrics and scaling settings.) and design change (Create relevant throttling alarms and adjust target tracking or key design as evidence dictates.). These two steps address: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm.

D:

Review alarm dependencies, parent symptoms and notification routing. 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 read/write capacity utilization, throttle metrics and scaling settings.) and design change (Create relevant throttling alarms and adjust target tracking or key design as evidence dictates.). These two steps address: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm.

Question 443

A DevOps team is reviewing: A build job reads a database password directly from a committed buildspec environment variable. Which TWO complementary actions should it take? Select TWO answers.

  1. Build a versioned immutable artifact once, then promote that artifact through approvals and environments.
  2. Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions.
  3. Review source history, build environment variables, secret access logs and build role permissions.
  4. Choose a pipeline execution mode or deployment lock appropriate to the shared environment.
  5. Review synthetic journey coverage, response assertion logic and post-deploy gate signals.

Explanation

Correct Answers

B:

Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions. This is a required controlled engineering action for the stated situation: A build job reads a database password directly from a committed buildspec environment variable. The complementary correct action is: Review source history, build environment variables, secret access logs and build role permissions. Both follow the principle: Build and deployment secrets should be retrieved through controlled secret stores and scoped identities.

C:

Review source history, build environment variables, secret access logs and build role permissions. This is a required diagnostic evidence step for the stated situation: A build job reads a database password directly from a committed buildspec environment variable. The complementary correct action is: Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions. Both follow the principle: Build and deployment secrets should be retrieved through controlled secret stores and scoped identities.

Incorrect Answers

A:

Build a versioned immutable artifact once, then promote that artifact through approvals and environments. This is suitable for another situation: Each environment rebuilds an application from its Git branch, making production binaries differ from staging even when the commit matches. In this case, engineers instead need the paired investigation (Review source history, build environment variables, secret access logs and build role permissions.) and design change (Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions.). These two steps address: A build job reads a database password directly from a committed buildspec environment variable.

D:

Choose a pipeline execution mode or deployment lock appropriate to the shared environment. This is suitable for another situation: Two successive commits trigger deployments against the same production stack, and the earlier execution finishes after the newer release. In this case, engineers instead need the paired investigation (Review source history, build environment variables, secret access logs and build role permissions.) and design change (Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions.). These two steps address: A build job reads a database password directly from a committed buildspec environment variable.

E:

Review synthetic journey coverage, response assertion logic and post-deploy gate signals. This is suitable for another situation: After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers. In this case, engineers instead need the paired investigation (Review source history, build environment variables, secret access logs and build role permissions.) and design change (Move the credential to Secrets Manager or encrypted Parameter Store and grant narrowly scoped read permissions.). These two steps address: A build job reads a database password directly from a committed buildspec environment variable.

Question 444

A DevOps team is reviewing: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. Which TWO complementary actions should it take? Select TWO answers.

  1. Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.
  2. Require trusted image provenance validation before promoting production task revisions.
  3. Constrain deployment roles and policy conditions to approved accounts and Regions.
  4. Review object version IDs, checksums, write permissions and deployment references.
  5. Check release history, lifecycle expiration rules, active references and recovery windows.

Explanation

Correct Answers

A:

Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. This is a required controlled engineering action for the stated situation: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. The complementary correct action is: Check release history, lifecycle expiration rules, active references and recovery windows. Both follow the principle: Artifact lifecycle rules must retain versions required for rollback and audit.

E:

Check release history, lifecycle expiration rules, active references and recovery windows. This is a required diagnostic evidence step for the stated situation: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. The complementary correct action is: Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. Both follow the principle: Artifact lifecycle rules must retain versions required for rollback and audit.

Incorrect Answers

B:

Require trusted image provenance validation before promoting production task revisions. This is suitable for another situation: A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags. In this case, engineers instead need the paired investigation (Check release history, lifecycle expiration rules, active references and recovery windows.) and design change (Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.). These two steps address: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.

C:

Constrain deployment roles and policy conditions to approved accounts and Regions. This is suitable for another situation: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. In this case, engineers instead need the paired investigation (Check release history, lifecycle expiration rules, active references and recovery windows.) and design change (Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.). These two steps address: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.

D:

Review object version IDs, checksums, write permissions and deployment references. This is suitable for another situation: A deployment retrieves ZIP bundles from a common S3 prefix where operators can replace a file without updating the approved release record. In this case, engineers instead need the paired investigation (Check release history, lifecycle expiration rules, active references and recovery windows.) and design change (Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.). These two steps address: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.

Question 445

Before changing production, engineers find: An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role. Which investigation should the engineer perform FIRST?

  1. Review organization trail destinations, log archive permissions and retention control.
  2. Inspect Config recorders, aggregation sources, rules and delegated management.
  3. Inspect finding identifiers, aggregation rules, duplicate rates and missed escalations.
  4. Review IAM users, IAM Identity Center assignments and HR identity lifecycle.

Explanation

Correct Answer

A:

Review organization trail destinations, log archive permissions and retention control. The governing principle is: Audit evidence should be isolated from operators who perform high-risk changes. The next controlled engineering decision is: Deliver CloudTrail logs to a separate protected account with controlled immutable retention where needed.

Incorrect Answers

B:

Inspect Config recorders, aggregation sources, rules and delegated management. 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 (An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role.), the better investigation is: Review organization trail destinations, log archive permissions and retention control. The deciding distinction is: Audit evidence should be isolated from operators who perform high-risk changes.

C:

Inspect finding identifiers, aggregation rules, duplicate rates and missed escalations. This instead addresses a different case: A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload. For the stated situation (An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role.), the better investigation is: Review organization trail destinations, log archive permissions and retention control. The deciding distinction is: Audit evidence should be isolated from operators who perform high-risk changes.

D:

Review IAM users, IAM Identity Center assignments and HR identity lifecycle. This instead addresses a different case: Developers in 25 AWS accounts authenticate with individually created IAM users whose credentials remain active after termination. For the stated situation (An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role.), the better investigation is: Review organization trail destinations, log archive permissions and retention control. The deciding distinction is: Audit evidence should be isolated from operators who perform high-risk changes.

Question 446

After implementing a proposed fix, the team reviews: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. Which result would BEST confirm that the risk is addressed?

  1. Both versions operate safely during the switch and an aborted release can restore prior traffic.
  2. Peak deployment traffic stays within database connection limits with recoverable rollback.
  3. Production invokes the intended compatible layer version with a documented rollback path.
  4. Newly launched instances match the desired version and terminated nodes leave no configuration gap.

Explanation

Correct Answer

D:

Newly launched instances match the desired version and terminated nodes leave no configuration gap. The approved action is: Build a verified image and roll the Auto Scaling group with instance refresh or a controlled deployment. The risk principle is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

Incorrect Answers

A:

Both versions operate safely during the switch and an aborted release can restore prior traffic. This instead addresses a different case: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. For the stated situation (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better verification is: Newly launched instances match the desired version and terminated nodes leave no configuration gap. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

B:

Peak deployment traffic stays within database connection limits with recoverable rollback. 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 (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better verification is: Newly launched instances match the desired version and terminated nodes leave no configuration gap. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

C:

Production invokes the intended compatible layer version with a documented rollback path. This instead addresses a different case: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. For the stated situation (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better verification is: Newly launched instances match the desired version and terminated nodes leave no configuration gap. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

Question 447

After implementing a proposed fix, the team reviews: A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account. Which result would BEST confirm that the risk is addressed?

  1. An approved partner role can assume access while an unrelated principal is denied.
  2. A developer can create an allowed app role but cannot create or use an unrestricted admin role.
  3. One application team can deploy its own service and is denied another team's service.
  4. A load test blocks abusive patterns while approved customers remain serviceable.

Explanation

Correct Answer

A:

An approved partner role can assume access while an unrelated principal is denied. The approved action is: Constrain trusted partner principals and apply a suitable external ID where warranted. The risk principle is: Cross-account trust should restrict principal, role and relevant external context.

Incorrect Answers

B:

A developer can create an allowed app role but cannot create or use an unrestricted admin role. 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 deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account.), the better verification is: An approved partner role can assume access while an unrelated principal is denied. The deciding distinction is: Cross-account trust should restrict principal, role and relevant external context.

C:

One application team can deploy its own service and is denied another team's service. This instead addresses a different case: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. For the stated situation (A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account.), the better verification is: An approved partner role can assume access while an unrelated principal is denied. The deciding distinction is: Cross-account trust should restrict principal, role and relevant external context.

D:

A load test blocks abusive patterns while approved customers remain serviceable. This instead addresses a different case: A public application faces high-volume abusive HTTP requests that pass the ALB security group and overwhelm login processing. For the stated situation (A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account.), the better verification is: An approved partner role can assume access while an unrelated principal is denied. The deciding distinction is: Cross-account trust should restrict principal, role and relevant external context.

Question 448

Before changing production, engineers find: A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs. Which investigation should the engineer perform FIRST?

  1. Review delivery guarantees, subscriptions, DLQs and consumer coupling.
  2. Inspect signatures, event IDs, API Gateway/Lambda handler behavior and job queue writes.
  3. Review CloudTrail change events, Config rule status, approval records and owner.
  4. Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.

Explanation

Correct Answer

B:

Inspect signatures, event IDs, API Gateway/Lambda handler behavior and job queue writes. The governing principle is: External event ingress must authenticate and deduplicate repeated delivery attempts. The next controlled engineering decision is: Validate the webhook signature and store an idempotency key before issuing jobs.

Incorrect Answers

A:

Review delivery guarantees, subscriptions, DLQs and consumer coupling. 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 (A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better investigation is: Inspect signatures, event IDs, API Gateway/Lambda handler behavior and job queue writes. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.

C:

Review CloudTrail change events, Config rule status, approval records and owner. This instead addresses a different case: Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency. For the stated situation (A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better investigation is: Inspect signatures, event IDs, API Gateway/Lambda handler behavior and job queue writes. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.

D:

Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites. This instead addresses a different case: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. For the stated situation (A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better investigation is: Inspect signatures, event IDs, API Gateway/Lambda handler behavior and job queue writes. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.

Question 449

A DevOps team is reviewing: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines. Which TWO complementary actions should it take? Select TWO answers.

  1. Review connection scope, repo permissions, webhook events and pipeline triggers.
  2. Use restricted provider connection permissions and pipeline-level source authorization controls.
  3. Build a versioned immutable artifact once, then promote that artifact through approvals and environments.
  4. Inspect image manifest, platform architecture, task definition and placement failures.
  5. Choose a pipeline execution mode or deployment lock appropriate to the shared environment.

Explanation

Correct Answers

A:

Review connection scope, repo permissions, webhook events and pipeline triggers. This is a required diagnostic evidence step for the stated situation: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines. The complementary correct action is: Use restricted provider connection permissions and pipeline-level source authorization controls. Both follow the principle: Source integrations must authenticate appropriately and isolate authorization by repository and workload.

B:

Use restricted provider connection permissions and pipeline-level source authorization controls. This is a required controlled engineering action for the stated situation: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines. The complementary correct action is: Review connection scope, repo permissions, webhook events and pipeline triggers. Both follow the principle: Source integrations must authenticate appropriately and isolate authorization by repository and workload.

Incorrect Answers

C:

Build a versioned immutable artifact once, then promote that artifact through approvals and environments. This is suitable for another situation: Each environment rebuilds an application from its Git branch, making production binaries differ from staging even when the commit matches. In this case, engineers instead need the paired investigation (Review connection scope, repo permissions, webhook events and pipeline triggers.) and design change (Use restricted provider connection permissions and pipeline-level source authorization controls.). These two steps address: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines.

D:

Inspect image manifest, platform architecture, task definition and placement failures. This is suitable for another situation: An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag. In this case, engineers instead need the paired investigation (Review connection scope, repo permissions, webhook events and pipeline triggers.) and design change (Use restricted provider connection permissions and pipeline-level source authorization controls.). These two steps address: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines.

E:

Choose a pipeline execution mode or deployment lock appropriate to the shared environment. This is suitable for another situation: Two successive commits trigger deployments against the same production stack, and the earlier execution finishes after the newer release. In this case, engineers instead need the paired investigation (Review connection scope, repo permissions, webhook events and pipeline triggers.) and design change (Use restricted provider connection permissions and pipeline-level source authorization controls.). These two steps address: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines.

Question 450

Before changing production, engineers find: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. Which investigation should the engineer perform FIRST?

  1. Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions.
  2. Review organization structure, delegated administrator, StackSets permission model and target OUs.
  3. Run drift detection and compare effective security group properties with template state.
  4. Inspect managed instance registration, SSM Inventory collection and software reports.

Explanation

Correct Answer

C:

Run drift detection and compare effective security group properties with template state. The governing principle is: Infrastructure drift should be detected and reconciled through controlled IaC changes. The next controlled engineering decision is: Restore authorized configuration by an approved stack update or reconcile a documented intentional change.

Incorrect Answers

A:

Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions. 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 CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.

B:

Review organization structure, delegated administrator, StackSets permission model and target OUs. This instead addresses a different case: 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. For the stated situation (A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.

D:

Inspect managed instance registration, SSM Inventory collection and software reports. 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 CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template.), the better investigation is: Run drift detection and compare effective security group properties with template state. The deciding distinction is: Infrastructure drift should be detected and reconciled through controlled IaC changes.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests