Deployment, Provisioning, and Automation
Before applying an update to a CloudFormation stack, an administrator wants to preview exactly which resources will be modified or replaced. What should they use?
- AStackSets
- BA change setCorrect
- CA nested stack
- DDrift detection
Why: A change set previews the additions, modifications, and replacements a stack update would make before you execute it. Drift detection compares actual resources to the template, StackSets deploy across accounts and Regions, and nested stacks decompose templates.
Monitoring, Logging, and Remediation
An administrator needs per-minute CPU metrics from EC2 instances instead of the default interval. What should they enable?
- AAWS CloudTrail data events
- BDetailed monitoring on the instancesCorrect
- CA custom metric filter
- DThe CloudWatch agent for CPU
Why: Enabling detailed monitoring reports EC2 metrics every one minute instead of the default five-minute basic monitoring. The CloudWatch agent is needed for memory and disk metrics, not CPU frequency, metric filters extract metrics from logs, and CloudTrail records API activity.