Question 60
A database slows while active connections approach its limit. What evidence should guide remediation?
- Connection metrics plus query and application connection behavior
- Increase max_connections without examining per-connection cost or query behavior
- Add read replicas before determining whether the bottleneck is eligible read traffic
- Restart the database repeatedly without inspecting client pools
Explanation
Correct Answer
A:The bottleneck may involve pooling, leaks, or long-running work rather than CPU alone.
Incorrect Answers
B:A larger ceiling can move pressure to memory or CPU and does not identify leaked or inefficient connections.
C:Replicas help suitable reads, but connection exhaustion may arise from leaks, long transactions, or write demand.
D:Restarts can temporarily clear sessions but leave the cause of connection growth unchanged.
Question 61
Applications log full access tokens in error messages. What should be corrected at the source?
- Encrypt the log group and leave raw tokens in every message
- Restrict only the dashboard while leaving raw-log access broadly granted
- Reduce retention but continue logging complete tokens
- Remove or redact sensitive fields before logging
Explanation
Correct Answer
D:Preventing secret emission reduces exposure across downstream storage and analytics systems.
Incorrect Answers
A:At-rest encryption does not prevent authorized log readers from obtaining the logged credentials.
B:Dashboard access is separate from access to the underlying sensitive events.
C:A shorter exposure window still leaks newly generated credentials and does not prevent the original disclosure.
Question 62
A Lambda deployment begins failing with an import error before the handler runs. What should be inspected?
- Only the API Gateway response mapping
- Package layout, runtime compatibility, and required dependencies
- Only the function's successful business transactions
- Only the DLQ retention policy
Explanation
Correct Answer
B:Initialization loads the code and libraries before handler invocation; missing or incompatible modules can fail at this stage.
Incorrect Answers
A:Response transformation happens after invocation and cannot supply a missing module.
C:The handler never starts, so business-level success cannot explain initialization.
D:Retention affects failed-event storage rather than code import.
Question 63
A production event rule invokes a remediation document that changes frequently. How can operators make releases reproducible?
- Pin the approved document version and update it through change control
- Store only the document display name in a ticket
- Always invoke whichever version was edited last
- Copy the runbook title into a CloudWatch alarm
Explanation
Correct Answer
A:Version selection prevents unreviewed document edits from silently changing the production response.
Incorrect Answers
B:A name without version does not identify the executed content.
C:That couples production behavior to ongoing development.
D:Alarm text does not select an Automation document version.
Question 64
Operations needs threat detection for suspicious activity such as anomalous credential use. Which service is the best fit?
- An S3 lifecycle policy
- Amazon GuardDuty
- Amazon Inspector as the primary behavioral threat detector
- CloudFormation template validation alone
Explanation
Correct Answer
B:GuardDuty analyzes supported telemetry for threat findings; investigation should assess evidence and severity rather than treat every finding as proven compromise.
Incorrect Answers
A:Lifecycle rules manage object transitions and expiry rather than threat detection.
C:Inspector primarily assesses supported workloads for vulnerabilities, a different objective.
D:Template syntax checks do not analyze live suspicious account behavior.
Question 65
A metric has a normal daily cycle that repeatedly crosses a fixed threshold. What can better identify unusual deviations?
- Raise the fixed threshold above the busiest normal interval
- Evaluate only a monthly average
- Disable alarms during all daily peaks
- An anomaly detection model and alarm suited to the metric's pattern
Explanation
Correct Answer
D:Expected bands can account for recurring behavior, but still require validation against operational goals.
Incorrect Answers
A:A single high threshold may hide important deviations during normally quiet periods.
B:Long aggregation can conceal short abnormal changes within the daily demand cycle.
C:Scheduled silence can hide real failures that occur during those same periods.
Question 66
A team manually edits production pipeline actions and loses track of approved changes. Which practice makes the pipeline configuration reviewable and reproducible?
- Keep screenshots of the console only
- Define the pipeline as version-controlled infrastructure code
- Permit only one browser session
- Store only application source
Explanation
Correct Answer
B:Reviewed definitions capture action wiring, roles, and artifact stores and can recreate the delivery system.
Incorrect Answers
A:Images record appearances but cannot reliably recreate the configuration or expose complete diffs.
C:Session count does not establish configuration version history.
D:Application history alone omits changes to the mechanism that builds and deploys it.
Question 67
A private EC2 instance has no inbound SSH access. What supports Systems Manager management without opening port 22?
- Open inbound port 22 and rely on an EC2 key pair
- SSM Agent, an appropriate instance role, and required outbound service connectivity
- Attach an instance role but provide no path to the required service endpoints
- Create private endpoints but remove the node's Systems Manager permissions
Explanation
Correct Answer
B:The agent communicates with Systems Manager using authorized outbound paths, including suitable endpoints.
Incorrect Answers
A:That changes the stated no-SSH requirement and does not establish Systems Manager agent connectivity.
C:Authorization is insufficient when the agent cannot reach the management service.
D:Connectivity alone cannot register and manage a node without the required identity permissions.
Question 68
A pipeline stage contains a build and its dependent security scan. The scan must consume the completed build output. How should runOrder be configured?
- Place the scan first
- Give both actions the same runOrder
- Use identical action names
- Give the build a lower runOrder than the scan
Explanation
Correct Answer
D:Actions with increasing run orders execute sequentially, so the artifact exists before scanning starts.
Incorrect Answers
A:A scan cannot inspect an output that its producer has not generated.
B:Equal values allow parallel execution and do not establish the required dependency.
C:Names identify actions; they do not impose execution ordering.
Question 69
Events for each customer must be processed serially, while different customers can progress concurrently. What FIFO queue setting supports this?
- Use one common group for every customer
- Use the customer identifier as MessageGroupId
- Use only a short visibility timeout
- Assign a different random group to every message
Explanation
Correct Answer
B:Ordering is enforced within a group while different groups can be processed in parallel.
Incorrect Answers
A:That serializes unrelated customers and constrains concurrency.
C:Visibility affects redelivery rather than defining ordered groups.
D:Events for the same customer would no longer share an ordering boundary.
Question 70
A team wants managed vulnerability findings for supported EC2 and ECR workloads. Which service fits?
- Route 53 health checks
- IAM credential reports
- Amazon Inspector
- AWS Health as a package vulnerability scanner
Explanation
Correct Answer
C:Inspector evaluates supported workload surfaces for vulnerabilities; coverage and scanning configuration determine what is assessed.
Incorrect Answers
A:Endpoint availability checks do not inspect installed package vulnerabilities.
B:Credential metadata does not inventory container package vulnerabilities.
D:Health reports service and account-related operational events rather than package CVE scans.