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 11

Question 100

A DevOps team is reviewing: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. Which TWO complementary actions should it take? Select TWO answers.

  1. Split work into durable Step Functions state transitions or supported managed operations.
  2. Inspect organization trail settings, S3 bucket/KMS access and Region configuration.
  3. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  4. Inspect organizational SCPs, permitted global-service exceptions and deployment destinations.
  5. Use IAM Identity Center groups and governed permission sets for cross-account staff access.

Explanation

Correct Answers

C:

Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. This is a required controlled engineering action for the stated situation: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. The complementary correct action is: Inspect organizational SCPs, permitted global-service exceptions and deployment destinations. Both follow the principle: Organization controls should constrain sensitive service actions to approved Regions where practical.

D:

Inspect organizational SCPs, permitted global-service exceptions and deployment destinations. This is a required diagnostic evidence step for the stated situation: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. The complementary correct action is: Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. Both follow the principle: Organization controls should constrain sensitive service actions to approved Regions where practical.

Incorrect Answers

A:

Split work into durable Step Functions state transitions or supported managed operations. This is suitable for another situation: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. In this case, engineers instead need the paired investigation (Inspect organizational SCPs, permitted global-service exceptions and deployment destinations.) and design change (Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.). These two steps address: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions.

B:

Inspect organization trail settings, S3 bucket/KMS access and Region configuration. This is suitable for another situation: A newly onboarded account does not forward CloudTrail management activity to the security archive account. In this case, engineers instead need the paired investigation (Inspect organizational SCPs, permitted global-service exceptions and deployment destinations.) and design change (Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.). These two steps address: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions.

E:

Use IAM Identity Center groups and governed permission sets for cross-account staff access. This is suitable for another situation: An enterprise manually creates duplicate IAM users in dozens of accounts for employees, creating slow offboarding. In this case, engineers instead need the paired investigation (Inspect organizational SCPs, permitted global-service exceptions and deployment destinations.) and design change (Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.). These two steps address: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions.

Question 101

A DevOps team is reviewing: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect trail or CloudTrail Lake event data store scope, retention and access.
  2. Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights.
  3. Enable protected collection and query access covering required identity events.
  4. Configure centralized Security Hub findings ingestion and approved incident routing.
  5. Inspect CloudTrail delivery status, bucket policy, KMS encryption context and condition keys.

Explanation

Correct Answers

A:

Inspect trail or CloudTrail Lake event data store scope, retention and access. This is a required diagnostic evidence step 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 complementary correct action is: Enable protected collection and query access covering required identity events. Both follow the principle: Long-term security auditing requires suitable retained CloudTrail event collection and query.

C:

Enable protected collection and query access covering required identity events. This is a required controlled engineering action 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 complementary correct action is: Inspect trail or CloudTrail Lake event data store scope, retention and access. Both follow the principle: Long-term security auditing requires suitable retained CloudTrail event collection and query.

Incorrect Answers

B:

Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights. This is suitable for another situation: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. In this case, engineers instead need the paired investigation (Inspect trail or CloudTrail Lake event data store scope, retention and access.) and design change (Enable protected collection and query access covering required identity events.). These two steps address: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.

D:

Configure centralized Security Hub findings ingestion and approved incident routing. This is suitable for another situation: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. In this case, engineers instead need the paired investigation (Inspect trail or CloudTrail Lake event data store scope, retention and access.) and design change (Enable protected collection and query access covering required identity events.). These two steps address: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.

E:

Inspect CloudTrail delivery status, bucket policy, KMS encryption context and condition keys. This is suitable for another situation: A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail. In this case, engineers instead need the paired investigation (Inspect trail or CloudTrail Lake event data store scope, retention and access.) and design change (Enable protected collection and query access covering required identity events.). These two steps address: An incident responder needs to investigate unusual role assumptions across accounts over months, but only recent management events are readily accessible.

Question 102

The DevOps team must resolve this scenario: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. Which engineering change is MOST appropriate?

  1. Create reviewed document versions with least-privilege roles and maxConcurrency/maxErrors limits.
  2. Create a Systems Manager State Manager association installing and checking the required agent.
  3. Model the dependency in the stack and ensure required resources exist before dependent operations.
  4. Split work into durable Step Functions state transitions or supported managed operations.

Explanation

Correct Answer

B:

Create a Systems Manager State Manager association installing and checking the required agent. Its validation is: A replaced node converges to the approved agent state and compliance is measurable. The principle is: Configuration state should be continuously enforced on new and existing managed nodes.

Incorrect Answers

A:

Create reviewed document versions with least-privilege roles and maxConcurrency/maxErrors limits. This instead addresses a different case: A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better engineering action is: Create a Systems Manager State Manager association installing and checking the required agent. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

C:

Model the dependency in the stack and ensure required resources exist before dependent operations. This instead addresses a different case: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better engineering action is: Create a Systems Manager State Manager association installing and checking the required agent. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

D:

Split work into durable Step Functions state transitions or supported managed operations. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A managed EC2 fleet often loses an approved monitoring agent after instance replacement.), the better engineering action is: Create a Systems Manager State Manager association installing and checking the required agent. The deciding distinction is: Configuration state should be continuously enforced on new and existing managed nodes.

Question 103

After implementing a proposed fix, the team reviews: A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags. Which result would BEST confirm that the risk is addressed?

  1. An authorized dry run produces no token in captured logs and fetch still succeeds.
  2. An unsigned unapproved digest is blocked while an approved signed build proceeds.
  3. A deliberately misconfigured test cannot send messages to a production SQS queue.
  4. Production invokes the intended compatible layer version with a documented rollback path.

Explanation

Correct Answer

B:

An unsigned unapproved digest is blocked while an approved signed build proceeds. The approved action is: Require trusted image provenance validation before promoting production task revisions. The risk principle is: Container provenance controls should verify publishers and immutable artifact digests.

Incorrect Answers

A:

An authorized dry run produces no token in captured logs and fetch still succeeds. This instead addresses a different case: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. For the stated situation (A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags.), the better verification is: An unsigned unapproved digest is blocked while an approved signed build proceeds. The deciding distinction is: Container provenance controls should verify publishers and immutable artifact digests.

C:

A deliberately misconfigured test cannot send messages to a production SQS queue. This instead addresses a different case: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable. For the stated situation (A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags.), the better verification is: An unsigned unapproved digest is blocked while an approved signed build proceeds. The deciding distinction is: Container provenance controls should verify publishers and immutable artifact digests.

D:

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 (A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags.), the better verification is: An unsigned unapproved digest is blocked while an approved signed build proceeds. The deciding distinction is: Container provenance controls should verify publishers and immutable artifact digests.

Question 104

The DevOps team must resolve this scenario: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. Which engineering change is MOST appropriate?

  1. Automate drift detection, alerting and approved reconciliation for critical stacks.
  2. Implement a controlled short-lived privileged role assumption with audit and review.
  3. Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.
  4. Use appropriate tag-aware policies with guarded tagging permissions.

Explanation

Correct Answer

C:

Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. Its validation is: An allowed action succeeds, while prohibited service deployment remains blocked. The principle is: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

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 (A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.), the better engineering action is: Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. The deciding distinction is: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

B:

Implement a controlled short-lived privileged role assumption with audit and review. This instead addresses a different case: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. For the stated situation (A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.), the better engineering action is: Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. The deciding distinction is: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

D:

Use appropriate tag-aware policies with guarded tagging permissions. 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 developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.), the better engineering action is: Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. The deciding distinction is: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

Question 105

After implementing a proposed fix, the team reviews: A custom TLS termination service stores its private key in an unencrypted public container image layer. Which result would BEST confirm that the risk is addressed?

  1. Seeded test personal data is identified and assigned accountable remediation.
  2. An image inspection finds no private key and the service rotates certificates safely.
  3. A test rotation preserves authorized access and invalidates the prior credential on schedule.
  4. Permitted connection and return traffic succeed while prohibited access is denied.

Explanation

Correct Answer

B:

An image inspection finds no private key and the service rotates certificates safely. The approved action is: Use ACM or a secure secret/key service appropriate to the termination model. The risk principle is: Private TLS key material should be protected and excluded from build artifacts.

Incorrect Answers

A:

Seeded test personal data is identified and assigned accountable remediation. 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 verification is: An image inspection finds no private key and the service rotates certificates safely. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

C:

A test rotation preserves authorized access and invalidates the prior credential on schedule. 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 custom TLS termination service stores its private key in an unencrypted public container image layer.), the better verification is: An image inspection finds no private key and the service rotates certificates safely. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

D:

Permitted connection and return traffic succeed while prohibited access is denied. This instead addresses a different case: A service needs stateful application access, but network engineers rely on one stateless NACL inbound allow rule and response traffic is blocked. For the stated situation (A custom TLS termination service stores its private key in an unencrypted public container image layer.), the better verification is: An image inspection finds no private key and the service rotates certificates safely. The deciding distinction is: Private TLS key material should be protected and excluded from build artifacts.

Question 106

A DevOps team is reviewing: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages. Which TWO complementary actions should it take? Select TWO answers.

  1. Use controlled resource import and reconcile drift while preserving the live queue.
  2. Configure central Security Hub administration and cross-Region aggregation as appropriate.
  3. Preserve logical resource identity or implement a controlled migration and retention plan.
  4. Check CloudFormation import support, logical IDs, actual configuration and queue identifiers.
  5. Enable termination protection and suitable resource retention or backup controls with restricted delete rights.

Explanation

Correct Answers

A:

Use controlled resource import and reconcile drift while preserving the live queue. This is a required controlled engineering action for the stated situation: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages. The complementary correct action is: Check CloudFormation import support, logical IDs, actual configuration and queue identifiers. Both follow the principle: Existing resources should be imported into IaC when supported instead of blindly replaced.

D:

Check CloudFormation import support, logical IDs, actual configuration and queue identifiers. This is a required diagnostic evidence step for the stated situation: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages. The complementary correct action is: Use controlled resource import and reconcile drift while preserving the live queue. Both follow the principle: Existing resources should be imported into IaC when supported instead of blindly replaced.

Incorrect Answers

B:

Configure central Security Hub administration and cross-Region aggregation as appropriate. This is suitable for another situation: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. In this case, engineers instead need the paired investigation (Check CloudFormation import support, logical IDs, actual configuration and queue identifiers.) and design change (Use controlled resource import and reconcile drift while preserving the live queue.). These two steps address: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages.

C:

Preserve logical resource identity or implement a controlled migration and retention plan. This is suitable for another situation: A template refactor changes an S3 bucket logical ID, risking replacement of a bucket containing business records. In this case, engineers instead need the paired investigation (Check CloudFormation import support, logical IDs, actual configuration and queue identifiers.) and design change (Use controlled resource import and reconcile drift while preserving the live queue.). These two steps address: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages.

E:

Enable termination protection and suitable resource retention or backup controls with restricted delete rights. This is suitable for another situation: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline. In this case, engineers instead need the paired investigation (Check CloudFormation import support, logical IDs, actual configuration and queue identifiers.) and design change (Use controlled resource import and reconcile drift while preserving the live queue.). These two steps address: A production queue built manually is now required in a managed CloudFormation stack, but engineers fear recreating it will lose messages.

Question 107

An engineering review identifies: A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage. Which shortcut is MOST unsafe for this exact condition?

  1. Treat multiple CloudFront edge locations as proof that one failed origin is redundant.
  2. Continue CPU-only scaling when the application is queue-bound.
  3. Label a deployment multi-AZ merely because its VPC has multiple subnets.
  4. Hardcode a single database instance hostname as the permanent writer endpoint.

Explanation

Correct Answer

C:

Label a deployment multi-AZ merely because its VPC has multiple subnets. The case is: A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage. A safer engineering response is: Spread healthy application targets and sufficient capacity across at least two appropriate AZs. The deciding principle is: Multi-AZ service design needs healthy targets and sufficient capacity in independent zones.

Incorrect Answers

A:

Treat multiple CloudFront edge locations as proof that one failed origin is redundant. 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 production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage.), the better unsafe assumption to reject is: Label a deployment multi-AZ merely because its VPC has multiple subnets. The deciding distinction is: Multi-AZ service design needs healthy targets and sufficient capacity in independent zones.

B:

Continue CPU-only scaling when the application is queue-bound. This instead addresses a different case: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. For the stated situation (A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage.), the better unsafe assumption to reject is: Label a deployment multi-AZ merely because its VPC has multiple subnets. The deciding distinction is: Multi-AZ service design needs healthy targets and sufficient capacity in independent zones.

D:

Hardcode a single database instance hostname as the permanent writer endpoint. This instead addresses a different case: An Aurora cluster has replicas in different AZs but applications use fixed instance endpoints and never fail over to another reader. For the stated situation (A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage.), the better unsafe assumption to reject is: Label a deployment multi-AZ merely because its VPC has multiple subnets. The deciding distinction is: Multi-AZ service design needs healthy targets and sufficient capacity in independent zones.

Question 108

The DevOps team must resolve this scenario: A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage. Which engineering change is MOST appropriate?

  1. Track affected images and update or replace those artifacts through governed pipelines.
  2. Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm.
  3. Configure CloudWatch metric streams with a managed supported delivery route.
  4. Instrument affected services and analyze slow traces to isolate the expensive dependency.

Explanation

Correct Answer

B:

Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm. Its validation is: A stopped publisher produces a timely actionable signal rather than false healthy status. The principle is: Missing metric data needs treatment consistent with the failure mode and alarm semantics.

Incorrect Answers

A:

Track affected images and update or replace those artifacts through governed pipelines. This instead addresses a different case: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. For the stated situation (A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage.), the better engineering action is: Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm. The deciding distinction is: Missing metric data needs treatment consistent with the failure mode and alarm semantics.

C:

Configure CloudWatch metric streams with a managed supported delivery route. This instead addresses a different case: An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits. For the stated situation (A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage.), the better engineering action is: Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm. The deciding distinction is: Missing metric data needs treatment consistent with the failure mode and alarm semantics.

D:

Instrument affected services and analyze slow traces to isolate the expensive dependency. This instead addresses a different case: An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency. For the stated situation (A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage.), the better engineering action is: Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm. The deciding distinction is: Missing metric data needs treatment consistent with the failure mode and alarm semantics.

Question 109

Before changing production, engineers find: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover. Which investigation should the engineer perform FIRST?

  1. Inspect stack events, failed resources, execution role permissions and rollback status.
  2. Inspect Control Tower landing zone, Account Factory templates and detective guardrails.
  3. Inspect the proposed change set, resource identifiers, retention policy and data ownership.
  4. Review organization structure, delegated administrator, StackSets permission model and target OUs.

Explanation

Correct Answer

A:

Inspect stack events, failed resources, execution role permissions and rollback status. The governing principle is: A failed IaC update should be diagnosed and recovered without destroying existing service state. The next controlled engineering decision is: Correct the permission or invalid change and use the supported stack recovery or update workflow.

Incorrect Answers

B:

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 (An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.), the better investigation is: Inspect stack events, failed resources, execution role permissions and rollback status. The deciding distinction is: A failed IaC update should be diagnosed and recovered without destroying existing service state.

C:

Inspect the proposed change set, resource identifiers, retention policy and data ownership. This instead addresses a different case: A template refactor changes an S3 bucket logical ID, risking replacement of a bucket containing business records. For the stated situation (An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.), the better investigation is: Inspect stack events, failed resources, execution role permissions and rollback status. The deciding distinction is: A failed IaC update should be diagnosed and recovered without destroying existing service state.

D:

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 (An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.), the better investigation is: Inspect stack events, failed resources, execution role permissions and rollback status. The deciding distinction is: A failed IaC update should be diagnosed and recovered without destroying existing service state.

Question 110

The DevOps team must resolve this scenario: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records. Which engineering change is MOST appropriate?

  1. Keep a verifiable mapping from release to Lambda published version and restore alias on failure.
  2. Constrain deployment roles and policy conditions to approved accounts and Regions.
  3. Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.
  4. Add producer-consumer compatibility checks to the CI pipeline.

Explanation

Correct Answer

A:

Keep a verifiable mapping from release to Lambda published version and restore alias on failure. Its validation is: A rollback returns traffic to the exact pre-release immutable version. The principle is: Serverless rollbacks should use immutable published versions and controlled alias revisions.

Incorrect Answers

B:

Constrain deployment roles and policy conditions to approved accounts and Regions. This instead addresses a different case: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. For the stated situation (A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.), the better engineering action is: Keep a verifiable mapping from release to Lambda published version and restore alias on failure. The deciding distinction is: Serverless rollbacks should use immutable published versions and controlled alias revisions.

C:

Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. 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 release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.), the better engineering action is: Keep a verifiable mapping from release to Lambda published version and restore alias on failure. The deciding distinction is: Serverless rollbacks should use immutable published versions and controlled alias revisions.

D:

Add producer-consumer compatibility checks to the CI pipeline. This instead addresses a different case: An updated ECS application changes a JSON field name; the deployment succeeds while downstream order processors begin dropping events. For the stated situation (A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records.), the better engineering action is: Keep a verifiable mapping from release to Lambda published version and restore alias on failure. The deciding distinction is: Serverless rollbacks should use immutable published versions and controlled alias revisions.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests