Question 320
An offline deployment agent must verify that a package came from the authorized release signer. What evidence is needed?
- A verifiable digital signature and trusted verification key
- The package's compression ratio
- A checksum stored beside the package by any uploader
- A readable file name containing approved
Explanation
Correct Answer
A:Signature verification authenticates the signer and detects content modification, assuming the trust key is protected.
Incorrect Answers
B:Compression characteristics cannot establish release authorization.
C:An attacker who replaces the package could replace an unauthenticated checksum as well.
D:A name is an assertion, not cryptographic evidence of origin.
Question 321
A short CPU spike disappears in a one-hour average. What query change exposes the event better?
- Increase the aggregation period to one day
- Keep the one-hour average and add only a different graph color
- Query only the minimum for the same hour
- Use a shorter appropriate period and examine maximum or finer-resolution data
Explanation
Correct Answer
D:Aggregation can dilute brief peaks; available collection resolution limits what can be recovered.
Incorrect Answers
A:Longer averages smooth away a short spike even more.
B:Visual styling does not recover the event's finer timing or peak magnitude.
C:The lowest utilization does not expose the high-utilization spike.
Question 322
A trail records only one Region, but an incident involved API activity elsewhere. What configuration reduces this future gap?
- Only increasing EC2 monitoring frequency
- A multi-Region trail with appropriate event selectors and protected delivery
- Only an alarm-name change
- Only a larger dashboard time range
Explanation
Correct Answer
B:Region coverage and event-type selection jointly determine what is collected; central storage should preserve the resulting evidence.
Incorrect Answers
A:Instance metrics do not extend CloudTrail's Region scope.
C:Names do not enable additional regional audit collection.
D:Visualization cannot display events never collected by that trail.
Question 323
A primary regional application should receive traffic unless unhealthy, then a secondary should serve it. Which Route 53 policy fits?
- Failover routing with suitable health evaluation
- Use simple routing with no health association
- Use geolocation routing based only on client location
- Create only a secondary record without defining the primary failover relationship
Explanation
Correct Answer
A:Primary and secondary records express active/passive selection based on the configured health signal.
Incorrect Answers
B:It does not express a primary-to-secondary health-driven fallback decision.
C:Geography is a different routing criterion from the stated primary health requirement.
D:A record alone does not establish the requested health-driven failover design.
Question 324
An approved temporary exception permits one resource to remain noncompliant for seven days. What should automatic remediation consult?
- An unverified tag writable by any workload
- A permanent wildcard exemption for the account
- A controlled exception record with scope and expiration
- Only the initial event timestamp
Explanation
Correct Answer
C:A time-bounded exception prevents an intentional temporary state from being repeatedly reverted while ensuring later reevaluation.
Incorrect Answers
A:An attacker or application could exempt itself without authorization.
B:That exceeds the approved resource and time scope.
D:The timestamp does not prove approval or exception scope.
Question 325
A fleet command should stop dispatching new work after a small number of failures. Which control fits?
- Set only MaxConcurrency
- Increase the command timeout
- MaxErrors
- Use only a schedule for later executions
Explanation
Correct Answer
C:The threshold bounds additional dispatch after failures; already-running invocations may still complete.
Incorrect Answers
A:A concurrency ceiling bounds parallel work, not the cumulative failure threshold for further dispatch.
B:Waiting longer per target does not define how many failed targets should halt new work.
D:Invocation timing does not control failure-based dispatch within the current execution.
Question 326
Pods should scale out as their measured CPU demand rises. Which Kubernetes component directly adjusts replica count?
- Use only a node autoscaler
- Use only a Vertical Pod Autoscaler
- Horizontal Pod Autoscaler
- Set only a PodDisruptionBudget
Explanation
Correct Answer
C:HPA changes pod replicas based on configured metrics; nodes still need enough schedulable capacity.
Incorrect Answers
A:Adding nodes creates placement capacity but does not directly change the Deployment's desired replica count.
B:Vertical recommendations or changes concern resources per pod rather than directly providing horizontal replica scaling.
D:A disruption budget limits certain voluntary disruptions instead of adjusting replicas in response to CPU demand.
Question 327
An ECS CodeDeploy blue/green release needs testers to reach green tasks before production cutover. What configuration provides that path?
- Send test requests to the current production listener without identifying the candidate task set
- Increase desired task count without defining a separate candidate traffic route
- Perform validation only after shifting all production traffic
- A test listener routed to the replacement target group
Explanation
Correct Answer
D:The test listener exposes candidate tasks independently while the production listener continues serving the original task set.
Incorrect Answers
A:Those requests can exercise the existing version rather than the green replacement.
B:More tasks alone do not provide the required pre-cutover validation endpoint.
C:That exposes customers before the replacement has passed the requested test.
Question 328
A contractor needs temporary download access to one release package in S3 without an IAM account. Which mechanism fits?
- Make the entire artifact bucket public for the contractor's visit
- Issue a permanent administrator access key
- Create only an S3 DNS alias
- A short-lived presigned URL issued by an appropriately authorized identity
Explanation
Correct Answer
D:The URL delegates a bounded object request without making the whole bucket public.
Incorrect Answers
A:That broadens access beyond one object and does not provide a bounded per-link request.
B:The credential scope and lifetime exceed temporary access to one package.
C:A hostname does not authorize retrieval of a private object.
Question 329
A repository must reject accidental pushes that overwrite existing release tags. Which ECR control directly addresses this?
- Enable image scanning while keeping release tags mutable
- Enable lifecycle expiration as the only control
- Pin consumers to a tag but leave publishers free to overwrite it
- Enable tag immutability for release tags
Explanation
Correct Answer
D:The repository rejects conflicting tag replacement according to its configured immutability policy.
Incorrect Answers
A:Scanning assesses image vulnerabilities and does not block overwriting an existing tag.
B:Expiration removes eligible images; it does not impose write-once tag semantics.
C:The tag can still move to different image content without immutability enforcement.
Question 330
A customer-managed symmetric KMS key rotates its key material. What happens to data encrypted with prior material?
- KMS retains prior material needed to decrypt existing ciphertext
- Every S3 object is automatically rewritten by rotation
- All old ciphertext must immediately be discarded
- The key ARN must change on each rotation
Explanation
Correct Answer
A:Rotation changes material for new cryptographic use while the key can still decrypt older ciphertext; it does not bulk rewrite stored objects.
Incorrect Answers
B:Key rotation does not perform an object-by-object re-encryption job.
C:Existing encrypted data remains decryptable through the key.
D:Automatic material rotation preserves the logical key identity.