Question 280
A CodeBuild job is terminated by its project execution timeout while the pipeline's action timeout is longer. Which setting must change for a legitimate longer build?
- Add more pipeline stages after the build
- Raise the deployment alarm threshold
- Increase the CodeBuild project timeout within supported limits
- Increase only the source action timeout
Explanation
Correct Answer
C:The service terminates its own build independently of how long the orchestration action is willing to wait.
Incorrect Answers
A:Later stages cannot prevent the earlier service timeout.
B:Deployment alarms do not control build process lifetime.
D:Source retrieval timing does not extend a running build's execution allowance.
Question 281
Code is deployed successfully, but a risky business feature should be enabled gradually without rebuilding. Which approach fits?
- A controlled runtime feature flag with monitoring and rollback
- Increase the ALB connection timeout
- Change the package checksum
- Recompile the binary for each user
Explanation
Correct Answer
A:Behavior can be changed independently of artifact deployment, limiting exposure while the code remains installed.
Incorrect Answers
B:Network timeout settings do not control business feature eligibility.
C:Changing integrity metadata does not selectively enable application behavior.
D:Per-user builds undermine repeatability and add unnecessary deployment complexity.
Question 282
An alarm must evaluate total backlog divided by active workers. What CloudWatch feature can express that derived signal?
- Metric math over the relevant queue and capacity series
- Use only an absolute queue-depth alarm
- Divide active workers by backlog instead
- Sum worker count and backlog
Explanation
Correct Answer
A:The expression creates the required relationship without changing the underlying measurements.
Incorrect Answers
B:A total backlog does not normalize demand by the number of active workers.
C:That inverts the required signal and changes its direction as per-worker load increases.
D:Adding quantities with different meanings does not calculate backlog per worker.
Question 283
A fleet requires regularly rebuilt, patched AMIs with automated validation before distribution. Which service most directly supplies this workflow?
- An EBS volume attachment policy
- A CloudWatch dashboard alone
- A manually maintained golden EC2 instance only
- EC2 Image Builder with build, test, and distribution configuration
Explanation
Correct Answer
D:Image pipelines automate repeatable image creation and validation rather than relying on individually patched source machines.
Incorrect Answers
A:Volume placement does not compose and test an AMI pipeline.
B:Observability does not build or distribute machine images.
C:Manual mutation lacks an automated rebuild and validation workflow.
Question 284
A trusted Linux CodeBuild job in a supported environment must run Docker daemon-based image builds. Which project setting is normally required?
- Enable S3 versioning on the artifact bucket
- Enable privileged mode and assess its security implications
- Increase the pipeline action runOrder
- Attach a production task role to ECS
Explanation
Correct Answer
B:Docker daemon workloads need the supported elevated container capabilities; restrict who controls these build commands.
Incorrect Answers
A:Versioning does not expose the daemon capabilities needed by the build container.
C:Execution order cannot grant operating-system privileges.
D:The CodeBuild container does not inherit credentials or privileges from a separate ECS task.
Question 285
A responder manually corrects a resource while an automated repair is paused. How should the workflow resume safely?
- Delete the response logs before resuming
- Apply the queued write even if resource ownership changed
- Revalidate ownership and current state before applying the queued change
- Assume pausing locks every external management API
Explanation
Correct Answer
C:Human intervention may invalidate earlier assumptions; resuming from stale intent can undo a correct repair.
Incorrect Answers
A:Removing evidence does not reconcile competing changes.
B:The original authorization context may no longer fit.
D:A paused runbook does not prevent all outside changes.
Question 286
Archived logs in S3 should move to lower-cost storage before eventual deletion. What should implement that policy?
- Set only CloudWatch log-group retention
- Use only replication to another S3 bucket
- Use only S3 Versioning
- Lifecycle transition and expiration rules aligned with retrieval requirements
Explanation
Correct Answer
D:Storage class and deletion timing can follow the evidence retention policy.
Incorrect Answers
A:That setting does not govern files already archived as objects in S3.
B:Replication creates copies but does not itself define the requested transition and expiration schedule.
C:Versioning retains object versions and does not select the desired storage-tier lifecycle.
Question 287
A governance team wants to deploy a repeatable collection of AWS Config rules and remediation actions as one compliance definition. What feature fits?
- A CloudWatch dashboard alone
- A single CloudTrail lookup query
- An S3 object ACL
- An AWS Config conformance pack
Explanation
Correct Answer
D:A pack groups supported rules and remediation configuration for consistent deployment; source recording and permissions remain prerequisites.
Incorrect Answers
A:A dashboard visualizes signals rather than deploying the compliance definitions.
B:An audit query does not install Config evaluation and remediation rules.
C:Object access control does not define a compliance rule collection.
Question 288
An Auto Scaling deployment must be reproducible and reversible. How should it select its launch template?
- Use an explicit version whose AMI and settings are recorded
- Edit each running instance instead of the template
- Use an instance's display-name tag as the template
- Use $Latest without recording which version resolved
Explanation
Correct Answer
A:A pinned template version identifies the desired host configuration and supplies a concrete rollback reference.
Incorrect Answers
B:Future replacements would still launch from the old configuration.
C:Tags do not define launch parameters or machine images.
D:Later edits can change future launches without a corresponding release record.
Question 289
Engineers need to find X-Ray traces for a particular deployment ID without downloading every trace. The value is safe to index. Where should supported instrumentation place that value?
- Only in the local filename of the deployment package
- Only in an arbitrary X-Ray metadata object
- Only in a CloudWatch dashboard text widget
- In an X-Ray annotation suitable for a filter expression
Explanation
Correct Answer
D:Annotations are indexed for trace filtering. Keep indexed fields bounded and nonsensitive; metadata has a different searchability role.
Incorrect Answers
A:Package naming does not automatically populate searchable trace annotations.
B:Metadata can carry diagnostic content but is not indexed for the same annotation-based trace filtering.
C:A dashboard description does not attach an indexed field to each distributed trace.
Question 290
A custom metric is published with Service and Environment dimensions, but a query using only Service finds nothing. Why?
- Assume CloudWatch automatically aggregates every custom metric across omitted dimensions
- Change only the metric period
- The query selects a different metric identity
- Change only the statistic from Average to Sum
Explanation
Correct Answer
C:Custom metric dimensions identify distinct series; omit or aggregate dimensions only through supported explicit mechanisms.
Incorrect Answers
A:Custom metric queries generally need the published identity or an explicit aggregation mechanism.
B:Period selection does not select a different dimension combination.
D:The statistic applies after the correct metric identity is selected.