Your company has a set of EC2 resources hosted on AWS.
Your new IT procedures state that AWS EC2 Instances must be of a particular instance type.
Which of the following can be used to get the list of EC2 Instances which currently don't match the instance type specified in the new IT procedures?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - B.
In AWS Config, you can create a rule which can be used to check if EC2 Instances follow a particular instance type.
Below is a snapshot of the output of a rule to check if EC2 instances match the type of t2.micro.
For more information on AWS Config, please visit the below URL:
https://aws.amazon.com/config/The correct answer to this question is B. Use AWS Config to create a rule to check the EC2 Instance type.
Explanation: AWS Config is a fully managed service that provides a detailed view of the configuration of AWS resources. AWS Config allows users to create rules that can be used to audit the compliance of AWS resources. The rules in AWS Config are based on AWS managed rules, custom rules, and AWS Lambda-based custom rules. Using AWS Config, users can check whether the configuration of an AWS resource complies with a rule, and receive notifications when a resource changes its configuration state.
In this scenario, the new IT procedures state that EC2 instances must be of a particular instance type. AWS Config can be used to create a custom rule that checks whether an EC2 instance is of the intended instance type. If an EC2 instance is not of the intended instance type, AWS Config can generate a noncompliant resource notification, which can be used to inform the IT team about the noncompliant resource.
Option A, using AWS CloudWatch alarms, is not a suitable solution because CloudWatch alarms are used to monitor metrics and trigger alerts when the metric breaches the threshold. CloudWatch alarms cannot be used to check the instance type of EC2 instances.
Option C, using TrustedAdvisor, is not a suitable solution because TrustedAdvisor provides recommendations to improve the security, reliability, and cost optimization of AWS resources. TrustedAdvisor does not have a rule that checks the instance type of EC2 instances.
Option D, using VPC Flow Logs, is not a suitable solution because VPC Flow Logs provide detailed information about the traffic to and from the network interfaces in an EC2 instance. VPC Flow Logs do not provide information about the instance type of an EC2 instance.