Question 200
An S3-backed source must distinguish successive uploads at the same key for reliable revision tracking. What bucket feature is required for that source setup?
- S3 Versioning
- Bucket website hosting
- S3 Transfer Acceleration
- A default object ACL
Explanation
Correct Answer
A:Version identifiers distinguish object revisions even when their key remains unchanged.
Incorrect Answers
B:Website endpoints do not supply source revision history.
C:Accelerated transfer changes upload paths, not object revision identity.
D:ACL defaults cannot create distinct versions of repeated uploads.
Question 201
A restored RDS database has a new endpoint. The recovery application still retrieves a secret whose host field names the original database, and that database is intentionally unreachable. What should the recovery workflow change?
- Increase only the restored database storage allocation
- Update the recovery-specific connection configuration to the restored endpoint and verify credentials and access
- Assume the original database DNS endpoint automatically becomes the restored instance endpoint
- Repeatedly restart the application without changing its connection configuration
Explanation
Correct Answer
B:Restoring the database does not automatically rewrite every application secret or configuration reference. Validate the new endpoint before routing recovery traffic.
Incorrect Answers
A:More storage does not update the hostname the application uses for its connection.
C:A separately restored database has its own endpoint; the application must use an intentionally managed connection reference.
D:Each restart retrieves the same old host value and continues targeting the unavailable database.
Question 202
An IAM user should perform a sensitive API operation only when using an MFA-authenticated temporary session. What policy requirement fits?
- Require the appropriate MFA context condition for that access path
- Check only the source resource's creation time
- Require the user name to contain MFA
- Allow the action merely because an MFA device is registered
Explanation
Correct Answer
A:The policy can test MFA presence for supported IAM-user temporary sessions; federation needs its own identity-context design.
Incorrect Answers
B:Resource age does not establish the caller's authentication context.
C:A naming convention is not evidence of authentication factors.
D:Enrollment does not prove the current request used MFA.
Question 203
A supported ElastiCache replication group needs automatic promotion after primary failure. Which configuration is relevant?
- Use a primary with no replica
- Place every replica in the primary's Availability Zone
- Replicas across AZs with automatic failover and suitable Multi-AZ settings
- Configure only a longer cache-entry TTL
Explanation
Correct Answer
C:A replica can become primary when the configured failover mechanism detects primary failure.
Incorrect Answers
A:There is no replica available to promote after the primary fails.
B:Replicas in the same zone do not remove that zone's shared failure exposure.
D:Data expiration does not establish automatic replica promotion.
Question 204
A provisioning workflow must release a reservation when a later step fails permanently. What control-flow mechanism fits?
- An application DNS alias
- A larger success payload
- A Catch path to a compensating cleanup task
- A retry without any cleanup path
Explanation
Correct Answer
C:Explicit error handling can reverse earlier side effects when automatic transaction rollback is unavailable.
Incorrect Answers
A:Routing names do not implement workflow compensation.
B:Output size does not undo prior external operations.
D:Repeated failure can leave the reservation allocated indefinitely.
Question 205
Many requests simultaneously rebuild an expired popular cache entry and overload the database. What pattern helps?
- Request coalescing or controlled refresh with expiry jitter
- Expire all popular keys at the same moment
- Disable the cache during the peak
- Allow every caller to rebuild the same key independently
Explanation
Correct Answer
A:Coordinating refreshes avoids a synchronized surge of identical recomputation.
Incorrect Answers
B:Synchronized expiration can maximize the concurrent rebuild burst.
C:That sends all requests to the database instead of controlling refresh pressure.
D:Duplicate concurrent rebuilds are the source of the stampede.
Question 206
A provisioning request may be submitted twice after a network timeout. What design avoids duplicate resources?
- Assume timeouts prove no resource was created
- Generate a new request identity for every retry
- Disable all response logging
- Use a supported idempotency token or durable request-state check
Explanation
Correct Answer
D:The operation must recognize the same logical request instead of treating every retry as new work.
Incorrect Answers
A:The server may have completed work before the client lost the response.
B:Different identities defeat request deduplication.
C:Less visibility does not prevent duplicated side effects.
Question 207
A KMS policy should allow decrypt only when a nonsecret application context matches the request. Which mechanism fits?
- Assume context replaces every key permission
- Put the secret plaintext in the encryption context
- Use the key description as the per-request context
- Require the intended encryption-context values in applicable KMS conditions
Explanation
Correct Answer
D:Encryption context is authenticated additional data for supported symmetric operations and must match for decryption; it is not a place for secrets.
Incorrect Answers
A:The caller still needs appropriate authorization to use the key.
B:Context can appear in logs and is not confidential secret storage.
C:A description is metadata rather than authenticated request context.
Question 208
Application instances should accept service traffic only from their ALB. Which inbound security-group source fits?
- Remove the target group's health-check configuration
- Allow only the ALB's current public IP addresses permanently
- Reference the ALB's security group on the application port
- Allow 0.0.0.0/0 on every application port
Explanation
Correct Answer
C:The reference permits traffic associated with the load balancer's group rather than exposing the target port to all addresses.
Incorrect Answers
A:Health-check removal does not restrict network sources.
B:Load-balancer addressing can change and is not the intended group-based control.
D:That permits a much broader source set than the load balancer.
Question 209
A pipeline role is permitted to call sts:AssumeRole on a target deployment role, but assumption is denied. Which target-side configuration is essential?
- A source repository webhook
- A trust policy accepting the pipeline identity
- An identity policy on the target allowing S3 reads only
- An instance profile containing the pipeline role
Explanation
Correct Answer
B:Cross-account role assumption requires authorization in the caller and a compatible trust relationship on the target.
Incorrect Answers
A:Triggering a pipeline cannot authorize a role session.
C:Resource access after assumption does not determine who may assume the role.
D:Instance profiles deliver EC2 credentials and do not establish cross-account trust.
Question 210
An external review system must tell a workflow when a long-running task finishes. Which pattern fits?
- A task that returns success before the external work starts
- A static output containing approved
- A supported callback task using a task token
- Polling within one Lambda invocation indefinitely
Explanation
Correct Answer
C:The external system returns the token through the completion API, allowing the waiting workflow to resume.
Incorrect Answers
A:Premature success loses coordination with the real outcome.
B:Fixed text is not evidence that the external review completed.
D:Long-lived waiting exceeds function limits and consumes execution resources.