Question 290
A custom metric is published with Service and Environment dimensions, but a query using only Service finds nothing. Why?
- Assume CloudWatch automatically aggregates every custom metric across omitted dimensions
- Change only the metric period
- The query selects a different metric identity
- Change only the statistic from Average to Sum
Explanation
Correct Answer
C:Custom metric dimensions identify distinct series; omit or aggregate dimensions only through supported explicit mechanisms.
Incorrect Answers
A:Custom metric queries generally need the published identity or an explicit aggregation mechanism.
B:Period selection does not select a different dimension combination.
D:The statistic applies after the correct metric identity is selected.
Question 291
An account leaves a baseline StackSet's target OU. Its deployed resources must remain but no longer be managed by that StackSet. Which setting fits?
- Enable retention on account removal
- Rename the OU
- Set removal behavior to delete stacks
- Disable resource tags
Explanation
Correct Answer
A:The stacks remain after removal rather than being deleted with their resources.
Incorrect Answers
B:Changing a name does not configure retention semantics.
C:That removes managed stacks instead of preserving the baseline resources.
D:Tags do not determine StackSet account-removal behavior.
Question 292
Application teams should deploy approved infrastructure bundles without freely selecting arbitrary templates. Which service supports that model?
- A CloudWatch log group
- A public bucket of unrelated example templates
- AWS Service Catalog products and portfolios with appropriate constraints
- An IAM user for every template file
Explanation
Correct Answer
C:Curated products expose approved provisioning options while constraints govern deployment behavior.
Incorrect Answers
A:Log storage cannot provide a governed infrastructure catalog.
B:Unrestricted examples do not establish an approved provisioning catalog.
D:User creation does not curate infrastructure products or their launch rules.
Question 293
The same binary must run in development and production with different endpoints. What packaging approach supports that?
- Edit the package manually on production hosts
- Use a shared production credential in the development package
- Compile production endpoints into a new binary after tests
- Keep environment configuration outside the binary and supply it at deployment or runtime
Explanation
Correct Answer
D:Separating configuration permits promotion of one tested package without recompilation for each environment.
Incorrect Answers
A:Undocumented mutations destroy reproducibility and integrity tracking.
B:Credential sharing increases exposure and does not provide safe configuration separation.
C:Rebuilding changes the delivered artifact and invalidates exact-package promotion.
Question 294
A pipeline runs expensive deployed-environment tests before quick unit tests. How should stages be arranged to reject simple defects sooner?
- Run unit tests before deploying an isolated integration environment
- Remove unit tests because integration tests exist
- Run only production smoke tests
- Execute all tests against shared production data
Explanation
Correct Answer
A:Cheap deterministic checks remove faulty revisions before provisioning and broader validation consume resources.
Incorrect Answers
B:Different test layers detect different defects; broader testing does not justify discarding fast checks.
C:Post-release detection cannot provide the earlier rejection required here.
D:Production coupling creates side effects and does not optimize early feedback.
Question 295
A predictable batch starts every weekday at 09:00 and needs capacity ready beforehand. What scaling mechanism fits?
- Wait for the batch error rate to rise before adding capacity
- Scheduled scaling before the known workload
- Use only a target-tracking policy and assume idle capacity will prewarm automatically
- Schedule a scale-in at the batch start time
Explanation
Correct Answer
B:Preprovisioning avoids waiting for reactive thresholds after the batch has already arrived.
Incorrect Answers
A:That reacts after the known workload starts rather than preparing capacity beforehand.
C:Reactive utilization need not rise before the workload arrives.
D:Removing capacity contradicts the known need for additional ready workers.
Question 296
Product consumers should launch approved infrastructure without receiving all underlying provisioning permissions. What constraint helps?
- A public-read bucket ACL
- A user-owned root access key
- A Service Catalog launch role constraint
- A product description naming an administrator
Explanation
Correct Answer
C:The product can be provisioned through a controlled role instead of granting consumers unrestricted infrastructure authority.
Incorrect Answers
A:Artifact readability does not delegate approved provisioning authority.
B:Root credentials bypass the intended limited consumer model.
D:Text cannot authorize service actions.
Question 297
A notification target needs only selected fields from a large EventBridge event. What feature fits?
- An input transformer or supported input selection
- Use only an event pattern with no target input selection
- Change only the target retry policy
- Create a separate event bus without configuring payload transformation
Explanation
Correct Answer
A:The rule can construct the target payload from selected event fields without changing the original event source.
Incorrect Answers
B:A pattern selects matching events but does not itself construct a smaller target payload.
C:Retry settings change delivery attempts rather than JSON field selection.
D:A different bus does not automatically reduce the fields sent to the target.
Question 298
A web tier runs two instances in one Availability Zone. What removes that zonal single point of failure?
- Add more instances to the existing single-AZ subnet
- Distribute instances across multiple AZs behind a suitable load balancer
- Use only an ALB while keeping all application targets in one AZ
- Increase instance storage capacity
Explanation
Correct Answer
B:Redundant capacity in separate zones can continue serving when one zone fails.
Incorrect Answers
A:More capacity within one AZ retains the same zonal failure exposure.
C:A redundant load balancer cannot replace application capacity lost with the target AZ.
D:A larger disk does not distribute serving resources across zones.
Question 299
Images must be available in a second Region without every build manually pushing twice. What should be configured?
- ECR cross-Region replication for the required repositories
- A Route 53 latency record for ECR
- A second image tag in the source repository
- An S3 replication rule on the pipeline bucket only
Explanation
Correct Answer
A:Registry replication distributes matching pushed images to configured destinations, with destination access and policy prerequisites.
Incorrect Answers
B:DNS routing cannot copy image manifests and layers between registries.
C:Additional tags in one Region do not create regional image copies.
D:Pipeline artifact replication does not replicate ECR registry images.
Question 300
One template selects a fixed AMI mapping by Region without user input. Which intrinsic design fits?
- A Mappings section with Fn::FindInMap and the Region pseudo parameter
- Use only an operator-supplied AMI parameter
- Use Fn::GetAtt on an AMI ID string
- Use DependsOn with the Region pseudo parameter
Explanation
Correct Answer
A:The template can look up known regional values deterministically from its declared mapping.
Incorrect Answers
B:That requires external input instead of performing the declared fixed regional lookup.
C:GetAtt retrieves a resource attribute rather than selecting a row in a fixed Region mapping.
D:Dependency ordering is not a mechanism for choosing an AMI value.