Topic 1 Question 221
A company is migrating its Amazon EC2 based applications to use Instance Metadata Service Version 2 (IMDSv2). A security engineer needs to determine whether any of the EC2 instances are still using Instance Metadata Service Version 1 (IMDSv1).
What should the security engineer do to confirm that the IMDSv1 endpoint is no longer being used?
Configure logging on the Amazon CloudWatch agent for IMDSv1 as part of EC2 instance startup. Create a metric filter and a CloudWatch dashboard. Track the metric in the dashboard.
Create an Amazon CloudWatch dashboard. Verify that the EC2:MetadataNoToken metric is zero across all EC2 instances. Monitor the dashboard.
Create a security group that blocks access to HTTP for the IMDSv1 endpoint. Attach the security group to all EC2 instances.
Configure user data scripts for all EC2 instances to send logging information to AWS CloudTrail when IMDSV1 is used. Create a metric filter and an Amazon CloudWatch dashboard. Track the metric in the dashboard.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B
EC2:MetadataNoToken Metric: This metric indicates the number of requests to the instance metadata service that do not use a token, which is a characteristic of IMDSv1. If this metric is zero, it means that no requests are being made to the IMDSv1 endpoint. Amazon CloudWatch Dashboard: By creating a dashboard, the security engineer can easily monitor this metric across all EC2 instances in real-time. This method provides a straightforward and effective way to ensure that all instances have transitioned to using IMDSv2.
👍 1Pmktechno2024/12/29
シャッフルモード