Question 170
A team wants CloudFormation provisioning to use a controlled identity instead of each operator's broad permissions. What should it configure?
- A public S3 object ACL
- An application EC2 key pair
- A least-privilege CloudFormation service role
- A repository branch tag
Explanation
Correct Answer
C:The service assumes this role for stack operations; control who may pass it and operate stacks that use it.
Incorrect Answers
A:Public artifact access cannot scope stack execution privileges.
B:SSH keys authorize host login, not CloudFormation resource provisioning.
D:Version-control metadata does not establish an AWS service identity.
Question 171
A service requires its defined service-linked role, but an SCP prevents that role's creation. What should administrators evaluate?
- Whether narrowly permitting the required service-linked-role creation is consistent with governance
- Change only the resource's display label
- Assume every service-linked role can be replaced by any developer role
- Disable all organization policies permanently
Explanation
Correct Answer
A:The service may need its dedicated role; adjust the specific creation restriction rather than grant unrelated broad access.
Incorrect Answers
B:Labels do not satisfy the service's role prerequisite.
C:Services can require their specific trust and permission design.
D:That removes unrelated guardrails beyond the diagnosed requirement.
Question 172
Rapidly scaling functions open too many relational database connections. Which managed component can help pool connections?
- Increase Lambda reserved concurrency to allow more simultaneous connections
- Add a database read replica and leave all connections pointed at the writer
- RDS Proxy for a supported database and authentication setup
- Set a longer DNS TTL on the database endpoint
Explanation
Correct Answer
C:Pooling decouples many application connections from a smaller backend connection set.
Incorrect Answers
A:A higher ceiling can worsen connection pressure instead of pooling it.
B:An unused replica does not consolidate the writer's client connection load.
D:Name caching does not provide a connection pool between functions and the database.
Question 173
A recovery plan permits losing at most five minutes of acknowledged business data. Which objective does this describe?
- Recovery time objective
- Backup retention period
- Recovery point objective
- Mean time to repair
Explanation
Correct Answer
C:RPO bounds acceptable data loss measured in time, so replication and backup freshness must support it.
Incorrect Answers
A:RTO specifies the restoration duration objective rather than the permitted data loss.
B:Retention describes how long backups are kept, not the freshness required at recovery.
D:Repair duration is a time-to-service measure and does not specify the acceptable loss of acknowledged records.
Question 174
A private registry password is currently committed in buildspec.yml. How should CodeBuild retrieve it without keeping plaintext in source control?
- Print the password before docker login
- Move the password into a source-code comment
- Base64-encode the password in the repository
- Reference a Secrets Manager value and authorize the build role
Explanation
Correct Answer
D:Runtime retrieval keeps the secret outside the repository; rotation and access control can be managed separately.
Incorrect Answers
A:Logging credentials increases exposure and is unnecessary for authentication.
B:Comments remain part of the repository and its history.
C:Encoding is reversible and provides no secret access boundary.
Question 175
Errors begin immediately after a release, but the dashboard lacks change context. What improves analysis?
- Annotate or correlate deployment events with operational metrics
- Remove release markers to simplify the operational dashboard
- Treat the newest deployment timestamp as proof of root cause
- Graph only daily averages of the error count
Explanation
Correct Answer
A:Time-aligned change evidence helps evaluate whether the release preceded the regression.
Incorrect Answers
B:That removes change context needed to compare the error spike with deployments.
C:Temporal proximity is useful evidence but does not establish causality without investigation.
D:Coarse aggregation can hide the release boundary and its immediate effect.
Question 176
Blue and green web fleets share a session store. Green changes the stored session schema, and blue must remain a viable rollback target during the bake period. Which release design preserves that rollback path?
- Use a session schema and serialization strategy readable by both versions during the overlap
- Write the new schema immediately and assume sharing the store guarantees compatibility
- Delete all blue instances as soon as green writes its first session
- Rely on target-group deregistration delay to convert stored sessions
Explanation
Correct Answer
A:Sharing state storage does not guarantee that retained code can interpret new records. A compatible transitional schema preserves user sessions when traffic returns to blue.
Incorrect Answers
B:A shared store solves location, not format compatibility. The older application can still fail when it reads records written with an incompatible new schema.
C:Deleting blue removes the required rollback environment before the bake period has established release health.
D:Deregistration delay drains network requests. It does not transform persisted session data between application schemas.
Question 177
An ALB reports failed target health checks after deployment. The application listens on 8080, while health checks use 80. What is the direct correction?
- Align the configured health-check port with the intended listening endpoint
- Rotate the ALB access-log bucket
- Increase DNS TTL
- Increase deregistration delay as the only fix
Explanation
Correct Answer
A:A check sent to an unused port cannot establish application health even when the process runs correctly.
Incorrect Answers
B:Log destination changes do not reach the application listener.
C:Caching does not change which port the health probe contacts.
D:Drain timing does not repair the failed probe destination.
Question 178
A one-time historical investigation needs to search stored CloudWatch logs immediately. Which tool fits better than waiting for bulk export?
- Create a metric filter and expect historical matching logs to be republished
- Wait for a recurring bulk export as the only search option
- Use only a CloudWatch metric stream
- CloudWatch Logs Insights
Explanation
Correct Answer
D:Interactive queries analyze retained events directly without first building an export pipeline.
Incorrect Answers
A:Metric filters are not a retroactive query engine for the stored investigation interval.
B:An export can support later analysis, but it adds unnecessary delay for an immediate supported log query.
C:Metric streams deliver metric updates rather than search arbitrary historical log content.
Question 179
AWS Health reports maintenance affecting specific EC2 resources. A response must target only listed instances. What should the event workflow use?
- The public status page as the only inventory
- Only the event publication timestamp
- Every instance in the Region
- The affected resource identifiers and event scope
Explanation
Correct Answer
D:Account-specific Health events identify affected resources; checking those details prevents unrelated fleet changes.
Incorrect Answers
A:Public summaries do not replace account-specific resource information.
B:Time identifies freshness but not affected instances.
C:Regional scope alone is broader than the affected-resource list.
Question 180
An API call to correct an unhealthy service returns success, but the service remains unusable. What should define remediation success?
- Treat HTTP success as proof of end-user recovery
- Verify the desired resource state and application health after the change
- Remove the service health check
- Check only that the runbook started
Explanation
Correct Answer
B:API acceptance does not prove convergence or business recovery; the workflow should wait and check bounded outcomes.
Incorrect Answers
A:The operation may be asynchronous or the application may still fail.
C:Removing measurement hides continued failure.
D:Starting an execution says nothing about its result.