Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
Your development team is building high-throughput backend microservices that programmatically manage and stream data across several Google Cloud services, including Pub/Sub and Dataproc.
The team needs to establish coding and dependency standards with the following architectural requirements:
Which library selection strategy should you recommend?
Use raw HTTP/REST requests constructed with language-standard HTTP clients to avoid library versioning and dependency pinning issues.
Standardize exclusively on Google API Client Libraries across all services to ensure uniform REST/JSON transport and avoid gRPC protocol dependencies.
Generate custom gRPC client stubs from protocol buffers for all services as the primary choice, bypassing pre-built client libraries.
Adopt Cloud Client Libraries as the default standard, and fall back to Google API Client Libraries only when a service or language is unsupported by Cloud Client Libraries.
Use raw HTTP/REST requests constructed with language-standard HTTP clients to avoid library versioning and dependency pinning issues.
Standardize exclusively on Google API Client Libraries across all services to ensure uniform REST/JSON transport and avoid gRPC protocol dependencies.
Generate custom gRPC client stubs from protocol buffers for all services as the primary choice, bypassing pre-built client libraries.
Adopt Cloud Client Libraries as the default standard, and fall back to Google API Client Libraries only when a service or language is unsupported by Cloud Client Libraries.
Cloud Client Libraries are the latest, recommended programmatic interfaces for calling Google Cloud APIs. They are written specifically for each supported programming language to offer idiomatic abstractions, whereas Google API Client Libraries are older, autogenerated libraries that target REST-based Discovery APIs.
This approach aligns with Google Cloud best practices by prioritizing performance and developer ergonomics through Cloud Client Libraries, while maintaining robust service coverage through Google API Client Libraries as a fallback.