Courseiva
Managing and Provisioning a Solution InfrastructuremediumMultiple ChoiceObjective-mapped

Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure

A Cloud Run service needs to access resources in a VPC network (e.g., a Cloud SQL instance). The service should be able to send requests to the VPC and receive responses. What is the correct configuration?

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

Create a VPC connector and configure the Cloud Run service to use it for egress

Cloud Run can use a VPC connector (Serverless VPC Access) to send requests to a VPC. It does not allow inbound traffic from the VPC without additional setup.

Answer analysis

Option-by-option breakdown

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

  • Create a VPC connector and configure the Cloud Run service to use it for egress

    Why this is correct

    Correct. A VPC connector routes egress traffic from Cloud Run to the VPC.

  • Place the Cloud Run service in a VPC subnet

    Why it's wrong here

    Cloud Run is serverless and cannot be placed directly in a VPC.

  • Use Cloud NAT to allow Cloud Run to access the VPC

    Why it's wrong here

    Cloud NAT is for Compute Engine instances without external IPs, not for Cloud Run.

  • Use VPC peering between Cloud Run and the VPC

    Why it's wrong here

    VPC peering works between VPCs, not with serverless services.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

Go deeper

Related to this question

About these practice questions

One of 955 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCA 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 PCA exam.