Courseiva
Question 106 of 1,446
Migrate data solutionseasyMultiple ChoiceObjective-mapped

PCDE Migrate data solutions Practice Question

An engineer needs to connect Database Migration Service to a source MySQL database that has only a private IP address. The Cloud SQL destination is also private. What is the recommended method for DMS to connect to the source?

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

Use VPC peering or Cloud SQL Auth Proxy

For private IP sources, VPC peering or Cloud SQL Auth Proxy can be used. Auth Proxy is recommended for secure connectivity without public IP exposure.

Answer analysis

Option-by-option breakdown

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

  • Use a Cloud VPN tunnel with static IP

    Why it's wrong here

    A Cloud VPN tunnel with static IP requires the source database to have a public endpoint or a routable static IP address to terminate the VPN, but the source MySQL database has only a private IP address with no public exposure. This option is tempting because Cloud VPN is commonly used to securely extend on-premises networks to Google Cloud, and it would be correct if the source database had a static public IP or a VPN gateway with a public endpoint to establish the encrypted tunnel.

  • Use Cloud NAT to provide outbound connectivity

    Why it's wrong here

    Cloud NAT enables outbound, not inbound connectivity to source.

  • Use VPC peering or Cloud SQL Auth Proxy

    Why this is correct

    VPC peering enables private connectivity; Cloud SQL Auth Proxy provides secure tunnel.

  • Use the source database's public IP with IP allowlisting

    Why it's wrong here

    The source has only private IP, so public IP is not available.

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.