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 343 discussion

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

There are three teams developing an ecommerce application in the same Google Cloud project. Team A will build a set of RESTful APIs that exposes some core functionalities for the application. Team B and Team C will make requests to those APIs in their downstream processes running on Cloud Run services. You need to propose a solution for exposing the APIs in a way that maximizes security and minimizes management overhead for the three teams. How should you design this solution?

  • A. 1. Team A uses service accounts to authorize Cloud API Gateway. Team B and Team C each create a service account, export their service account's key, and store each key in a separate secret in Secret Manager.
    2. Team B and Team C use this service account key to create an OAuth token to access the APIs.
  • B. 1. Team A uses Apigee hybrid to create an API key and shares that key with Team B and Team C.
    2. Team B and Team C store the API key in a secret in Secret Manager, and use this API key to access the API endpoint.
  • C. 1. Team A uses an API key to authorize Cloud API Gateway and shares the key with Team B and Team C.
    2. Team B and Team C store the API key in a secret in Secret Manager, and use this API key to access the API endpoint.
  • D. 1. Team A uses service accounts to authorize Cloud API Gateway. Team B and Team C each create a service account that has access to the APIs.
    2. Team B and Team C access the APIs in the Cloud Run service running their processes by using the service accounts attached to their service.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Pime13
3 weeks, 6 days ago
Selected Answer: D
https://cloud.google.com/api-gateway/docs/get-started-cloud-run
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 ...