Question 130
A global site repeatedly serves identical cacheable assets from its application fleet. What can reduce origin demand?
- Set the cache policy to forward every request to origin with zero caching
- Scale only the application logging service
- CloudFront caching with appropriate cache policies
- Add DNS aliases pointing to the same application fleet
Explanation
Correct Answer
C:Edge reuse reduces repeated origin fetches while cache keys and lifetimes preserve correctness.
Incorrect Answers
A:That preserves origin demand instead of offloading repeated cacheable responses.
B:Log collection does not serve the repeated asset requests at the edge.
D:Additional names do not cache content or remove requests from the origin.
Question 131
A service will publish latency through CloudWatch embedded metric format instead of separate PutMetricData calls. Its events are valid standalone JSON. Which THREE document elements are needed to extract a Latency metric dimensioned by Service and Environment? Choose THREE.
- Root-level Service and Environment string values referenced by the dimension set
- A root-level numeric Latency value or supported numeric array referenced by the metric definition
- Only an arbitrary field called metric with the text Latency=25
- A valid _aws metadata object declaring Timestamp and the CloudWatchMetrics directive
- A dimension set referring to ServiceName while the event contains only Service
- A Timestamp string containing a human-readable date instead of the required numeric epoch milliseconds
Explanation
Correct Answers
A:Dimension-set names reference string members in the same root object. Keeping the dimension values bounded also avoids unnecessary high-cardinality metric identities.
B:The metric definition references target values in the root event. Declaring a metric name without a matching supported numeric value does not provide a measurement.
D:The reserved metadata tells CloudWatch which metric definitions to extract and the metric timestamp to use. It must follow the documented structure and case-sensitive member names.
Incorrect Answers
C:An ordinary text field is not the embedded metric format extraction directive. Valid JSON alone does not make the payload a valid metric document.
E:Referenced target members must exist under their declared names. A mismatch does not establish the required Service dimension.
F:The metadata timestamp uses a numeric count of milliseconds since the epoch. A descriptive date string violates that required type.
Question 132
An API faces bursts beyond safe backend throughput. What protects the backend while clients retry appropriately?
- Apply request throttling and return meaningful retryable responses
- Disable all rate limits permanently
- Retry rejected requests in a tight loop
- Accept unlimited work into memory
Explanation
Correct Answer
A:Controlled admission bounds backend load; clients should back off rather than amplify the overload.
Incorrect Answers
B:Removing limits does not add backend capacity.
C:Synchronized immediate retries increase pressure.
D:Unbounded buffering can exhaust the API process.
Question 133
A service must deploy schema changes without breaking the previous version during rolling updates. Which sequence is safest?
- Update every database and instance simultaneously without coordination
- Disable backups during migration
- Add compatible fields, deploy code using them, then remove obsolete fields after old versions retire
- Drop old columns before any application update
Explanation
Correct Answer
C:An overlap period keeps both application versions functional while the schema transitions.
Incorrect Answers
A:Failures can leave mixed versions despite the intended simultaneous operation.
B:That reduces recovery options without improving schema compatibility.
D:Old instances may still depend on those columns during the rollout.
Question 134
A governed account's baseline changes outside the approved provisioning workflow. What should operations do?
- Delete the account immediately
- Hide the drift finding
- Investigate reported drift and reconcile through the supported governance process
- Assume governance automatically prevents all configuration changes
Explanation
Correct Answer
C:Understanding the change avoids silently overriding legitimate dependencies while restoring the intended baseline.
Incorrect Answers
A:Destruction is not a proportionate first response to a baseline difference.
B:Suppressing evidence does not restore governance.
D:Preventive and detective coverage varies; drift can still require action.
Question 135
A team sees EC2 CPU metrics but no guest memory usage. What should collect it?
- Enable EC2 detailed monitoring only
- Use ALB target-response-time metrics
- Collect only EBS volume queue metrics
- A configured CloudWatch agent or equivalent custom metric publisher
Explanation
Correct Answer
D:Guest memory is not supplied by standard EC2 infrastructure metrics alone.
Incorrect Answers
A:Detailed monitoring changes the frequency of supported EC2 metrics; it does not automatically instrument guest memory.
B:Request latency does not measure the instance operating system's memory consumption.
C:Block-storage metrics do not reveal guest RAM utilization.
Question 136
A tested package must enter an internal release repository only after approval. Which access model fits?
- Allow the release identity to publish while test identities have read-only access
- Make the repository publicly writable
- Allow every consumer to overwrite release packages
- Rely only on a README asking writers to wait
Explanation
Correct Answer
A:Separating read and publication authority prevents unapproved consumers from altering the approved package set.
Incorrect Answers
B:Unrestricted publication defeats approval-based promotion.
C:Consumers would gain publication authority unrelated to their installation duties.
D:Documentation cannot enforce repository authorization.
Question 137
A build caches a CodeArtifact authorization token and fails authentication on a later day. What should it do?
- Increase package retention
- Change the package's semantic version
- Obtain a fresh token using its authorized build identity
- Grant public write access
Explanation
Correct Answer
C:Repository tokens are time-limited; automated retrieval avoids dependence on stale cached credentials.
Incorrect Answers
A:Retention controls package storage, not authentication token lifetime.
B:Package metadata does not renew an expired authorization token.
D:Removing authentication is unnecessary and weakens repository protection.
Question 138
Operators need the count of errors grouped by service during an incident interval. What query approach fits?
- Filter errors but use only limit to return a few matching rows
- Filter relevant events and aggregate counts by the structured service field
- Sort raw messages by timestamp without aggregation
- Create a new metric filter and assume it backfills the stored interval
Explanation
Correct Answer
B:Field-based aggregation gives comparable service totals over the selected time range.
Incorrect Answers
A:A row limit does not calculate the grouped counts required for the incident summary.
C:Ordering events does not compute error totals by service.
D:A newly created filter does not retroactively process all historical matching events.
Question 139
A team enables parallel pipeline executions for feature branches. What must its deployment design provide to avoid one branch overwriting another?
- Separate deployment resources per execution or branch
- A shared stack name for every branch
- A longer action timeout
- One common mutable artifact key
Explanation
Correct Answer
A:Concurrency requires isolated targets as well as distinct artifacts; otherwise independent executions still mutate shared state.
Incorrect Answers
B:Identical stack targets create contention even when source revisions differ.
C:Extra time cannot isolate resource changes or prevent competing deployments.
D:Overwriting the same object can mix packages between concurrent executions.
Question 140
A provisioned table throttles because nearly all writes target one partition key. What change addresses the structural bottleneck?
- Distribute writes across a better-partitioned key design
- Raise retries without backoff while keeping the same hot key
- Add an unrelated index and leave all writes on the original hot key
- Increase total table capacity without examining the per-key access pattern
Explanation
Correct Answer
A:Adding aggregate capacity alone may not resolve concentrated demand on one hot key.
Incorrect Answers
B:More immediate requests intensify pressure on the same partitioned access pattern.
C:An unused query index does not redistribute those concentrated base-table writes.
D:More aggregate capacity may not remove the structural concentration on one key and its applicable limits.