AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 193
A company is developing an application that will generate log events. The log events consist of five distinct metrics every one tenth of a second and produce a large amount of data.
The company needs to configure the application to write the logs to Amazon Timestream. The company will configure a daily query against the Timestream table.
Which combination of steps will meet these requirements with the FASTEST query performance? (Choose three.)
Answer options
- A. Use batch writes to write multiple log events in a single write operation.
- B. Write each log event as a single write operation.
- C. Treat each log as a single-measure record.
- D. Treat each log as a multi-measure record.
- E. Configure the memory store retention period to be longer than the magnetic store retention period.
- F. Configure the memory store retention period to be shorter than the magnetic store retention period.
Correct answer: A, D, F
Explanation
The correct answer includes A, D, and F because using batch writes (A) reduces the number of write operations needed, allowing for faster data ingestion. Treating logs as multi-measure records (D) enhances storage efficiency and retrieval speed. Additionally, configuring the memory store retention period to be shorter than the magnetic store retention period (F) optimizes performance by keeping frequently accessed data in memory. Options B and C are less efficient as they would increase the number of write operations and hinder query performance.