Question 1,007 of 1,446
Manage a solution that can span multiple database technologies →mediumMultiple SelectObjective-mapped
PCDE Practice Question: Manage a solution that can span multiple database technologies
An organization is using Memorystore for Redis and needs to ensure that when memory usage reaches the maximum, the cache evicts keys based on the least recently used (LRU) algorithm among keys with an expiry set. They also want to require password authentication for client connections. Which two configurations should be applied? (Choose TWO.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure the AUTH password in the Memorystore instance
The eviction policy 'volatile-lru' evicts keys with an expiry set using LRU. AUTH is configured by setting a password via the Redis AUTH command or in the Memorystore instance settings.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure the AUTH password in the Memorystore instance
Why this is correct
AUTH password is set in Memorystore to require authentication.
- ✗
Set maxmemory-policy to 'allkeys-lru'
Why it's wrong here
allkeys-lru evicts any key, not just those with expiry.
- ✗
Enable TLS for encryption
Why it's wrong here
TLS is for encryption in transit, not authentication.
- ✓
Set maxmemory-policy to 'volatile-lru'
Why this is correct
volatile-lru evicts only keys with an expiry set, using LRU.
- ✗
Enable persistence with AOF
Why it's wrong here
Persistence is not required for eviction or auth.
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 →
Last reviewed: Jul 4, 2026
This PCDE practice question is part of Courseiva's free Google Cloud 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 PCDE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.