AWS Certification: CloudWatch Questions

AWS CloudWatch

Overview
Amazon CloudWatch is a monitoring and observability service built for DevOps engineers, developers, site reliability engineers (SREs), and IT managers.
1. A company has an application hosted in AWS. This application consists of EC2 Instances which sit behind an ELB with EC2 Instances. The following are requirements from an administrative perspective:

a) Ensure notifications are sent when the read requests go beyond 1000 requests per minute b) Ensure notifications are sent when the latency goes beyond 10 seconds c) Any API activity which calls for sensitive data should be monitored

Which of the following can be used to satisfy these requirements? Choose 2 answers from the options given below.


A. UseCloudTrail to monitor the API Activity.

B. UseCloudWatch logs to monitor the API Activity.

C. Use CloudWatch metrics for the metrics that needs to be monitored as per the requirement and set up an alarm activity to send out notificatIons when the metric reaches the set threshold limit.

D. Usea custom log software to monitor the latency and read requests to the ELB.

Answer
A. & C.


A. Use CloudWatch metrics and logs to watch for errors.

B. Use CloudTrail to monitor for errors.

C. Use the AWS Config service to monitor for errors.

D. Use the AWS Inspector service to monitor for errors.

Answer
A. Use CloudWatch metrics and logs to watch for errors.

3. A company needs to monitor the read and write IOPS metrics for their AWS MySQL RDS instance and send real-time alerts to their Operations team. Which AWS services can accomplish this? Choose 2 answers from the options given below.

A. Amazon Simple Email Service

B. Amazon CloudWatch

C. Amazon Simple Queue Service

D. Amazon Simple Notification Service

Answer
B. & D.

4. An application currently accepts users to upload files to an S3 bucket. You want to ensure that the file name for each uploaded file is stored in a DynamoDB table. How can this be achieved? Choose 2 answers from the options given below. Each answer forms part of the solution.

A. Create an AWS Lambda function to insert the required entry for each uploaded file.

B. Use AWS CloudWatch to probe for any S3 event.

C. Add an event with notification send to Lambda.

D. Add the CloudWatch event to the DynamoDB table streams section.

Answer
A. & C.

5. An organization is managing a Redshift Cluster in AWS. They need to monitor the performance of this Redshift cluster to ensure that it is performing as efficiently as possible. Which of the following services can be used for achieving this requirement?

A. CloudTrail

B. VPC Flow Logs

C. CloudWatch

D. AWS Trusted Advisor

Answer
C. CloudWatch

6. As the cloud administrator of your company, you notice that one of EC2 instances is restarting frequently. There is a need to troubleshoot and analyse the system logs. What can be used in AWS to store and analyze the log files from the EC2 Instance? Choose one answer from the options below.

A. AWS SQS

B. AWS S3

C. AWS CloudTrail

D. AWS CloudWatch Logs

Answer
D. AWS CloudWatch Logs

7. There is an urgent requirement to monitor some database metrics for a database hosted on AWS and send notifications. Which AWS services can accomplish this? Choose 2 answers from the options given below.

A. Amazon Simple Email Service

B. Amazon CloudWatch

C. Amazon Simple Queue Service

D. Amazon Simple Notification Service

Answer
B. & D.

8. You are responsible for deploying a critical application to AWS. It is required to ensure that the controls set for this application meet PCI compliance. Also, there is a need to monitor web application logs to identify any malicious activity. Which of the following services can be used to fulfill this requirement? Choose 2 answers from the options given below.

A. Amazon CloudWatch Logs

B. Amazon VPC Flow Logs

C. Amazon AWS Config

D. Amazon CloudTrail

Answer
A. & D.

9. Your company currently has a set of EC2 Instances hosted in AWS. The states of these instances need to be monitored and each state change needs to be recorded. Which of the following can help fulfill this requirement? Choose 2 answers from the options given below.

A. UseCloudWatch logs to store the state change of the instances.

B. UseCloudWatch Events to monitor the state change of the events.

C. UseSQS to trigger a record to be added to a DynamoDB table.

D. UseAWS Lambda to store a change record in a DynamoDB table.

Answer
B. & D.