AWS Certified Developer Associate DVA-C02 Practice Question
A company's eCommerce web application is deployed on AWS and makes extensive use of shopping cart data, which should be retained only for the duration of the customer's browsing session. Each shopping session involves numerous read and write operations. The company's key requirement is that the shopping cart's performance should not be impacted by other customer activity or scale issues. Which storage option should be utilized to manage shopping cart data in order to meet these requirements?
You selected this option
Amazon Elastic File System (EFS) with lifecycle management
You selected this option
Amazon Relational Database Service (RDS) with provisioned IOPS
Amazon DynamoDB with a TTL policy would be appropriate for storing ephemeral shopping cart data as it offers fast, consistent, single-digit millisecond latency for both reads and writes. The TTL feature automatically expires items after a certain period, which suits the transient nature of shopping cart data. Moreover, DynamoDB scales automatically to maintain performance. Amazon EFS is a file storage service, which is more suited for file-based workloads and not for session data requiring rapid access patterns and short-term lifecycle management. Amazon RDS provisioned IOPS is designed for persistent workloads with intensive IOPS needs, but would incur unnecessary overhead for transient session data. Lastly, Amazon EC2 instance store provides ephemeral block-level storage but lacks the data expiration capabilities inherent to the required shopping cart scenario.
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 is Amazon DynamoDB and how does it work?
Open an interactive chat with Bash
What does TTL (Time to Live) mean in the context of databases?
Open an interactive chat with Bash
What are the benefits of using a NoSQL database like DynamoDB over traditional RDS?
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
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access