A Software Engineer wrote a customized reporting service that will run on a fleet of Amazon EC2 instances. The company security policy states that application logs for the reporting service must be centrally collected. What is the MOST efficient way to meet these requirements?
A) Write an AWS Lambda function that logs into the EC2 instance to pull the application logs from the EC2 instance and persists them into an Amazon S3 bucket.
B) Enable AWS CloudTrail logging for the AWS account, create a new Amazon S3 bucket, and then configure Amazon CloudWatch Logs to receive the application logs from CloudTrail.
C) Create a simple cron job on the EC2 instances that synchronizes the application logs to an Amazon S3 bucket by using rsync.
D) Install the Amazon CloudWatch Logs Agent on the EC2 instances, and configure it to send the application logs to CloudWatch Logs.
Correct Answer:
Verified
Q198: A security engineer needs to ensure their
Q199: A company has a VPC with several
Q200: A company's security officer is concerned about
Q201: A company uses an AWS Key Management
Q202: A global company must mitigate and respond
Q204: A company recently experienced a DDoS attack
Q205: A company has contracted with a third
Q206: A security engineer is designing a solution
Q207: An application makes calls to AWS services
Q208: A company has two software development teams
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents