AWS Certified Developer – Associate (DVA-C02)SecurityEasy

A developer is building a new application that uses AWS Lambda functions to process sensitive customer data. The Lambda functions need to store temporary state information that is specific to each user session and must be highly secure. This data should not persist beyond the session and must be encrypted at rest and in transit. Which AWS service is the MOST appropriate for securely storing this temporary, session-specific data?

  1. AAmazon ElastiCache with Redis
  2. BAmazon S3
  3. CAWS Systems Manager Parameter Store
  4. DAmazon DynamoDB
Show answer & explanation

Correct answer: A. Amazon ElastiCache with Redis

Amazon ElastiCache with Redis is an excellent choice for temporary, session-specific data due to its in-memory nature, high performance, and built-in encryption capabilities. It allows developers to store session data securely which can be accessed quickly by Lambda functions.

Why the other options are wrong

  • B. Amazon S3 is object storage, not designed for low-latency, temporary session data, and while secure, it's not the most appropriate for this use case.
  • C. AWS Systems Manager Parameter Store is for secure storage of configuration data and secrets, not high-volume, temporary session data.
  • D. Amazon DynamoDB is a NoSQL database suitable for persistent data storage, not ideal for temporary, in-memory session data that expires quickly.

ElastiCache for Session Data

Amazon ElastiCache, particularly with Redis, is a managed in-memory data store service used for caching, session management, and real-time analytics.

  • Provides high performance and low latency.
  • Supports encryption at rest and in transit (TLS).
  • Ideal for temporary, session-specific data that requires fast access and expiration.

Memory trick: ElastiCache Redefines Speedy Sessions Securely.

More Security questions