Courseiva
Question 1,391 of 1,446

PCDE Practice Question: Manage a solution that can span multiple database technologies

A developer needs to connect to a Memorystore for Redis instance from a Compute Engine VM in the same VPC network. The Redis instance has AUTH enabled. What must the developer provide in the connection string?

⚠ Common exam trap

A common pitfall is selecting an IAM role (e.g., Memorystore User) instead of the Redis AUTH password because both are authentication mechanisms, but they operate at different layers: IAM controls access to the API, while AUTH controls data-plane access to Redis.

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

The Redis AUTH password.

When AUTH is enabled on a Memorystore for Redis instance, the client must provide the AUTH password in the connection string (e.g., `redis://:password@host:6379`) or via the `AUTH` command after connecting. This password is set during instance creation and is required for authentication before any data commands can be executed. Without it, the Redis server will reject the connection with a `NOAUTH Authentication required` error.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The Redis AUTH password.

    Why this is correct

    AUTH requires a password to access the instance.

  • The IAM role 'Memorystore User'.

    Why it's wrong here

    IAM roles control API access, not Redis AUTH.

  • The client certificate and private key.

    Why it's wrong here

    Memorystore for Redis does not use client certificates for authentication.

  • The service account key file.

    Why it's wrong here

    Service accounts are used for GCP API authentication, not Redis 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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jul 4, 2026

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.

Loading comments…

Sign in to join the discussion.

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.