AWS Certified Developer Associate DVA-C02 Practice Question
Your system is responsible for storing a series of user-generated events, each characterized by a unique identifier, the time of occurrence, and the type of event. Given the need to prevent disproportionate use of any single data partition for storage and retrieval operations, which scheme should you adopt for the partition key assignment?
Combine the unique identifier with the occurrence time to formulate a partition key
Assign a unique identifier as the sole partition key
A partition key scheme that combines a unique identifier with the time of occurrence provides high cardinality ensuring that data entries are distributed uniformly across the database's partitions. This strategy reduces the risk of overloaded partitions, also known as 'hot partitions', which can occur when a single partition key value is accessed more frequently than others, such as would be the case with keys that are subject to frequent access like a standalone user identifier or the time field alone.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does 'high cardinality' mean in the context of partition keys?
Open an interactive chat with Bash
What are 'hot partitions' and why are they problematic?
Open an interactive chat with Bash
Why is combining a unique identifier with occurrence time effective for partition key assignment?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access