exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 195 discussion

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.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: ADF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vortegon
Highly Voted 1 year, 2 months ago
Selected Answer: ADF
While E suggests configuring the memory store retention period to be longer than the magnetic store retention period, this is typically not aimed at optimizing query performance but rather at keeping data in the faster-access memory store for longer periods, which could be beneficial for workloads requiring frequent access to recent data. However, for the scenario described, focusing on efficient data ingestion methods (A and D) and understanding the role of retention periods (F) provides a balanced approach to achieving the fastest query performance for daily queries.
upvoted 7 times
...
auxwww
Most Recent 9 months, 1 week ago
Selected Answer: ADE
E fast performance A writer more throughput D multi measure means less records to store each data point. Faster query
upvoted 2 times
...
Gomer
10 months ago
Selected Answer: ADE
My only hesitation is in regards to how batch writes might improve query performance, other than if the stored data is in a contiguous chunk, that could hep a query later. As far as for multi-measure and more memory, I defer to references: A: (YES) "When writing data to InfluxDB, write data in batches to minimize the network overhead related to every write request." D: (YES) "Multi-measure records results in lower query latency for most query types when compared to single-measure records." E: (YES) "The memory store is optimized for high throughput data writes and fast point-in-time queries." F: (NO) "The magnetic store is optimized for lower throughput late-arriving data writes, long term data storage, and fast analytical queries."
upvoted 2 times
Gomer
10 months ago
Memory based storage is always going to provide "FASTEST query performance" compared to magnetic storage. You want faster query, provide higher ratio of memory storage compared to magnetic.
upvoted 1 times
...
...
didek1986
1 year ago
Selected Answer: ADF
ADF A - improve write performance and efficiency D - query for a specific measure in a multi-measure record, Timestream only scans the relevant measure, not the entire record. This means that even though the record contains multiple measures, the query performance for a specific measure is not negatively impacted. Multi-measure record reduces the number of records that need to be written and subsequently queried, which improve query performance. F - memory store, which is optimised for write and query performance, is not filled with older data that is not frequently accessed
upvoted 3 times
...
dkp
1 year ago
Selected Answer: ADF
ADF seems more relevant
upvoted 3 times
...
Diego1414
1 year, 2 months ago
Selected Answer: ADF
ADF – batch writes, Treat log as multi-measure record, Memory story should be shorter,. https://aws.amazon.com/blogs/database/improve-query-performance-and-reduce-cost-using-scheduled-queries-in-amazon-timestream/#:~:text=Improve%20query%20performance%20and%20reduce%20cost%20using%20scheduled,6%20Query%20performance%20metrics%20...%207%20Conclusion%20
upvoted 4 times
...
Ramdi1
1 year, 2 months ago
Selected Answer: ACD
A. Batch writes: This significantly reduces overhead associated with individual write operations and improves overall write throughput. C. Single-measure record: For daily queries summarizing multiple metrics, treating each log as a single record helps Timestream leverage its optimized storage and query processing for single measures. D. Multi-measure record: While it seems counterintuitive, Timestream performs better with multiple measures within a single record compared to separate records for each metric. This allows for efficient data retrieval and aggregation during queries.
upvoted 3 times
Ramdi1
1 year, 2 months ago
Options B, E, and F are not recommended for optimal performance:   B. Single write operations: This increases overhead and reduces write throughput, negating Timestream's scalability benefits. E. Longer memory store: While faster for recent data, it increases cost and doesn't impact daily queries focused on older, magnetic store data. F. Shorter memory store: Reduces cost but sacrifices potential performance gains for frequently accessed recent data, which might not be relevant for daily queries.   By combining batch writes, single-measure records, and multi-measure records, the company can achieve the fastest query performance for their daily Timestream use case.
upvoted 1 times
...
...
thanhnv142
1 year, 2 months ago
Selected Answer: ADF
A,D and F are correct: A: do job in batch optimize costs and performance B: should not do single write C: The app emits multiple records the same time. So it should be multi-measure record, not single one D: correct E: Should not do this F: correct
upvoted 3 times
...
Chelseajcole
1 year, 2 months ago
ACE. Batch the write, write as whole and stay in memory longer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago