DEA-C01 exam dumps

DEA-C01 practice question 518 of 550

AWS Certified Data Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DEA-C01 Question 518

Select 4

A company is running a high-traffic web application on AWS and needs to log application data for monitoring and troubleshooting. The development team wants to ensure that the logs are durable, scalable, and easily queryable while keeping costs low. Which combination of actions should the team take to meet these requirements?

  1. A

    Configure the application to write logs directly to Amazon S3

  2. B

    Use Amazon CloudWatch Logs to monitor and analyze application logs

  3. C

    Enable Amazon S3 Lifecycle policies to transition logs to Amazon S3 Glacier for cost optimization

  4. D

    Stream logs from Amazon CloudWatch Logs to Amazon Elasticsearch Service for real-time querying and analysis

  5. E

    Store logs on EC2 instance volumes and periodically back them up to Amazon S3

Show answer and explanation

Correct answers: A, B, C, D

Explanation

The best practices for logging application data in AWS involve using scalable and durable services like Amazon S3 and Amazon CloudWatch Logs for storage and monitoring. Cost optimization can be achieved with S3 Lifecycle policies, while real-time querying and analysis can be implemented by integrating CloudWatch Logs with Amazon Elasticsearch Service. Storing logs directly on EC2 instances is not a scalable or durable solution, making it unsuitable for high-traffic applications.

  • A. Correct.

    Configuring the application to write logs directly to Amazon S3 ensures durability and scalability as S3 provides high availability and secure storage for large volumes of data.

  • B. Correct.

    Using Amazon CloudWatch Logs allows real-time monitoring, alerting, and analysis of application logs, making it suitable for troubleshooting and monitoring purposes.

  • C. Correct.

    Enabling Amazon S3 Lifecycle policies reduces costs by transitioning older logs to Amazon S3 Glacier, which is a cost-effective storage solution for infrequently accessed data.

  • D. Correct.

    Streaming logs from Amazon CloudWatch Logs to Amazon Elasticsearch Service enables real-time querying and visualization of log data using tools like Kibana, which is valuable for debugging and operational insights.

  • E. Incorrect.

    Storing logs on EC2 instance volumes is not recommended as it does not provide the durability and scalability required for large-scale logging, and managing backups manually is error-prone and inefficient.

Timed practice exam

Take a DEA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam