100% Latest & Updated Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 1
A central tooling account runs CodePipeline but deployment to a production account fails because the build role has no target-account trust path. Which solution should be prioritized to resolve the stated failure?
- Shift a limited percentage of alias traffic to a new Lambda version and attach deployment alarms with automatic rollback.
- Store deployment packages in versioned, private S3 locations with integrity checks and retention aligned to rollback requirements.
- Configure ECS deployment circuit breaker or appropriate blue-green monitoring so failed task health causes release rollback.
- Configure target-account deployment roles with limited trust in the pipeline role and use STS role assumption for cross-account actions.
Explanation
Correct Answer
D:Configure target-account deployment roles with limited trust in the pipeline role and use STS role assumption for cross-account actions. Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
A:Shift a limited percentage of alias traffic to a new Lambda version and attach deployment alarms with automatic rollback.
B:Store deployment packages in versioned, private S3 locations with integrity checks and retention aligned to rollback requirements.
C:Configure ECS deployment circuit breaker or appropriate blue-green monitoring so failed task health causes release rollback.
Question 2
A central tooling account runs CodePipeline but deployment to a production account fails because the build role has no target-account trust path. Which evidence would BEST demonstrate that the fix operates as intended?
- Inject a controlled known vulnerable test dependency and verify the scan output blocks promotion pending authorized disposition.
- Check that the new target group passes end-to-end health probes before shifting traffic and that the old group can be restored.
- Inspect assumed-role events in CloudTrail and replay a test deployment to confirm only authorized target resources can be changed.
- Retrieve a prior release by object version and confirm digest, access logs and pipeline provenance match the deployment manifest.
Explanation
Correct Answer
C:Inspect assumed-role events in CloudTrail and replay a test deployment to confirm only authorized target resources can be changed. Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
Incorrect Answers
A:Inject a controlled known vulnerable test dependency and verify the scan output blocks promotion pending authorized disposition.
B:Check that the new target group passes end-to-end health probes before shifting traffic and that the old group can be restored.
D:Retrieve a prior release by object version and confirm digest, access logs and pipeline provenance match the deployment manifest.
Question 3
A central tooling account runs CodePipeline but deployment to a production account fails because the build role has no target-account trust path. Which design distinction is MOST relevant in these conditions?
- Rolling release safety depends on capacity and health thresholds throughout the batch sequence, not only at its end.
- Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
- A scheduler can start containers successfully even when application readiness or target-group checks fail.
- A mutable tag is a pointer that can change independently of the tested image bytes.
Explanation
Correct Answer
B:Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
A:Rolling release safety depends on capacity and health thresholds throughout the batch sequence, not only at its end.
C:A scheduler can start containers successfully even when application readiness or target-group checks fail.
D:A mutable tag is a pointer that can change independently of the tested image bytes.
Question 4
A central tooling account runs CodePipeline but deployment to a production account fails because the build role has no target-account trust path. Which ongoing guardrail would BEST prevent this problem from recurring?
- Maintain scan policy, exception ownership and false-positive review as packages and threat intelligence change.
- Periodically review each deployment role trust policy and reconcile account onboarding with pipeline permission boundaries.
- Restrict tag mutation and use digest-based deployment records and cleanup retention rules.
- Test deployment alarm configuration and preserve the previous published version for the rollback window.
Explanation
Correct Answer
B:Periodically review each deployment role trust policy and reconcile account onboarding with pipeline permission boundaries. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
A:Maintain scan policy, exception ownership and false-positive review as packages and threat intelligence change.
C:Restrict tag mutation and use digest-based deployment records and cleanup retention rules.
D:Test deployment alarm configuration and preserve the previous published version for the rollback window.
Question 5
A central tooling account runs CodePipeline but deployment to a production account fails because the build role has no target-account trust path. Which risk is directly created by the described failure?
- Mutable image references can cause nonrepeatable deployments and make a validated rollback impossible.
- A syntactically valid release can fail on live service interactions that unit tests never covered.
- A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
- A release can appear healthy at the host level while progressively exposing more customers to broken business functions.
Explanation
Correct Answer
C:A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target. This is the directly relevant business or security consequence of cross-account deployment role trust in codepipeline. Root cause: Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
Incorrect Answers
A:Mutable image references can cause nonrepeatable deployments and make a validated rollback impossible. That risk is relevant to container image digest promotion in amazon ecr, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
B:A syntactically valid release can fail on live service interactions that unit tests never covered. That risk is relevant to integration tests with controlled dependent services, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
D:A release can appear healthy at the host level while progressively exposing more customers to broken business functions. That risk is relevant to canary verification using synthetic customer transactions, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
Question 6
A platform team tries to deploy the same release to twelve isolated workload accounts using one static administrator access key stored in the pipeline. Which implementation BEST addresses the operational issue?
- Store deployment packages in versioned, private S3 locations with integrity checks and retention aligned to rollback requirements.
- Shift a limited percentage of alias traffic to a new Lambda version and attach deployment alarms with automatic rollback.
- Configure target-account deployment roles with limited trust in the pipeline role and use STS role assumption for cross-account actions.
- Configure ECS deployment circuit breaker or appropriate blue-green monitoring so failed task health causes release rollback.
Explanation
Correct Answer
C:Configure target-account deployment roles with limited trust in the pipeline role and use STS role assumption for cross-account actions. Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
A:Store deployment packages in versioned, private S3 locations with integrity checks and retention aligned to rollback requirements.
B:Shift a limited percentage of alias traffic to a new Lambda version and attach deployment alarms with automatic rollback.
D:Configure ECS deployment circuit breaker or appropriate blue-green monitoring so failed task health causes release rollback.
Question 7
A platform team tries to deploy the same release to twelve isolated workload accounts using one static administrator access key stored in the pipeline. How should the team validate the intended result?
- Inspect assumed-role events in CloudTrail and replay a test deployment to confirm only authorized target resources can be changed.
- Check that the new target group passes end-to-end health probes before shifting traffic and that the old group can be restored.
- Retrieve a prior release by object version and confirm digest, access logs and pipeline provenance match the deployment manifest.
- Inject a controlled known vulnerable test dependency and verify the scan output blocks promotion pending authorized disposition.
Explanation
Correct Answer
A:Inspect assumed-role events in CloudTrail and replay a test deployment to confirm only authorized target resources can be changed. Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
Incorrect Answers
B:Check that the new target group passes end-to-end health probes before shifting traffic and that the old group can be restored.
C:Retrieve a prior release by object version and confirm digest, access logs and pipeline provenance match the deployment manifest.
D:Inject a controlled known vulnerable test dependency and verify the scan output blocks promotion pending authorized disposition.
Question 8
A platform team tries to deploy the same release to twelve isolated workload accounts using one static administrator access key stored in the pipeline. Which design distinction is MOST relevant in these conditions?
- A mutable tag is a pointer that can change independently of the tested image bytes.
- A scheduler can start containers successfully even when application readiness or target-group checks fail.
- Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
- Rolling release safety depends on capacity and health thresholds throughout the batch sequence, not only at its end.
Explanation
Correct Answer
C:Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
A:A mutable tag is a pointer that can change independently of the tested image bytes.
B:A scheduler can start containers successfully even when application readiness or target-group checks fail.
D:Rolling release safety depends on capacity and health thresholds throughout the batch sequence, not only at its end.
Question 9
A platform team tries to deploy the same release to twelve isolated workload accounts using one static administrator access key stored in the pipeline. Which ongoing guardrail would BEST prevent this problem from recurring?
- Periodically review each deployment role trust policy and reconcile account onboarding with pipeline permission boundaries.
- Restrict tag mutation and use digest-based deployment records and cleanup retention rules.
- Maintain scan policy, exception ownership and false-positive review as packages and threat intelligence change.
- Test deployment alarm configuration and preserve the previous published version for the rollback window.
Explanation
Correct Answer
A:Periodically review each deployment role trust policy and reconcile account onboarding with pipeline permission boundaries. A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
Incorrect Answers
B:Restrict tag mutation and use digest-based deployment records and cleanup retention rules.
C:Maintain scan policy, exception ownership and false-positive review as packages and threat intelligence change.
D:Test deployment alarm configuration and preserve the previous published version for the rollback window.
Question 10
A platform team tries to deploy the same release to twelve isolated workload accounts using one static administrator access key stored in the pipeline. Which risk is directly created by the described failure?
- A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target.
- A syntactically valid release can fail on live service interactions that unit tests never covered.
- A release can appear healthy at the host level while progressively exposing more customers to broken business functions.
- Mutable image references can cause nonrepeatable deployments and make a validated rollback impossible.
Explanation
Correct Answer
A:A compromised central pipeline with excessive cross-account permissions could alter workloads far beyond the intended release target. This is the directly relevant business or security consequence of cross-account deployment role trust in codepipeline. Root cause: Cross-account CI/CD needs separate identities and explicitly delegated permissions; storing long-lived universal credentials broadens blast radius.
Incorrect Answers
B:A syntactically valid release can fail on live service interactions that unit tests never covered. That risk is relevant to integration tests with controlled dependent services, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
C:A release can appear healthy at the host level while progressively exposing more customers to broken business functions. That risk is relevant to canary verification using synthetic customer transactions, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
D:Mutable image references can cause nonrepeatable deployments and make a validated rollback impossible. That risk is relevant to container image digest promotion in amazon ecr, but the specific unresolved condition here concerns cross-account deployment role trust in codepipeline and has a different direct consequence.
AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests