AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 51
Question 500
An AWS DevOps engineer must address this situation: A Lambda workload experiences a traffic spike that overwhelms a downstream database because invocations scale far beyond safe connections. Which implementation choice BEST meets the main operational requirement?
- Evaluate DynamoDB on-demand capacity mode or appropriate auto scaling based on the observed traffic profile.
- Use target tracking or another appropriate metric-based Auto Scaling policy tied to application demand.
- Use Amazon CloudFront caching with suitable object cache controls and appropriate invalidation policy.
- Apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work.
Explanation
Correct Answer
D:This response directly addresses the stated requirement: Apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work. The relevant technical mechanism is that serverless scaling must respect downstream system capacity; more parallel invocations are not always safer. Without this design, unbounded Lambda concurrency can exhaust database connection limits and cause widespread request failures. An operational acceptance check should confirm that a stress test confirms concurrency limits protect database capacity and retries are handled safely.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A DynamoDB table has unpredictable request peaks and provisioned throughput throttles clients despite low off-peak utilization. In that situation the corresponding response would be to evaluate DynamoDB on-demand capacity mode or appropriate auto scaling based on the observed traffic profile. It does not directly mitigate the current failure mode, where unbounded Lambda concurrency can exhaust database connection limits and cause widespread request failures. The current requirement instead calls for apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work.
B:This design is appropriate for another AWS operational requirement: An EC2 Auto Scaling group is scheduled to add two instances every day, but demand varies unpredictably by traffic and time. In that situation the corresponding response would be to use target tracking or another appropriate metric-based Auto Scaling policy tied to application demand. It does not directly mitigate the current failure mode, where unbounded Lambda concurrency can exhaust database connection limits and cause widespread request failures. The current requirement instead calls for apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work.
C:This design is appropriate for another AWS operational requirement: A global website sends every anonymous static asset request to the application origin, which cannot keep up with regional demand. In that situation the corresponding response would be to use Amazon CloudFront caching with suitable object cache controls and appropriate invalidation policy. It does not directly mitigate the current failure mode, where unbounded Lambda concurrency can exhaust database connection limits and cause widespread request failures. The current requirement instead calls for apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work.
Question 501
The team has omitted the measure to use a supported ECS blue/green deployment strategy with CodeDeploy, target groups and application health validation. It operates in this setting: An Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. Which resulting risk is MOST direct?
- A flawed new task definition can remove healthy serving capacity before error rates are measured.
- A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once.
- The load balancer can route user traffic to a pod whose dependencies have not initialized.
- A shared application defect may take down both production Regions simultaneously.
Explanation
Correct Answer
A:The omitted control leaves this direct failure exposure: A flawed new task definition can remove healthy serving capacity before error rates are measured. This follows from the specific situation: An Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. The proposed safeguard would be to use a supported ECS blue/green deployment strategy with CodeDeploy, target groups and application health validation. The governing engineering reason is that container blue/green deployment separates the replacement task set from the currently serving task set. A test would check that a rehearsal observes separate task sets, validates green targets and rolls traffic back after an induced fault.
Incorrect Answers
B:This failure could arise in a related but different scenario: A Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. There the appropriate mitigation is to publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. The current environment is specifically an Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. Its omitted safeguard creates the more direct consequence: A flawed new task definition can remove healthy serving capacity before error rates are measured.
C:This failure could arise in a related but different scenario: An EKS Deployment replaces pods that are not ready, causing intermittent 503 responses at the ingress. There the appropriate mitigation is to configure readiness probes and controlled rolling-update availability settings before routing requests to new pods. The current environment is specifically an Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. Its omitted safeguard creates the more direct consequence: A flawed new task definition can remove healthy serving capacity before error rates are measured.
D:This failure could arise in a related but different scenario: An application is deployed in two AWS Regions and the team switches global traffic to both new versions before validating either Region. There the appropriate mitigation is to stage regional releases with explicit health gates and controlled Route 53 or front-door traffic transitions. The current environment is specifically an Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. Its omitted safeguard creates the more direct consequence: A flawed new task definition can remove healthy serving capacity before error rates are measured.
Question 502
A team proposes this change: Use AWS Certificate Manager managed certificates and supported renewal validation for eligible endpoints. The environment is: An HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. Which AWS engineering principle most directly supports the proposal?
- Cryptographic key rotation and key deletion are distinct operations; protected historic data must remain decryptable.
- Managed certificate lifecycle reduces expiration risk when domain validation and service attachment remain healthy.
- Layer-seven request filtering complements network-level authorization for web application threats.
- Security controls at scale combine centralized posture visibility with governed change and exception handling.
Explanation
Correct Answer
B:The central principle is that managed certificate lifecycle reduces expiration risk when domain validation and service attachment remain healthy. It supports the decision to use AWS Certificate Manager managed certificates and supported renewal validation for eligible endpoints. because the workload problem is: An HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. The consequence of ignoring the principle is: An otherwise healthy application can become unreachable when an unmanaged TLS certificate expires. The design can be tested by confirming that renewal monitoring verifies a valid certificate and successful HTTPS client connection before the expiry date.
Incorrect Answers
A:This principle concerns the different situation in which a team rotates an encryption key but inadvertently loses access to historical backups needed for compliance restoration. It explains the alternative control to use a supported KMS key lifecycle and key-policy process that preserves required decrypt availability during rotation. For the present workload, an HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. the design rationale is instead that managed certificate lifecycle reduces expiration risk when domain validation and service attachment remain healthy.
C:This principle concerns the different situation in which a public API receives credential-stuffing bursts from many IP addresses and ordinary security groups cannot inspect HTTP request behavior. It explains the alternative control to apply AWS WAF web ACL rules and suitable rate-based controls at the relevant supported edge or ALB integration. For the present workload, an HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. the design rationale is instead that managed certificate lifecycle reduces expiration risk when domain validation and service attachment remain healthy.
D:This principle concerns the different situation in which multiple AWS accounts create custom security rules, and the central team needs consistent controls with controlled exceptions. It explains the alternative control to use appropriate AWS Security Hub findings, AWS Organizations governance and automated remediation approval workflows. For the present workload, an HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. the design rationale is instead that managed certificate lifecycle reduces expiration risk when domain validation and service attachment remain healthy.
Question 503
A team proposes this change: Apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions. The environment is: An account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. Which AWS engineering principle most directly supports the proposal?
- Temporary role sessions limit credential lifetime and improve attribution of machine operations.
- Effective AWS permissions can depend on multiple policy layers, not the identity policy alone.
- Organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad.
- Cross-account role trust must identify the intended caller and mitigate confused-deputy risk where applicable.
Explanation
Correct Answer
C:The central principle is that organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad. It supports the decision to apply carefully designed AWS Organizations SCP restrictions with documented global-service and break-glass exceptions. because the workload problem is: An account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. The consequence of ignoring the principle is: Users can create workloads in prohibited Regions because local Allow policies have no upper organizational restriction. The design can be tested by confirming that a test allowed Region operation succeeds while the same prohibited Region operation is denied by the SCP.
Incorrect Answers
A:This principle concerns the different situation in which a deployment script uses a static access key stored in a shared secret file that remains valid for months. It explains the alternative control to switch to temporary role credentials from AWS STS and remove unused long-lived access keys. For the present workload, an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. the design rationale is instead that organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad.
B:This principle concerns the different situation in which an S3 replication service has an IAM policy allowing reads, but replication still fails because the destination bucket denies access. It explains the alternative control to review identity-based and resource-based policy requirements, trust relationships and applicable KMS permissions together. For the present workload, an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. the design rationale is instead that organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad.
D:This principle concerns the different situation in which an external CI provider must deploy into an AWS account, but its role trust policy allows every account belonging to the provider. It explains the alternative control to use a restrictive cross-account IAM trust policy with the required external ID or workload identity conditions. For the present workload, an account administrator needs to block users from leaving approved AWS Regions, but existing IAM identity policies allow all AWS actions. the design rationale is instead that organization guardrails limit allowed actions across member accounts even when local IAM permissions are broad.
Question 504
An AWS DevOps engineer must address this situation: A company deploys services into development and production AWS accounts, but the build account has permanent administrator credentials for both. Which implementation choice BEST meets the main operational requirement?
- Bind deployments to the reviewed source revision and require artifact provenance checks before release.
- Resolve protected build secrets at execution time through Secrets Manager or encrypted Systems Manager parameters with least-privilege roles.
- Apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
- Use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
Explanation
Correct Answer
D:This response directly addresses the stated requirement: Use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies. The relevant technical mechanism is that cross-account continuous delivery should use short-lived role sessions and trust boundaries instead of static organization-wide credentials. Without this design, long-lived deployment keys can be reused to compromise production outside approved release activity. An operational acceptance check should confirm that a test production deployment succeeds through AWS STS while access outside the defined role permissions is denied.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A release pipeline tests only the current branch head while allowing production deploys from arbitrary manually uploaded files. In that situation the corresponding response would be to bind deployments to the reviewed source revision and require artifact provenance checks before release. It does not directly mitigate the current failure mode, where long-lived deployment keys can be reused to compromise production outside approved release activity. The current requirement instead calls for use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
B:This design is appropriate for another AWS operational requirement: A pipeline downloads third-party package credentials from plaintext environment variables visible to build log readers. In that situation the corresponding response would be to resolve protected build secrets at execution time through Secrets Manager or encrypted Systems Manager parameters with least-privilege roles. It does not directly mitigate the current failure mode, where long-lived deployment keys can be reused to compromise production outside approved release activity. The current requirement instead calls for use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
C:This design is appropriate for another AWS operational requirement: Multiple feature branches share one deployment stage, and an older pipeline run occasionally overwrites the newest tested build. In that situation the corresponding response would be to apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact. It does not directly mitigate the current failure mode, where long-lived deployment keys can be reused to compromise production outside approved release activity. The current requirement instead calls for use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
Question 505
An operations team deploys the following safeguard: Use stack events and controlled failure investigation before retrying or changing rollback settings. Which observed result is the STRONGEST validation that the safeguard works?
- A controlled failure produces stack events that isolate the rejected resource and the approved correction succeeds.
- A test stack deletion retains the protected data resource under the documented ownership procedure.
- Review records link the source revision and synthesized resource diff to the approved production deployment.
- A test deployment rejects or identifies missing required tags and inventory shows mapped cost-center ownership.
Explanation
Correct Answer
A:The best verification result is: A controlled failure produces stack events that isolate the rejected resource and the approved correction succeeds. It specifically demonstrates that the implemented safeguard to use stack events and controlled failure investigation before retrying or changing rollback settings. is effective. This control matters where a CloudFormation stack fails halfway through creation, leaving developers unsure which resources were created or rolled back. Without suitable evidence, the outstanding exposure is that repeated blind retries can leave blocked stacks or cause unsafe manual edits to tracked resources.
Incorrect Answers
B:This measurement validates a different AWS control: Set appropriate CloudFormation DeletionPolicy or retention controls for protected stateful resources. It is most relevant where cloudFormation destroys persistent storage when a test stack is deleted, even though the storage contains audit evidence required for retention. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a controlled failure produces stack events that isolate the rejected resource and the approved correction succeeds.
C:This measurement validates a different AWS control: Add CDK synthesis, policy checks, diff review and change approval to the source-controlled deployment workflow. It is most relevant where a project uses AWS CDK source to define infrastructure but does not inspect the synthesized CloudFormation before production deployment. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a controlled failure produces stack events that isolate the rejected resource and the approved correction succeeds.
D:This measurement validates a different AWS control: Encode tagging requirements in reusable templates and enforce organization tagging and policy checks where supported. It is most relevant where a fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a controlled failure produces stack events that isolate the rejected resource and the approved correction succeeds.
Question 506
The team has omitted the measure to route matching GuardDuty findings through EventBridge to an owned incident-response workflow with bounded actions. It operates in this setting: A GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. Which resulting risk is MOST direct?
- High-impact unresolved misconfigurations can be masked by closing large quantities of low-value alerts.
- A high-confidence suspicious activity alert may remain uninvestigated while an attacker continues operating.
- An attacker may alter exported records without a reliable integrity-verification trail.
- Investigators may identify suspicious destinations but miss the actor who changed network security policy.
Explanation
Correct Answer
B:The omitted control leaves this direct failure exposure: A high-confidence suspicious activity alert may remain uninvestigated while an attacker continues operating. This follows from the specific situation: A GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. The proposed safeguard would be to route matching GuardDuty findings through EventBridge to an owned incident-response workflow with bounded actions. The governing engineering reason is that threat findings need timely contextual routing and triage rather than passive dashboard storage. A test would check that a synthetic high-severity finding reaches the on-call response queue and records its treatment decision.
Incorrect Answers
A:This failure could arise in a related but different scenario: Security Hub receives findings from several services, but teams report compliance solely by the total number of alerts closed. There the appropriate mitigation is to evaluate normalized Security Hub findings against control status, scope, severity and evidence of remediation. The current environment is specifically a GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. Its omitted safeguard creates the more direct consequence: A high-confidence suspicious activity alert may remain uninvestigated while an attacker continues operating.
C:This failure could arise in a related but different scenario: A compliance review discovers CloudTrail log objects but cannot tell whether exported files were modified in storage. There the appropriate mitigation is to enable suitable CloudTrail log file integrity validation and preserve digest files for verification. The current environment is specifically a GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. Its omitted safeguard creates the more direct consequence: A high-confidence suspicious activity alert may remain uninvestigated while an attacker continues operating.
D:This failure could arise in a related but different scenario: A security incident involves unexpected outbound connections from EC2 and permission changes in IAM, but investigators review only VPC Flow Logs. There the appropriate mitigation is to correlate VPC Flow Logs network metadata with CloudTrail API activity and workload logs for the same interval. The current environment is specifically a GuardDuty high-severity finding is visible in the console but nobody initiates investigation until the weekly report. Its omitted safeguard creates the more direct consequence: A high-confidence suspicious activity alert may remain uninvestigated while an attacker continues operating.
Question 507
An AWS DevOps engineer must address this situation: A company relies on employees to check AWS Health dashboards to find planned service disruptions affecting production. Which implementation choice BEST meets the main operational requirement?
- Use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets.
- Configure cross-account EventBridge bus routing and resource policies for authorized senders and targets.
- Create EventBridge rules for relevant AWS Health events and route them to an owned incident channel.
- Use a fanout pattern such as SNS topics and separate subscriptions or routed event targets for distinct consumers.
Explanation
Correct Answer
C:This response directly addresses the stated requirement: Create EventBridge rules for relevant AWS Health events and route them to an owned incident channel. The relevant technical mechanism is that service-generated events should be filtered and delivered automatically with workload-account context. Without this design, a maintenance or degradation event may not be seen until users report a production outage. An operational acceptance check should confirm that a relevant Health event triggers a correctly categorized notice with account and affected-resource details.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: An incident automation team wants to validate a new event rule against previously seen deployment failures rather than wait for another outage. In that situation the corresponding response would be to use appropriate EventBridge event archiving and replay where supported, with careful isolation of destructive targets. It does not directly mitigate the current failure mode, where a maintenance or degradation event may not be seen until users report a production outage. The current requirement instead calls for create EventBridge rules for relevant AWS Health events and route them to an owned incident channel.
B:This design is appropriate for another AWS operational requirement: Security events from dozens of workload accounts must reach a central security event bus with controlled source permissions. In that situation the corresponding response would be to configure cross-account EventBridge bus routing and resource policies for authorized senders and targets. It does not directly mitigate the current failure mode, where a maintenance or degradation event may not be seen until users report a production outage. The current requirement instead calls for create EventBridge rules for relevant AWS Health events and route them to an owned incident channel.
D:This design is appropriate for another AWS operational requirement: One incident event must notify an on-call team and independently update a customer communication channel. In that situation the corresponding response would be to use a fanout pattern such as SNS topics and separate subscriptions or routed event targets for distinct consumers. It does not directly mitigate the current failure mode, where a maintenance or degradation event may not be seen until users report a production outage. The current requirement instead calls for create EventBridge rules for relevant AWS Health events and route them to an owned incident channel.
Question 508
An operations team deploys the following safeguard: Review identity-based and resource-based policy requirements, trust relationships and applicable KMS permissions together. Which observed result is the STRONGEST validation that the safeguard works?
- A deployment succeeds through an assumed role and the expired temporary credentials cannot call AWS APIs.
- A disabled workforce identity loses its assigned account access and access history identifies the session role.
- A test authorized provider identity assumes the role while an unrelated customer identity is denied.
- A least-privilege replication test succeeds after both bucket access and necessary key policies are correct.
Explanation
Correct Answer
D:The best verification result is: A least-privilege replication test succeeds after both bucket access and necessary key policies are correct. It specifically demonstrates that the implemented safeguard to review identity-based and resource-based policy requirements, trust relationships and applicable KMS permissions together. is effective. This control matters where an S3 replication service has an IAM policy allowing reads, but replication still fails because the destination bucket denies access. Without suitable evidence, the outstanding exposure is that a service can have apparent IAM permission yet fail at the resource or encryption authorization boundary.
Incorrect Answers
A:This measurement validates a different AWS control: Switch to temporary role credentials from AWS STS and remove unused long-lived access keys. It is most relevant where a deployment script uses a static access key stored in a shared secret file that remains valid for months. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a least-privilege replication test succeeds after both bucket access and necessary key policies are correct.
B:This measurement validates a different AWS control: Use IAM Identity Center with federated workforce identities and permission sets mapped to approved account roles. It is most relevant where employees from several teams require AWS console access but each workload account has manually maintained permanent IAM users. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a least-privilege replication test succeeds after both bucket access and necessary key policies are correct.
C:This measurement validates a different AWS control: Use a restrictive cross-account IAM trust policy with the required external ID or workload identity conditions. It is most relevant where an external CI provider must deploy into an AWS account, but its role trust policy allows every account belonging to the provider. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a least-privilege replication test succeeds after both bucket access and necessary key policies are correct.
Question 509
An operations team deploys the following safeguard: Configure CloudWatch Logs subscription filters to stream matching log events to supported consumers such as Kinesis or Lambda. Which observed result is the STRONGEST validation that the safeguard works?
- A new matching log event appears in the analytics consumer within the defined delivery window.
- Access tests allow only authorized operational roles to inspect protected logs while unapproved reads are denied.
- A retention review shows the log group lifecycle satisfies the approved duration and archive obligations.
- A controlled memory stress test increases the expected custom metric and fires the configured warning threshold.
Explanation
Correct Answer
A:The best verification result is: A new matching log event appears in the analytics consumer within the defined delivery window. It specifically demonstrates that the implemented safeguard to configure CloudWatch Logs subscription filters to stream matching log events to supported consumers such as Kinesis or Lambda. is effective. This control matters where security analysts require near-real-time processing of application log events in another analytics system but receive one nightly S3 export. Without suitable evidence, the outstanding exposure is that high-severity indicators may be unavailable to the response pipeline for hours after they occur.
Incorrect Answers
B:This measurement validates a different AWS control: Restrict log-group access through IAM and use suitable encryption and data-protection controls for sensitive records. It is most relevant where cloudWatch Logs contain secrets from application traces and a broad group of developers can read all production log streams. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a new matching log event appears in the analytics consumer within the defined delivery window.
C:This measurement validates a different AWS control: Define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls. It is most relevant where a log group stores debug events indefinitely and continually increases costs while security retention requirements are finite. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a new matching log event appears in the analytics consumer within the defined delivery window.
D:This measurement validates a different AWS control: Install and configure the CloudWatch agent to publish memory usage and other required guest-operating-system custom metrics. It is most relevant where an EC2 application suffers memory exhaustion, but its team monitors only default CPU utilization and instance-status metrics. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that a new matching log event appears in the analytics consumer within the defined delivery window.
Question 510
An AWS DevOps engineer must address this situation: Multiple feature branches share one deployment stage, and an older pipeline run occasionally overwrites the newest tested build. Which implementation choice BEST meets the main operational requirement?
- Separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions.
- Apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
- Promote the identical immutable build artifact across environments and preserve checksum and source-revision traceability.
- Use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies.
Explanation
Correct Answer
B:This response directly addresses the stated requirement: Apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact. The relevant technical mechanism is that concurrent delivery must preserve artifact-to-version ordering so a stale execution does not replace a newer approved revision. Without this design, an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. An operational acceptance check should confirm that parallel-trigger testing demonstrates that only the intended approved artifact version is promoted to production.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: A deployment pipeline runs as one broad role that can delete organization logs and create IAM users although it only updates an ECS service. In that situation the corresponding response would be to separate pipeline stage execution roles and grant narrowly scoped build and deployment permissions. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
C:This design is appropriate for another AWS operational requirement: The team publishes an AWS CodeBuild artifact to S3 and then edits the binary in a separate account before production deployment. In that situation the corresponding response would be to promote the identical immutable build artifact across environments and preserve checksum and source-revision traceability. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.
D:This design is appropriate for another AWS operational requirement: A company deploys services into development and production AWS accounts, but the build account has permanent administrator credentials for both. In that situation the corresponding response would be to use an AWS CodePipeline deployment role that assumes narrowly scoped target-account roles through IAM trust policies. It does not directly mitigate the current failure mode, where an older successful pipeline execution can roll production back accidentally without a controlled rollback decision. The current requirement instead calls for apply suitable pipeline execution controls and release-version checks before promoting a candidate artifact.