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

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

Your company manages an application that captures stock data in an internal database. You need to create an API that provides real-time stock data to users. You want to return stock data to users as quickly as possible, and you want your solution to be highly scalable. What should you do?

  • A. Create a BigQuery dataset and table to act as the internal database. Query the table when user requests are received.
  • B. Create a Memorystore for Redis instance to store all stock market data. Query this database when user requests are received.
  • C. Create a Bigtable instance. Query the table when user requests are received. Configure a Pub/Sub topic to queue user requests that your API will respond to.
  • D. Create a Memorystore for Redis instance, and use this database to store the most accessed stock data. Query this instance first when user requests are received, and fall back to the internal database.
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
Sandesh24
2 months ago
Selected Answer: D
By using Memorystore for Redis as a caching layer for the most frequently accessed stock data, you can significantly reduce latency and improve scalability. In this design, your API queries Redis first for real-time data, and if the data isn’t available there, it falls back to the internal database. This approach minimizes the response time for common requests while maintaining access to complete data when necessary.
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