Examtopics

Professional Cloud Developer
  • Topic 1 Question 271

    You recently developed an application that monitors a large number of stock prices. You need to configure Pub/Sub to receive messages and update the current stock price in an in-memory database. A downstream service needs the most up-to-date prices in the in-memory database to perform stock trading transactions. Each message contains three pieces or information:

    • Stock symbol • Stock price • Timestamp for the update

    How should you set up your Pub/Sub subscription?

    • Create a push subscription with exactly-once delivery enabled.

    • Create a pull subscription with both ordering and exactly-once delivery turned off.

    • Create a pull subscription with ordering enabled, using the stock symbol as the ordering key.

    • Create a push subscription with both ordering and exactly-once delivery turned off.


    シャッフルモード