exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 331 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 331
Topic #: 1
[All Professional Cloud Developer Questions]

You are designing a microservices architecture for a new application that will be deployed on Cloud Run. The application requires high-throughput communication between the internal microservices. You want to use the most effective, lowest latency communication protocol for this application. What should you do?

  • A. Configure the Cloud Run service to use HTTP/2. Implement gRPC for communication between the microservices. Use streaming gRPCs when a large amount of data has to be sent.
  • B. Implement the microservices with the REST API communication protocol. Use Apigee with rate-limiting to provide the best QoS for high-priority services.
  • C. Use SOAP to build the microservices API, and use XML as the data format for communication across the microservices. Define SOAP data contracts for each microservice.
  • D. Use HTTP REST to communicate across the microservices. Implement pagination and add indexing to your database.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sandesh24
2 months ago
Selected Answer: A
gRPC is designed for high-throughput, low-latency communication. It uses HTTP/2 as its underlying protocol, which allows for features like multiplexing and bidirectional streaming—ideal for internal microservices communication. This approach minimizes latency and overhead compared to traditional REST APIs over HTTP/1.1. Additionally, using streaming gRPCs can further optimize performance when large amounts of data need to be sent.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago