SAA-C03 Practice Question: ElastiCache Redis supports sorted sets (ZSET) for…
This SAA-C03 practice question tests your understanding of elasticache redis supports sorted sets (zset) for…. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: elastiCache Redis supports sorted sets (ZSET) for ordering data by score — ideal for session expiry queues. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company needs to implement session management for a web application. Sessions must persist across multiple EC2 instances, survive EC2 failures, and be accessible with sub-millisecond latency. Sessions must also be sortable by last-access time to expire the oldest sessions first. Which caching solution should a solutions architect recommend?
Answer choices
Why each option matters
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Distractor review
Amazon DynamoDB with TTL enabled for session expiration
DynamoDB achieves single-digit millisecond latency, not sub-millisecond. It also lacks native sorted set operations. ElastiCache Redis provides the required sub-millisecond in-memory latency.
Best answer
Amazon ElastiCache for Redis with sessions stored as sorted sets
Redis provides sub-millisecond latency, sorted sets for ordering by last-access score, Multi-AZ replication, and external storage for cross-instance availability. All requirements are met.
Distractor review
ElastiCache for Redis with sticky sessions enabled on the Application Load Balancer
ALB sticky sessions pin clients to specific EC2 instances. If an instance fails, those sessions are lost. External Redis sessions (without ALB stickiness) are the correct cross-instance resilient approach.
Distractor review
Amazon ElastiCache for Memcached with session data stored as key-value pairs
Memcached supports only simple key-value pairs and cannot perform sorted set operations. Memcached also lacks replication — a node failure destroys all cached sessions.
Common exam trap
Common exam trap: answer the scenario, not the keyword
Memcached and Redis are both ElastiCache engines, but they serve different needs. Any requirement involving sorted data, complex data structures, persistence, or replication eliminates Memcached. Redis sorted sets (ZSET) store members with numeric scores and support range queries — perfect for session expiry queues ordered by last-access timestamp.
Technical deep dive
How to think about this question
ElastiCache Redis vs Memcached: | Feature | Redis | Memcached | | Data types | Strings, lists, sets, sorted sets, hashes | Strings only | | Persistence | Yes (RDB, AOF) | No | | Replication/Multi-AZ | Yes | No | | Pub/Sub | Yes | No | | Multi-threading | No (single core) | Yes | Redis sorted set commands for sessions: ZADD sessions <timestamp> <session_id> ZRANGEBYSCORE sessions 0 <cutoff_time> -- get expired sessions ZREM sessions <session_id> -- remove session Sub-millisecond note: ElastiCache delivers microsecond-range latency for in-memory operations. DynamoDB achieves single-digit millisecond — faster than disk but slower than in-memory cache.
KKey Concepts to Remember
- ElastiCache Redis supports sorted sets (ZSET) for ordering data by score — ideal for session expiry queues
- Redis supports persistence (RDB snapshots, AOF) and Multi-AZ replication
- Memcached supports only simple key-value pairs with no data structure operations
- ElastiCache delivers sub-millisecond (microsecond) in-memory latency
- Externalizing sessions to ElastiCache makes them available across all EC2 instances
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
ElastiCache Redis supports sorted sets (ZSET) for ordering data by score — ideal for session expiry queues
Related practice questions
Related SAA-C03 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
SAA-C03 VPC practice questions
Practise SAA-C03 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAA-C03 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAA-C03 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAA-C03 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAA-C03 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAA-C03 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAA-C03 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAA-C03 questions linked to SAA-C03 VPC endpoint questions.
SAA-C03 Auto Scaling practice questions
Practise SAA-C03 questions linked to SAA-C03 Auto Scaling.
SAA-C03 disaster recovery questions
Practise SAA-C03 questions linked to SAA-C03 disaster recovery questions.
SAA-C03 high availability questions
Practise SAA-C03 questions linked to SAA-C03 high availability questions.
SAA-C03 cost optimization questions
Practise SAA-C03 questions linked to SAA-C03 cost optimization questions.
More questions from this exam
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
A team needs to distribute TCP traffic (not HTTP) across multiple services. The services must see the original client source IP for auditing. Which AWS load balancer is the best fit?
Question 2
A team wants to run containerized services with AWS-managed orchestration and autoscaling. They do NOT require Kubernetes compatibility. Which AWS service choice is most appropriate to meet these goals?
Question 3
A solutions architect is designing an S3 bucket for a IoT ingestion API. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure? The design must avoid adding custom operational scripts.
Question 4
A solutions architect is designing an S3 bucket for a claims portal. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure?
Question 5
A team wants to delegate IAM management to developers, but must ensure developers can never grant themselves permissions beyond a specific limit. Which AWS mechanism best matches this requirement?
Question 6
A solutions architect is designing an S3 bucket for a healthcare document service. The objects must never be publicly accessible, even if a developer later adds an overly broad bucket policy. What should the architect configure?
Practice this exam
Start a free SAA-C03 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SAA-C03 question test?
ElastiCache Redis supports sorted sets (ZSET) for ordering data by score — ideal for session expiry queues
What is the correct answer to this question?
The correct answer is: Amazon ElastiCache for Redis with sessions stored as sorted sets — Amazon ElastiCache for Redis satisfies all requirements: multi-instance session sharing (sessions stored externally), sub-millisecond latency, survival of EC2 failures (stored outside instances), and sorted sets (ZSET data structure) for ordering sessions by last-access score. Memcached supports only simple key-value pairs — it cannot perform sorted set operations to order sessions by last-access time. Memcached also lacks replication, meaning a node failure loses all cached sessions.
What should I do if I get this SAA-C03 question wrong?
Review elastiCache Redis supports sorted sets (ZSET) for ordering data by score — ideal for session expiry queues, then practise related SAA-C03 questions on the same topic to reinforce the concept.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Discussion
Sign in to join the discussion.
This SAA-C03 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAA-C03 exam.