AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 35
Question 340
An operations team deploys the following safeguard: Protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies. Which observed result is the STRONGEST validation that the safeguard works?
- Builds in separate accounts resolve the same version and digest through the approved package repository.
- An operator can redeploy a previous approved S3 object or ECR digest without rebuilding it.
- A prior ECS task definition resolves to the same archived image digest during rollback rehearsal.
- Policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions.
Explanation
Correct Answer
D:The best verification result is: Policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions. It specifically demonstrates that the implemented safeguard to protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies. is effective. This control matters where a production account receives an artifact stored in S3 without server-side encryption or an explicit deployment read role. Without suitable evidence, the outstanding exposure is that public or over-broad artifact access could expose unreleased application code and supply-chain metadata.
Incorrect Answers
A:This measurement validates a different AWS control: Publish versioned internal packages to AWS CodeArtifact and authorize consumers using appropriate repository policies and tokens. It is most relevant where a multi-account build consumes shared private packages but each account independently copies libraries and loses dependency provenance. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions.
B:This measurement validates a different AWS control: Retain immutable approved deployment artifacts for the required rollback and audit period. It is most relevant where a pipeline deletes the artifact storage object as soon as it deploys, making an emergency rollback depend on recompiling source. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions.
C:This measurement validates a different AWS control: Use immutable versioned image tags or image digests and retain release-to-digest deployment records. It is most relevant where a company overwrites an Amazon ECR image tag named production every day and cannot identify which digest was deployed during an incident. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that policy tests deny unauthorized artifact reads and confirm encryption and approved decrypt permissions.
Question 341
The team has omitted the measure to encode tagging requirements in reusable templates and enforce organization tagging and policy checks where supported. It operates in this setting: A fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. Which resulting risk is MOST direct?
- Untagged resources undermine incident ownership, cost allocation and automated clean-up targeting.
- Developers may create unapproved public or over-privileged stacks when arbitrary resource creation is allowed.
- An innocent-looking configuration update could replace stateful resources and destroy business availability.
- Deleting a stack can inadvertently remove long-lived evidence or data needed after resource retirement.
Explanation
Correct Answer
A:The omitted control leaves this direct failure exposure: Untagged resources undermine incident ownership, cost allocation and automated clean-up targeting. This follows from the specific situation: A fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. The proposed safeguard would be to encode tagging requirements in reusable templates and enforce organization tagging and policy checks where supported. The governing engineering reason is that tags become operational controls only when consistently provisioned and validated across resource lifecycles. A test would check that a test deployment rejects or identifies missing required tags and inventory shows mapped cost-center ownership.
Incorrect Answers
B:This failure could arise in a related but different scenario: An internal platform team wants developers to provision approved infrastructure without giving them IAM administrator rights. There the appropriate mitigation is to publish reviewed CloudFormation products through AWS Service Catalog with suitable portfolios and launch constraints. The current environment is specifically a fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. Its omitted safeguard creates the more direct consequence: Untagged resources undermine incident ownership, cost allocation and automated clean-up targeting.
C:This failure could arise in a related but different scenario: A CloudFormation stack update will replace a production database and the infrastructure team assumes a green template validation means no disruption. There the appropriate mitigation is to create and review a CloudFormation change set for resource replacements, then require approval for destructive changes. The current environment is specifically a fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. Its omitted safeguard creates the more direct consequence: Untagged resources undermine incident ownership, cost allocation and automated clean-up targeting.
D:This failure could arise in a related but different scenario: CloudFormation destroys persistent storage when a test stack is deleted, even though the storage contains audit evidence required for retention. There the appropriate mitigation is to set appropriate CloudFormation DeletionPolicy or retention controls for protected stateful resources. The current environment is specifically a fleet requires mandatory ownership and cost-center tags, but different teams create inconsistent or empty resource tags. Its omitted safeguard creates the more direct consequence: Untagged resources undermine incident ownership, cost allocation and automated clean-up targeting.
Question 342
A team proposes this change: Automate tested AMI production with EC2 Image Builder or an equivalent versioned image pipeline. The environment is: A fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. Which AWS engineering principle most directly supports the proposal?
- Container delivery must identify image content, not merely a mutable human-readable label.
- Golden images should be consistently assembled, validated and versioned before large-scale deployment.
- Restorable releases depend on preserving the actual tested artifacts, not assuming reproducible recompilation.
- Stored delivery artifacts can contain proprietary code and must have controlled access at rest and during promotion.
Explanation
Correct Answer
B:The central principle is that golden images should be consistently assembled, validated and versioned before large-scale deployment. It supports the decision to automate tested AMI production with EC2 Image Builder or an equivalent versioned image pipeline. because the workload problem is: A fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. The consequence of ignoring the principle is: Manually built images can accumulate package drift and unknown security baselines. The design can be tested by confirming that two independently built candidate AMIs pass the approved recipe tests and record their component versions.
Incorrect Answers
A:This principle concerns the different situation in which a company overwrites an Amazon ECR image tag named production every day and cannot identify which digest was deployed during an incident. It explains the alternative control to use immutable versioned image tags or image digests and retain release-to-digest deployment records. For the present workload, a fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. the design rationale is instead that golden images should be consistently assembled, validated and versioned before large-scale deployment.
C:This principle concerns the different situation in which a pipeline deletes the artifact storage object as soon as it deploys, making an emergency rollback depend on recompiling source. It explains the alternative control to retain immutable approved deployment artifacts for the required rollback and audit period. For the present workload, a fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. the design rationale is instead that golden images should be consistently assembled, validated and versioned before large-scale deployment.
D:This principle concerns the different situation in which a production account receives an artifact stored in S3 without server-side encryption or an explicit deployment read role. It explains the alternative control to protect pipeline artifact buckets with encryption and least-privilege bucket and key access policies. For the present workload, a fleet uses a golden EC2 image that engineers rebuild manually on their laptops with differing patches. the design rationale is instead that golden images should be consistently assembled, validated and versioned before large-scale deployment.
Question 343
An operations team deploys the following safeguard: Add CDK synthesis, policy checks, diff review and change approval to the source-controlled deployment workflow. Which observed result is the STRONGEST validation that the safeguard works?
- A drift report identifies the modified security group and an approved template revision restores the intended policy.
- A test deployment rejects or identifies missing required tags and inventory shows mapped cost-center ownership.
- Review records link the source revision and synthesized resource diff to the approved production deployment.
- A simulated update of a protected resource fails while an authorized application update succeeds.
Explanation
Correct Answer
C:The best verification result is: Review records link the source revision and synthesized resource diff to the approved production deployment. It specifically demonstrates that the implemented safeguard to add CDK synthesis, policy checks, diff review and change approval to the source-controlled deployment workflow. is effective. This control matters where a project uses AWS CDK source to define infrastructure but does not inspect the synthesized CloudFormation before production deployment. Without suitable evidence, the outstanding exposure is that a refactor in application code may synthesize a destructive change without reviewers noticing.
Incorrect Answers
A:This measurement validates a different AWS control: Run CloudFormation drift detection and reconcile the desired state through the authorized template and change workflow. It is most relevant where operators have edited security groups in the console for a stack-managed service and deploy the original CloudFormation template again. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that review records link the source revision and synthesized resource diff to the approved production deployment.
B: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 review records link the source revision and synthesized resource diff to the approved production deployment.
D:This measurement validates a different AWS control: Use a CloudFormation stack policy and appropriate IAM permissions to restrict unintended updates to protected resources. It is most relevant where developers can deploy a reviewed CloudFormation application template but must not change protected shared networking resources. It would not establish whether the current safeguard is effective; the required acceptance evidence is specifically that review records link the source revision and synthesized resource diff to the approved production deployment.
Question 344
An AWS DevOps engineer must address this situation: An enterprise stores regulated identifiers in thousands of S3 buckets and cannot tell which new datasets contain personal information. Which implementation choice BEST meets the main operational requirement?
- Use AWS Certificate Manager managed certificates and supported renewal validation for eligible endpoints.
- Apply AWS WAF web ACL rules and suitable rate-based controls at the relevant supported edge or ALB integration.
- Use appropriate AWS Security Hub findings, AWS Organizations governance and automated remediation approval workflows.
- Use Amazon Macie or approved sensitive-data discovery workflows with centralized findings and remediation ownership.
Explanation
Correct Answer
D:This response directly addresses the stated requirement: Use Amazon Macie or approved sensitive-data discovery workflows with centralized findings and remediation ownership. The relevant technical mechanism is that automated data classification can locate unexpected sensitive records across distributed object storage. Without this design, unknown personally identifiable data may remain broadly accessible outside required privacy controls. An operational acceptance check should confirm that a controlled sample bucket containing recognized sensitive fields creates a finding that reaches the correct owner.
Incorrect Answers
A:This design is appropriate for another AWS operational requirement: An HTTPS service repeatedly suffers certificate expiry because its team copies certificate files manually across load balancers. In that situation the corresponding response would be to use AWS Certificate Manager managed certificates and supported renewal validation for eligible endpoints. It does not directly mitigate the current failure mode, where unknown personally identifiable data may remain broadly accessible outside required privacy controls. The current requirement instead calls for use Amazon Macie or approved sensitive-data discovery workflows with centralized findings and remediation ownership.
B:This design is appropriate for another AWS operational requirement: A public API receives credential-stuffing bursts from many IP addresses and ordinary security groups cannot inspect HTTP request behavior. In that situation the corresponding response would be to apply AWS WAF web ACL rules and suitable rate-based controls at the relevant supported edge or ALB integration. It does not directly mitigate the current failure mode, where unknown personally identifiable data may remain broadly accessible outside required privacy controls. The current requirement instead calls for use Amazon Macie or approved sensitive-data discovery workflows with centralized findings and remediation ownership.
C:This design is appropriate for another AWS operational requirement: Multiple AWS accounts create custom security rules, and the central team needs consistent controls with controlled exceptions. In that situation the corresponding response would be to use appropriate AWS Security Hub findings, AWS Organizations governance and automated remediation approval workflows. It does not directly mitigate the current failure mode, where unknown personally identifiable data may remain broadly accessible outside required privacy controls. The current requirement instead calls for use Amazon Macie or approved sensitive-data discovery workflows with centralized findings and remediation ownership.
Question 345
A team proposes this change: Publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. The environment is: A Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. Which AWS engineering principle most directly supports the proposal?
- Lambda canary deployments should expose a small share of requests before promoting a new immutable version.
- Container blue/green deployment separates the replacement task set from the currently serving task set.
- Deployment safety depends on machine-readable health thresholds linked to the deployment controller.
- Deployment hooks must verify service readiness rather than simply report that a startup command returned.
Explanation
Correct Answer
A:The central principle is that lambda canary deployments should expose a small share of requests before promoting a new immutable version. It supports the decision to publish a Lambda version and shift an alias's traffic gradually with monitored deployment alarms and rollback. because the workload problem is: A Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. The consequence of ignoring the principle is: A defect affecting only certain inputs can disrupt all invocations when traffic is shifted at once. The design can be tested by confirming that a controlled release routes a measured small percentage to the new version and returns to the previous alias on alarm.
Incorrect Answers
B:This principle concerns the different situation in which an Amazon ECS service must deploy a new task definition while preserving the existing healthy service during validation. It explains the alternative control to use a supported ECS blue/green deployment strategy with CodeDeploy, target groups and application health validation. For the present workload, a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. the design rationale is instead that lambda canary deployments should expose a small share of requests before promoting a new immutable version.
C:This principle concerns the different situation in which a CodeDeploy deployment experiences high error rates after shifting traffic but the pipeline continues unless an engineer manually intervenes. It explains the alternative control to associate appropriate CloudWatch alarms and configure supported automatic CodeDeploy deployment rollback. For the present workload, a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. the design rationale is instead that lambda canary deployments should expose a small share of requests before promoting a new immutable version.
D:This principle concerns the different situation in which a CodeDeploy release frequently fails because the application-start lifecycle hook is successful before the service is actually usable. It explains the alternative control to implement lifecycle hook health validation and fail the deployment when required readiness checks do not pass. For the present workload, a Lambda function has unpredictable failures under new code and the team currently switches every caller to the latest version at once. the design rationale is instead that lambda canary deployments should expose a small share of requests before promoting a new immutable version.
Question 346
A team proposes this change: Manage approved automation documents through version control, least-privilege execution and logged Systems Manager operations. The environment is: Operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. Which AWS engineering principle most directly supports the proposal?
- Compliance detection and controlled remediation are separate components that can be combined for scalable governance.
- Operational script reproducibility and identity accountability are prerequisites for safe fleet automation.
- Runbook automation can make complex operational procedures repeatable while retaining risk-based approvals.
- Application configuration rollout deserves health gates and rollback mechanisms comparable to code deployment.
Explanation
Correct Answer
B:The central principle is that operational script reproducibility and identity accountability are prerequisites for safe fleet automation. It supports the decision to manage approved automation documents through version control, least-privilege execution and logged Systems Manager operations. because the workload problem is: Operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. The consequence of ignoring the principle is: An unreviewed script revision can execute with broad privileges and damage unrelated environments. The design can be tested by confirming that a controlled invocation records the version, caller, target selection and resulting commands for an approved script.
Incorrect Answers
A:This principle concerns the different situation in which aWS Config reports a noncompliant S3 setting but the security team fixes each bucket only after weekly ticket review. It explains the alternative control to connect an approved AWS Config remediation to a scoped Systems Manager Automation action with monitoring and exceptions. For the present workload, operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. the design rationale is instead that operational script reproducibility and identity accountability are prerequisites for safe fleet automation.
C:This principle concerns the different situation in which a recurring operations task requires several AWS API steps and human review, but staff execute commands in different orders. It explains the alternative control to build a versioned Systems Manager Automation document with explicit steps, constraints and approvals. For the present workload, operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. the design rationale is instead that operational script reproducibility and identity accountability are prerequisites for safe fleet automation.
D:This principle concerns the different situation in which a team deploys one feature-flag value to every application node instantly and causes a sudden spike in transaction failures. It explains the alternative control to use AWS AppConfig deployment strategies and validators with monitors to roll out configuration changes gradually. For the present workload, operators collect manual troubleshooting commands into unversioned shell scripts on a shared bastion server. the design rationale is instead that operational script reproducibility and identity accountability are prerequisites for safe fleet automation.
Question 347
The team has omitted the measure to use Auto Scaling lifecycle hooks to hold instances for initialization and finish the hook after validation. It operates in this setting: An Auto Scaling group replaces unhealthy instances before the replacement has registered with required internal monitoring agents. Which resulting risk is MOST direct?
- Retrying a state-changing action can introduce duplicate or conflicting infrastructure configuration.
- Host failures may extend customer downtime even when automatic recovery is available.
- New capacity may receive traffic before required security, monitoring or initialization steps complete.
- A savings routine can stop critical customer infrastructure when selection criteria are too broad.
Explanation
Correct Answer
C:The omitted control leaves this direct failure exposure: New capacity may receive traffic before required security, monitoring or initialization steps complete. This follows from the specific situation: An Auto Scaling group replaces unhealthy instances before the replacement has registered with required internal monitoring agents. The proposed safeguard would be to use Auto Scaling lifecycle hooks to hold instances for initialization and finish the hook after validation. The governing engineering reason is that instance lifecycle hooks permit controlled initialization and cleanup before capacity enters active service. A test would check that a test launch remains in the appropriate lifecycle wait state until the agent and configuration checks pass.
Incorrect Answers
A:This failure could arise in a related but different scenario: A CloudWatch alarm triggers a change to a shared routing rule, but a transient Lambda retry executes the route modification twice. There the appropriate mitigation is to design idempotent response steps with controlled retries, current-state checks and compensating recovery actions. The current environment is specifically an Auto Scaling group replaces unhealthy instances before the replacement has registered with required internal monitoring agents. Its omitted safeguard creates the more direct consequence: New capacity may receive traffic before required security, monitoring or initialization steps complete.
B:This failure could arise in a related but different scenario: An impaired EC2 instance needs recovery when the host fails, but operators currently reboot it manually after a customer complaint. There the appropriate mitigation is to configure supported EC2 automatic recovery through appropriate CloudWatch status-check alarms or recovery actions. The current environment is specifically an Auto Scaling group replaces unhealthy instances before the replacement has registered with required internal monitoring agents. Its omitted safeguard creates the more direct consequence: New capacity may receive traffic before required security, monitoring or initialization steps complete.
D:This failure could arise in a related but different scenario: Operations schedules an automatic stop of nonproduction instances, but the schedule occasionally targets production because tags are inconsistent. There the appropriate mitigation is to use EventBridge Scheduler with tightly scoped resource selection, validation and explicit production exclusions. The current environment is specifically an Auto Scaling group replaces unhealthy instances before the replacement has registered with required internal monitoring agents. Its omitted safeguard creates the more direct consequence: New capacity may receive traffic before required security, monitoring or initialization steps complete.
Question 348
The team has omitted the measure to enable supported S3 cross-Region replication with versioning, permissions and validation against recovery needs. It operates in this setting: A compliance platform writes critical documents to an S3 bucket in one Region and has a requirement for regional disaster tolerance. Which resulting risk is MOST direct?
- Load balancing or failover can force users to log in again or lose in-progress work.
- A storage or AZ fault can interrupt the primary database for longer than the business recovery target.
- A disaster could exceed the expected recovery point or leave applications pointing at a former writer.
- A regional outage may leave essential objects unavailable in the recovery Region or behind the needed RPO.
Explanation
Correct Answer
D:The omitted control leaves this direct failure exposure: A regional outage may leave essential objects unavailable in the recovery Region or behind the needed RPO. This follows from the specific situation: A compliance platform writes critical documents to an S3 bucket in one Region and has a requirement for regional disaster tolerance. The proposed safeguard would be to enable supported S3 cross-Region replication with versioning, permissions and validation against recovery needs. The governing engineering reason is that cross-Region object replication can provide geographical data resilience but is asynchronous and requires configuration. A test would check that object-replication tests verify expected versions, ownership and replication status in the destination Region.
Incorrect Answers
A:This failure could arise in a related but different scenario: An EC2 web service has a redundant fleet and database but stores every authenticated session on local disk. There the appropriate mitigation is to move shared session state to a suitable resilient store or adopt stateless session handling across application targets. The current environment is specifically a compliance platform writes critical documents to an S3 bucket in one Region and has a requirement for regional disaster tolerance. Its omitted safeguard creates the more direct consequence: A regional outage may leave essential objects unavailable in the recovery Region or behind the needed RPO.
B:This failure could arise in a related but different scenario: A production RDS database is deployed in a Single-AZ configuration although the business requires automated recovery from an AZ outage. There the appropriate mitigation is to use an appropriate Amazon RDS Multi-AZ deployment and test the documented failover behavior. The current environment is specifically a compliance platform writes critical documents to an S3 bucket in one Region and has a requirement for regional disaster tolerance. Its omitted safeguard creates the more direct consequence: A regional outage may leave essential objects unavailable in the recovery Region or behind the needed RPO.
C:This failure could arise in a related but different scenario: An Aurora application runs in two Regions but failover documentation assumes asynchronous replica lag is always zero. There the appropriate mitigation is to design Aurora Global Database recovery with monitored replication lag and explicit cross-Region promotion and reconnection steps. The current environment is specifically a compliance platform writes critical documents to an S3 bucket in one Region and has a requirement for regional disaster tolerance. Its omitted safeguard creates the more direct consequence: A regional outage may leave essential objects unavailable in the recovery Region or behind the needed RPO.
Question 349
An AWS DevOps engineer must address this situation: A log group stores debug events indefinitely and continually increases costs while security retention requirements are finite. Which implementation choice BEST meets the main operational requirement?
- Define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls.
- Create an appropriate CloudWatch Logs metric filter for the structured failure events and alarm on the resulting metric.
- Design log collection destinations with tested bucket, IAM and KMS encryption permissions for producing accounts and services.
- Configure CloudWatch Metric Streams to deliver the required metrics through the supported Firehose delivery path.
Explanation
Correct Answer
A:This response directly addresses the stated requirement: Define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls. The relevant technical mechanism is that observability storage needs explicit retention and legal requirements rather than indefinite default accumulation. Without this design, unbounded logs can increase cost while premature deletion risks losing required audit evidence. An operational acceptance check should confirm that a retention review shows the log group lifecycle satisfies the approved duration and archive obligations.
Incorrect Answers
B:This design is appropriate for another AWS operational requirement: A service logs application-level payment failures but the dashboard only has raw text with no numeric failure metric. In that situation the corresponding response would be to create an appropriate CloudWatch Logs metric filter for the structured failure events and alarm on the resulting metric. It does not directly mitigate the current failure mode, where unbounded logs can increase cost while premature deletion risks losing required audit evidence. The current requirement instead calls for define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls.
C:This design is appropriate for another AWS operational requirement: A team sends all regional log archives into one bucket but omits KMS grants required by the service delivery principals. In that situation the corresponding response would be to design log collection destinations with tested bucket, IAM and KMS encryption permissions for producing accounts and services. It does not directly mitigate the current failure mode, where unbounded logs can increase cost while premature deletion risks losing required audit evidence. The current requirement instead calls for define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls.
D:This design is appropriate for another AWS operational requirement: A central operations team needs a continuous stream of selected metrics for an external monitoring lake and currently polls CloudWatch dashboards manually. In that situation the corresponding response would be to configure CloudWatch Metric Streams to deliver the required metrics through the supported Firehose delivery path. It does not directly mitigate the current failure mode, where unbounded logs can increase cost while premature deletion risks losing required audit evidence. The current requirement instead calls for define CloudWatch Logs retention aligned to policy and archive required records using appropriate storage controls.
Question 350
A team proposes this change: Scale consumers using suitable queue backlog per worker or message-age signals rather than CPU alone. The environment is: SQS workers use CPU utilization as their scaling signal even though queued messages grow while CPU remains low due to network waits. Which AWS engineering principle most directly supports the proposal?
- Container-task scaling only works when cluster capacity grows with the requested task demand.
- Queue-driven applications should scale from work arrival and processing capacity, not only compute utilization.
- Serverless scaling must respect downstream system capacity; more parallel invocations are not always safer.
- Capacity mode selection should match traffic predictability while monitoring hot keys and service limits.
Explanation
Correct Answer
B:The central principle is that queue-driven applications should scale from work arrival and processing capacity, not only compute utilization. It supports the decision to scale consumers using suitable queue backlog per worker or message-age signals rather than CPU alone. because the workload problem is: SQS workers use CPU utilization as their scaling signal even though queued messages grow while CPU remains low due to network waits. The consequence of ignoring the principle is: Messages can exceed their processing deadline while worker CPUs remain mostly idle. The design can be tested by confirming that a synthetic queue burst increases consumer capacity and reduces oldest-message age to within the SLO.
Incorrect Answers
A:This principle concerns the different situation in which an ECS service scales task count, but its EC2 capacity pool cannot place more tasks during peak traffic. It explains the alternative control to configure an appropriate ECS capacity provider and scaling for the underlying compute capacity. For the present workload, sQS workers use CPU utilization as their scaling signal even though queued messages grow while CPU remains low due to network waits. the design rationale is instead that queue-driven applications should scale from work arrival and processing capacity, not only compute utilization.
C:This principle concerns the different situation in which a Lambda workload experiences a traffic spike that overwhelms a downstream database because invocations scale far beyond safe connections. It explains the alternative control to apply reserved concurrency and downstream-aware throttling or queue-based buffering to bound concurrent work. For the present workload, sQS workers use CPU utilization as their scaling signal even though queued messages grow while CPU remains low due to network waits. the design rationale is instead that queue-driven applications should scale from work arrival and processing capacity, not only compute utilization.
D:This principle concerns the different situation in which a DynamoDB table has unpredictable request peaks and provisioned throughput throttles clients despite low off-peak utilization. It explains the alternative control to evaluate DynamoDB on-demand capacity mode or appropriate auto scaling based on the observed traffic profile. For the present workload, sQS workers use CPU utilization as their scaling signal even though queued messages grow while CPU remains low due to network waits. the design rationale is instead that queue-driven applications should scale from work arrival and processing capacity, not only compute utilization.