Medium1 markMultiple Choice

GCP PCA · Question 37 · Domain 1: Designing and Planning a Cloud Solution Architecture

A retail company is migrating its e-commerce platform to GCP. They want to use a microservices architecture. The frontend will be hosted on Cloud Run. The backend inventory service requires a database that supports ACID transactions, relational schemas, and can scale horizontally to handle unpredictable viral sales events. Which TWO services should you include in the architecture? (Select TWO)

Answer options:

A.

Cloud Run

B.

Cloud SQL

C.

Cloud Spanner

D.

Firestore

E.

App Engine Standard

How to approach this question

Select the compute service mentioned in the prompt, and the only GCP database that is both relational and horizontally scalable.

Full Answer

Cloud Run Cloud Spanner
The architecture requires Cloud Run for the frontend microservices. For the backend, the requirement for ACID transactions, relational schemas, and horizontal scalability points exclusively to Cloud Spanner. Cloud SQL cannot scale horizontally for writes, and Firestore/Bigtable are NoSQL.

Common mistakes

Selecting Cloud SQL (B) - it fails the horizontal scalability requirement.

Practice the full GCP Professional Cloud Architect Practice Exam 4

50 questions · hints · full answers · grading

More questions from this exam