Question 40
An investigation must link a deployment change, the AWS caller, and the resulting application failures. What evidence model fits?
- Assume any event in the same account caused the outage
- Retain only average monthly latency
- Correlate deployment IDs, CloudTrail identity and timestamps, and application request or trace identifiers
- Use only the final incident ticket title
Explanation
Correct Answer
C:Shared identifiers and synchronized time help reconstruct causality across control-plane and application evidence.
Incorrect Answers
A:Account co-location alone does not establish a causal relationship.
B:Aggregation hides the detailed timing and request context needed.
D:A title cannot reconstruct the individual actions and failures.
Question 41
A pull request updates a third-party library. Functional tests pass, but policy requires checking known dependency vulnerabilities before merge. What should be added?
- A dependency security scan with a defined failure policy
- Only a production CPU alarm
- A repository size limit
- A deployment approval without scan evidence
Explanation
Correct Answer
A:Functional correctness and vulnerability exposure are separate dimensions, so both need explicit checks.
Incorrect Answers
B:Runtime utilization does not inventory vulnerable package versions.
C:File size has no reliable relationship to known library vulnerabilities.
D:Human approval alone cannot supply the required vulnerability assessment.
Question 42
A deployment action receives source files but requires a compiled distribution directory. Which wiring change is needed?
- Run a repository permission audit only
- Increase source polling frequency
- Use the build action's packaged output as the deployment input
- Rename the source artifact to BuildOutput
Explanation
Correct Answer
C:The deployment must consume the generated distribution, not the earlier uncompiled source artifact.
Incorrect Answers
A:Permissions review does not correct the artifact dependency graph.
B:More frequent revisions do not compile missing output files.
D:A label change cannot generate compiled application contents.
Question 43
A source account must send matching logs to a central account's supported stream destination. What authorization is needed?
- Grant only source-account IAM permissions with no receiving destination policy
- Share a destination stream ARN without configuring its delivery role
- Make the log dashboard public as the delivery authorization
- Compatible sender permissions and destination resource policy with delivery authority
Explanation
Correct Answer
D:Cross-account delivery requires the source and destination sides to permit the configured path.
Incorrect Answers
A:The receiving side must authorize the cross-account path; source permissions alone cannot grant access in another account.
B:An identifier locates the destination but does not authorize the service to write records.
C:Dashboard viewing access does not grant permission to subscribe and deliver log events.
Question 44
A dependency cache occasionally returns stale generated binaries from another branch. What is the best correction?
- Treat every cached binary as approved
- Disable all test stages when cache hits
- Cache safe dependencies with keys tied to relevant inputs, not unvalidated release outputs
- Use a single constant key for every branch
Explanation
Correct Answer
C:Cache identity must reflect dependency changes; final artifacts should be produced and validated for the current execution.
Incorrect Answers
A:Cached presence is not evidence that the file belongs to the current revision.
B:A cache hit does not prove correctness or compatibility.
D:Shared unqualified keys preserve the collision between unrelated inputs.
Question 45
A network stack exports a subnet ID that another stack imports. Why can the producer's export not simply be removed?
- Only the producer's local template file matters
- Importing stacks depend on the exported value
- Exports are immutable even when unused
- Subnet names are globally reserved
Explanation
Correct Answer
B:Cross-stack references must be removed or migrated in consumers before the referenced export can be deleted or changed.
Incorrect Answers
A:The service tracks references across stacks, not merely local files.
C:Unused exports can be changed; the active consumer dependency is the important restriction.
D:Name scope is unrelated to CloudFormation import dependencies.
Question 46
A pod remains Pending despite free CPU, and scheduler events report an untolerated taint. What resolves this if the workload belongs on those nodes?
- Add the appropriate toleration while preserving intended placement constraints
- Scale an unrelated deployment down
- Increase the container's CPU limit only
- Restart CoreDNS as the first fix
Explanation
Correct Answer
A:Taints repel pods unless tolerated; available CPU cannot override that scheduling restriction.
Incorrect Answers
B:Freeing more capacity leaves the explicit taint restriction in place.
C:CPU limits do not tolerate node taints.
D:DNS service health does not change the scheduler's taint decision.
Question 47
An application needs object copies in another Region for regional recovery. What should it configure?
- Enable versioning only on the source bucket
- S3 cross-Region replication with required versioning and permissions
- Create a second bucket without a replication configuration
- Enable S3 Transfer Acceleration
Explanation
Correct Answer
B:Replication creates destination-region copies; validate encryption access and recovery requirements.
Incorrect Answers
A:Versioning preserves revisions locally but does not create a replication destination in another Region.
C:Two independent buckets do not automatically copy application objects between them.
D:Acceleration changes transfer routing rather than maintaining a managed regional recovery copy.
Question 48
An Auto Scaling activity reports that instances cannot launch after a new encrypted AMI is selected. Which evidence should guide diagnosis?
- Only the group tag capitalization
- Only the ALB access logs
- The activity error and permissions for the AMI, snapshots, and encryption key
- Only the instance user-data application logs
Explanation
Correct Answer
C:Encrypted-image launches require access to underlying resources; the actual error distinguishes authorization from capacity problems.
Incorrect Answers
A:Tag spelling does not by itself explain encrypted-volume authorization.
B:No target exists yet to generate application traffic evidence.
D:An instance that never launches cannot run its startup script.
Question 49
A team wants every application host to originate from an approved image rather than years of configuration changes. Which rollout model fits?
- Run configuration scripts indefinitely on the original hosts without rebuilding images
- Replace instances using a versioned launch template and baked AMI
- Pin only the application package while allowing every host to retain its existing OS state
- Create AMIs for documentation but keep deployment limited to SSH edits
Explanation
Correct Answer
B:Fresh instances converge from a known image instead of accumulating manual mutations.
Incorrect Answers
A:Repeated in-place changes retain the accumulation of host mutations the requirement is intended to remove.
C:Package pinning does not replace years of divergent operating-system configuration.
D:An unused image does not make the actual running fleet originate from approved immutable releases.
Question 50
An EC2 CodeDeploy release fails during ApplicationStart. Where should the engineer look first?
- Only the source repository's star count
- Only the load balancer's certificate expiration
- Deployment lifecycle logs and the hook script's exit status on the target
- Only the total bucket size
Explanation
Correct Answer
C:These identify the failing phase and command; subsequent configuration changes should follow the actual script error.
Incorrect Answers
A:Repository popularity provides no deployment execution evidence.
B:A certificate can affect traffic but does not explain a reported local hook exit by itself.
D:Artifact storage volume does not identify the failing startup command.