Question 250
A malformed runtime configuration previously caused outages. What should an AppConfig deployment include before rollout?
- A policy allowing every developer to bypass checks
- Configuration validators that reject invalid content
- A shorter log retention period
- Only a longer configuration name
Explanation
Correct Answer
B:Schema or function-based validation can prevent bad configuration from entering a deployment.
Incorrect Answers
A:Bypass authority defeats the prevention requirement.
C:Removing diagnostic history cannot make configuration valid.
D:Naming conventions do not validate content structure or semantics.
Question 251
Every approved revision must reach a shared test environment in arrival order without overlapping releases. Which CodePipeline execution mode fits?
- Independent pipelines without coordination
- PARALLEL
- SUPERSEDED
- QUEUED
Explanation
Correct Answer
D:Executions wait their turn rather than overtaking one another, preserving ordered access to shared deployment resources.
Incorrect Answers
A:Separate pipelines have no common execution queue protecting the shared environment.
B:Concurrent executions can compete for the same environment and finish out of order.
C:Newer work can supersede waiting revisions, violating the requirement to process each one.
Question 252
A remediation step waits for a resource that never becomes healthy. How should the workflow avoid indefinite execution?
- Declare success immediately after the first poll
- Set bounded waits, explicit timeout handling, and escalation
- Retry the whole workflow every millisecond
- Poll forever without a failure path
Explanation
Correct Answer
B:A finite convergence deadline makes failed recovery visible and routes unresolved incidents for attention.
Incorrect Answers
A:The resource has not met the recovery condition.
C:That adds load and overlapping changes without a bounded resolution.
D:An unbounded wait can leave the incident silently unresolved.
Question 253
An image embeds SSH keys copied from a developer workstation. What correction removes that exposure from future images?
- Delete the keys only from running containers
- Rename the private-key files
- Compress the image more aggressively
- Build from controlled inputs and retrieve runtime credentials through roles or secret services
Explanation
Correct Answer
D:Images should contain application dependencies rather than personal long-lived credentials inherited from workstations.
Incorrect Answers
A:The published layers can still contain recoverable copies of the embedded files.
B:The credential remains usable regardless of its file name.
C:Compression does not remove or protect embedded credentials.
Question 254
Investigators need the sequence of a resource's recorded configuration changes. Which service view fits?
- Only the current IAM policy editor
- Only the current source branch name
- AWS Config resource configuration history
- Only a CPU graph
Explanation
Correct Answer
C:Recorded configuration items show state over time for covered resources.
Incorrect Answers
A:Present state does not establish the historical resource sequence.
B:Repository references may not reflect actual resource changes.
D:Performance trends do not enumerate configuration properties.
Question 255
A fleet must require token-based EC2 metadata access. Which instance setting meets that requirement?
- Set HttpEndpoint to enabled while leaving tokens optional
- Rotate the instance key pair
- Set HttpTokens to required and verify application compatibility
- Change only the instance Name tag
Explanation
Correct Answer
C:IMDSv2 uses session tokens; requiring them disables tokenless metadata requests.
Incorrect Answers
A:An enabled endpoint alone still permits the optional access mode.
B:SSH authentication does not determine metadata token requirements.
D:Tags do not enforce the metadata request protocol.
Question 256
An encrypted EBS snapshot must be shared with another account. It uses the default AWS-managed EBS key. What change is needed?
- Share only the snapshot description
- Copy it using a customer-managed key that supports the intended sharing permissions
- Edit the AWS-managed key policy to allow everyone
- Make the encrypted snapshot public
Explanation
Correct Answer
B:Snapshots encrypted under the default AWS-managed EBS key cannot be shared through arbitrary key-policy changes.
Incorrect Answers
A:Descriptions do not grant access to encrypted blocks.
C:Customers cannot manage that key policy as if it were a customer-managed key.
D:Encrypted snapshots are not publicly shareable in that manner.
Question 257
An EKS Deployment should keep all desired replicas available while replacing pods, and capacity exists for one extra pod. Which rollout settings fit?
- Use only an imagePullPolicy change
- maxUnavailable equal to all replicas and maxSurge 0
- Set replicas to zero during the update
- maxUnavailable 0 and maxSurge 1
Explanation
Correct Answer
D:The rollout can start one replacement before removing a healthy old pod, subject to readiness and scheduling.
Incorrect Answers
A:Image retrieval policy does not set rollout availability bounds.
B:That permits removing all old pods before replacement capacity becomes ready.
C:Scaling to zero intentionally removes availability.
Question 258
A reusable template should create a NAT gateway only for production environments. What should it use?
- An Output that says production
- A DeletionPolicy of Snapshot
- A template Condition attached to the NAT resource
- An IAM role description
Explanation
Correct Answer
C:Conditions determine whether supported resources are created based on evaluated input values.
Incorrect Answers
A:Displaying a value does not condition resource creation.
B:Deletion behavior does not select which environments create a NAT gateway.
D:Descriptions cannot control the template's resource graph.
Question 259
An organization uses consolidated billing only but needs SCP governance. What prerequisite is missing?
- Create more billing tags
- Enable all features and the applicable policy type
- Enable S3 website hosting
- Change every member account's password
Explanation
Correct Answer
B:SCP functionality requires the organization feature model that supports policy-based governance.
Incorrect Answers
A:Cost metadata does not activate organizational guardrails.
C:Website configuration has no connection to organization policy support.
D:Credential rotation cannot enable organization policy features.
Question 260
Archived incident events must be replayed for analytics without paging on-call staff again. What design fits?
- Route replayed events to a controlled analytics path and guard notification side effects
- Delete all notification subscriptions permanently
- Send all replayed events unchanged to every live target
- Assume an event ID guarantees exactly-once side effects
Explanation
Correct Answer
A:Historical rebuilding and live escalation need explicit routing or consumer checks so replay does not duplicate real-world actions.
Incorrect Answers
B:That prevents future legitimate incident escalation.
C:Existing paging targets could issue duplicate alerts.
D:Consumers still require durable deduplication and side-effect controls.