Cloud Run MCQ Questions and Answers

Mastering Cloud Run is crucial for cloud certification success. This dedicated practice set features 5 Cloud Run MCQ questions and answers designed to mirror real exam scenarios across various GCP certifications.

📝 5 Questions⏱️ 10 min🎯 Pass: 70%

About Cloud Run Practice Questions

This detailed quiz focuses on Cloud Run, covering key concepts and scenarios often found in GCP exams.

  • Comprehensive coverage of Cloud Run features.
  • Scenario-based questions testing design and troubleshooting skills.
  • Detailed explanations to reinforce learning.

All 5 Cloud Run Questions

Browse through the complete list of questions and answers below. Use this resource to review specific concepts or check your understanding of Cloud Run.

1

A media streaming company is experiencing sudden spikes in traffic. They want to move their containerized legacy app to a platform that can quickly scale to thousands of instances and handle uneven load without managing individual nodes. They require custom environment variables and Secrets. What is the best platform?

Spot VMs
Preemptible VMs
Cloud Run
Google Cloud Functions
View Explanation
✓ Correct Answer: Cloud RunExplanation:Cloud Run is ideal for stateless containers that need to scale rapidly (including to zero) and handles uneven traffic patterns without node management, while fully supporting environment variables and Secret Manager integration.
2

You need to scale a Cloud Run service to handle extremely high traffic. However, your backend Cloud SQL database has a hard limit on the number of concurrent connections. What is the most architectural way to handle this?

Use Cloud SQL Auth Proxy with connection pooling in your application
Increase the CPU of the Cloud SQL instance
Increase the concurrency setting in Cloud Run
Use a Cloud Storage bucket as a temporary buffer
View Explanation
✓ Correct Answer: Use Cloud SQL Auth Proxy with connection pooling in your applicationExplanation:Implementing connection pooling (internally or via a proxy) ensures that your serverless frontend doesn't overwhelm the database with new connection requests during a rapid scale-up.
3

You are migrating a legacy Java application to Cloud Run. The application requires access to a legacy Oracle database on-premises that is connected via Cloud VPN. How should you enable this connectivity from Cloud Run?

Serverless VPC Access connector
Public IP for the Oracle DB
Cloud NAT
VPC Network Peering
View Explanation
✓ Correct Answer: Serverless VPC Access connectorExplanation:Serverless VPC Access allows serverless environments (Cloud Run, Functions, App Engine) to connect to resources within a VPC or on-premises over VPN/Interconnect using internal IPs.
4

To minimize the 'Cold Start' latency of a Cloud Run service that is rarely used but requires high performance when it is invoked, which feature should you use?

Min-instances (always-on instances)
Increase the CPU allocation
Use a custom machine type
HTTP/2
View Explanation
✓ Correct Answer: Min-instances (always-on instances)Explanation:Setting a non-zero 'min-instances' value keeps a specified number of instances 'warm' and ready to serve traffic, eliminating cold starts for those instances.
5

Your organization wants to move their legacy .NET application to a serverless platform in GCP that supports Windows containers and scales to zero. Which service is the best fit?

Cloud Run (using custom Docker images)
App Engine Standard
Compute Engine MIG
Cloud Functions
View Explanation
✓ Correct Answer: Cloud Run (using custom Docker images)Explanation:Cloud Run is container-based and can host any language or runtime (including .NET on Linux or Windows-based patterns) with serverless scaling characteristics.