A SysOps administrator is updating an Amazon EC2 Auto Scaling group (ASG) to launch instances with a new IAM role that provides access to an Amazon DynamoDB table. When the administrator attempts to update the ASG to use a new launch template version containing the new IAM role, the operation fails with a permission error stating that the user is not authorized to perform `iam:PassRole`.
Additionally, the application hosted on the ASG experiences sudden spikes in CPU utilization. The administrator notices that the dynamic scaling policy is slow to respond because the CPU utilization metric is only evaluated at 5-minute intervals.
Which two actions should the SysOps administrator take to resolve the launch template update failure and reduce the scaling response time? (Select TWO.)
- Attach an IAM policy to the administrator's IAM identity that grants the `iam:PassRole` permission for the Amazon Resource Name (ARN) of the new IAM role.Answer
- Enable detailed monitoring in the launch template, and configure the CloudWatch alarm used by the scaling policy to have an evaluation period of 60 seconds.Answer
- CModify the trust policy of the new IAM role to allow the Auto Scaling service principal (`autoscaling.amazonaws.com`) to assume the role.
- DCreate a CloudWatch metric filter for CPU utilization, and set the metric evaluation period to 60 seconds.
- EDecrease the default cooldown period of the Auto Scaling group to 0 seconds to allow the alarm to evaluate metrics more frequently.