
Answer-first summary for fast verification
Answer: Create a CloudWatch Logs group and stream for the application. Use the AWS Management Console to configure log retention and export settings. Use AWS CloudFormation or AWS CLI to automate the creation and configuration of the CloudWatch Logs resources.
Option A is the correct answer as it covers the necessary steps to configure Amazon CloudWatch Logs for an application. Creating a CloudWatch Logs group and stream, configuring log retention and export settings, and using AWS CloudFormation or AWS CLI for automation are all best practices for configuring CloudWatch Logs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company is using AWS services to process and analyze data. You are tasked with configuring Amazon CloudWatch Logs to log application data for a specific application. Describe the steps you would take to configure CloudWatch Logs, including the use of automation and configuration best practices.
A
Create a CloudWatch Logs group and stream for the application. Use the AWS Management Console to configure log retention and export settings. Use AWS CloudFormation or AWS CLI to automate the creation and configuration of the CloudWatch Logs resources.
B
Create a CloudWatch Logs group and stream for the application. Use the AWS Management Console to configure log retention and export settings. Use AWS Lambda to automate the creation and configuration of the CloudWatch Logs resources.
C
Create a CloudWatch Logs group and stream for the application. Use the AWS Management Console to configure log retention and export settings. Use AWS CloudTrail to automate the creation and configuration of the CloudWatch Logs resources.
D
Create a CloudWatch Logs group and stream for the application. Use the AWS Management Console to configure log retention and export settings. Use Amazon EMR to automate the creation and configuration of the CloudWatch Logs resources.
No comments yet.