Question 360
After a Lambda VPC configuration change, execution reports an inability to create network interfaces. What should be checked?
- Only the log retention period
- Only the function handler name
- The execution role permissions required for Lambda VPC network interfaces
- Only API Gateway method caching
Explanation
Correct Answer
C:VPC attachment requires supported EC2 interface-management permissions; the error should be distinguished from application routing failures.
Incorrect Answers
A:Log storage settings do not authorize networking APIs.
B:Handler selection does not grant interface-creation authority.
D:Gateway caching cannot supply the missing EC2 permission.
Question 361
A low-volume candidate release fails, but aggregate error rate across the large stable fleet hides the regression. What should monitoring change?
- Evaluate only the stable fleet's aggregate error rate
- Increase stable-version traffic before assessing the candidate signal
- Use only deployment completion status
- Evaluate candidate-specific health alongside overall service health
Explanation
Correct Answer
D:Separating the new revision's signal prevents stable traffic from diluting its failures.
Incorrect Answers
A:The large healthy population can dilute failures in the smaller candidate release.
B:More healthy stable traffic can hide the candidate regression further.
C:Successful installation does not establish that the candidate handles runtime requests correctly.
Question 362
A large Auto Scaling instance refresh should pause after an initial batch so operators can inspect health. What feature fits?
- Use only a group scaling cooldown
- Replace the entire fleet in one step and inspect it afterward
- Instance refresh checkpoints and suitable warmup
- Use only target-group deregistration delay
Explanation
Correct Answer
C:Checkpoints stage replacement progress, while warmup accounts for the time new instances need before further replacement.
Incorrect Answers
A:Cooldown does not define the percentage checkpoints of an instance refresh rollout.
B:That loses the requested pause after a limited initial batch.
D:Connection draining does not establish staged refresh checkpoints.
Question 363
EC2 instances are tagged correctly but never process CodeDeploy lifecycle events. Which prerequisite should be checked on the hosts?
- Configure only an application target health check
- Attach the correct tags but omit the agent's S3 or service connectivity
- The installed and running CodeDeploy agent with required connectivity and instance permissions
- Increase the ALB timeout
Explanation
Correct Answer
C:The EC2 platform relies on the agent to retrieve revisions and execute deployment instructions.
Incorrect Answers
A:A probe can assess service readiness but cannot install or run the missing deployment agent.
B:Target selection does not supply the host-side retrieval and execution prerequisites.
D:Request handling settings do not start the CodeDeploy host agent.
Question 364
New project accounts need a repeatable governed baseline within an existing landing zone. Which workflow fits?
- One VPC per user in the management account
- One IAM user per project
- Independent root signups without enrollment
- AWS Control Tower Account Factory
Explanation
Correct Answer
D:Account provisioning integrates with landing-zone governance rather than creating isolated unmanaged accounts.
Incorrect Answers
A:Network separation does not replace account-level isolation.
B:Users do not provide separate AWS account boundaries.
C:Those accounts do not automatically inherit the landing zone's governance.
Question 365
An SQS-triggered Lambda batch has nine successful records and one failed record. How can the handler avoid retrying the nine successes?
- Return a list of successful identifiers as failures
- Throw an exception for the whole batch
- Delete the event-source mapping after processing
- Enable partial batch responses and return the failed message identifier
Explanation
Correct Answer
D:The event-source mapping can retry identified failures without making every successful record eligible again.
Incorrect Answers
A:Those identifiers would request retries for the wrong records.
B:A whole-batch failure ordinarily returns all records for retry.
C:Removing the mapping stops future processing rather than reporting record outcomes.
Question 366
A private service cannot be reached by public Route 53 endpoint checkers. How can failover use its health?
- Ask public Route 53 endpoint checkers to contact private RFC1918 addresses directly
- Increase DNS TTL as the only health-source change
- Publish a suitable private monitoring metric and use an alarm-based health check
- Make the health check always return healthy
Explanation
Correct Answer
C:Internal observation supplies a health signal without exposing the endpoint publicly.
Incorrect Answers
A:The public checker network cannot reach an arbitrary private endpoint without an appropriate supported monitoring design.
B:Caching duration does not create a signal about the private service's health.
D:A constant success signal cannot trigger failure-based routing when the private service fails.
Question 367
A pipeline deletes its temporary test environment immediately after a failing integration test. What should happen before cleanup?
- Keep only the pipeline's final failed status
- Leave every failed environment running indefinitely as the only evidence policy
- Capture diagnostic logs and test results as retained artifacts
- Delete test outputs before teardown to keep artifacts clean
Explanation
Correct Answer
C:Failure evidence must outlive disposable infrastructure so engineers can investigate without rerunning an altered environment.
Incorrect Answers
A:That identifies an unsuccessful action without preserving detailed test and environment evidence.
B:Indefinite resources create cost and exposure without a deliberate diagnostic retention design.
D:That removes the logs and assertions needed to diagnose the failure.
Question 368
A new deny policy might disrupt production accounts. What rollout process reduces organizational blast radius?
- Remove all CloudTrail logging first
- Attach it at the root immediately without testing
- Test only the JSON formatting
- Test in a representative isolated OU before wider attachment
Explanation
Correct Answer
D:Staged evaluation reveals denied dependencies before the policy affects the broader account hierarchy.
Incorrect Answers
A:Losing evidence makes unexpected denials harder to diagnose.
B:Every affected member account can experience unanticipated restrictions at once.
C:Valid syntax does not prove workloads retain required permissions.
Question 369
Hundreds of employees need centrally managed AWS access based on directory groups. Which pattern fits?
- Put workforce users into an EC2 instance profile
- Grant access through an S3 bucket ACL alone
- Create a shared IAM user for each department
- IAM Identity Center permission sets assigned to groups and accounts
Explanation
Correct Answer
D:Assignments provision federated account access without distributing a permanent IAM access key to each employee.
Incorrect Answers
A:Instance profiles associate roles with instances rather than employee directory sessions.
B:A bucket ACL cannot provision workforce access across AWS accounts.
C:Shared identities reduce attribution and require long-lived credential management.
Question 370
A test fails intermittently because it depends on wall-clock timing. What action improves release confidence without ignoring defects?
- Retry until one pass and discard failure history
- Make timing controllable and investigate failures before reinstating the gate
- Treat every test failure as success
- Delete all integration tests
Explanation
Correct Answer
B:Deterministic inputs remove incidental variability while preserving the behavior the test should verify.
Incorrect Answers
A:An eventual pass can conceal recurring faults and overstate confidence.
C:The gate would stop distinguishing defective changes from healthy ones.
D:Removing broad coverage sacrifices evidence beyond the unstable test itself.