ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 595 - DVA-C01 discussion

Report
Export

A business intelligence application runs on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. Application-level audits require a searchable log of all API calls from users to the application. The application’s developers must store the logs centrally on AWS.

Which solution will meet these requirements?

A.
Install the Amazon CloudWatch agent on the Amazon EC2 host that runs Fargate.
Answers
A.
Install the Amazon CloudWatch agent on the Amazon EC2 host that runs Fargate.
B.
Configure the awslogs log driver in the ECS task definition.
Answers
B.
Configure the awslogs log driver in the ECS task definition.
C.
Configure AWS CloudTrail for the ECS containers.
Answers
C.
Configure AWS CloudTrail for the ECS containers.
D.
Install the ECS logs collector on the ECS hosts.
Answers
D.
Install the ECS logs collector on the ECS hosts.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html

Configuring the awslogs log driver in the ECS task definition will allow the application to store the logs centrally on AWS. The awslogs log driver sends logs to Amazon CloudWatch Logs, which is a managed service that provides search and analysis of log data. This solution will meet the requirements of storing the logs centrally on AWS and making them searchable. Installing the Amazon CloudWatch agent on the Amazon EC2 host or installing the ECS logs collector on the ECS hosts will not work because the application is running on AWS Fargate and not on Amazon EC2. AWS CloudTrail is not a suitable solution because it is used to record API calls made to AWS services, not application-level API calls.

asked 16/09/2024
Dave Stacey
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first