AWS Certified Data Engineer Associate DEA-C01 Practice Question

A data engineering team runs Amazon EC2-based Spark jobs in two AWS Regions. Compliance requires that application log files from /var/log/app.log on every instance be centralized in Amazon CloudWatch Logs and automatically deleted after 90 days. Which approach satisfies the requirements with minimal operational overhead?

  • Write the log files to an Amazon S3 bucket that has a lifecycle rule to expire objects after 90 days, and query the logs with Amazon Athena.

  • Configure VPC Flow Logs on the instances' subnets with 90-day retention and use CloudWatch Logs Insights to analyze the data.

  • Enable AWS CloudTrail in both Regions and set its retention to 90 days; CloudTrail will capture the application log entries automatically.

  • Create a CloudWatch Logs log group, set its retention to 90 days, and install the CloudWatch agent on each instance to monitor /var/log/app.log.

AWS Certified Data Engineer Associate DEA-C01
Data Security and Governance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot