Question : How can a Virtual Private Cloud (VPC) be connected to the internet? 1. By creating a NAT, which allows Amazon EC2 instances in the VPC to directly access the Internet. 2. By launching a specific EC2 instance with a pre-installed Internet Gateway, using the same Security Group as my instances within VPC. 3. A VPC cannot access the internet, but it can access other EC2 instances outside VPC. 4. By creating an Internet Gateway, which allows Amazon EC2 instances in the VPC to directly access the Internet.
Explanation: The EC2 instances within a VPC can be connected to the internet by means of an Internet Gateway that will allow the instances to directly connect to the internet.
Question : A user is sending a custom metric to CloudWatch. If the call to the CloudWatch APIs has different dimensions, but the same metric name, how will CloudWatch treat all the requests?
1. Rejects the request as there cannot be a separate dimension for a single metric 2. Create a separate metric for each call 3. Group all the calls for the same metric based with the dimension category 4. Create a separate metric, but overwrites the previous dimension data with the new dimension data
Explanation: A dimension is a key-value pair used to uniquely identify a metric. CloudWatch treats each unique combination of dimensions as a separate metric. Thus, if the user is making 4 calls with the same metric name, but a separate dimension it will create 4 separate metrics.
Question : Which parameter of the as-create-launch-config command displays the URL used to call the AWS Auto Scaling service?
Explanation: The AWS Auto Scaling launch config creates a template of the parameters which are required to launch an EC2 instance. The parameter show-request is used to display the URL, which is the tool to call the AWS Service.
1. Create an Origin Access Identify (OAI) for CloudFront and grant access to the objects in your S3 bucket to that OAI. 2. Create an Identity and Access Management (IAM) User for CloudFront and grant access to the objects in your S3 bucket to that IAM user. 3. Access Mostly Uused Products by 50000+ Subscribers
1. Create an alarm that terminates an instance used for software development or testing when it has been idle for at least an hour consecutive 3 times. 2. Create an alarm that terminates an instance used for software development or testing when it has been idle for at least an hour. 3. Access Mostly Uused Products by 50000+ Subscribers