nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #266

PROFESSIONAL-CLOUD-DEVELOPER Question #266: Real Exam Question with Answer & Explanation

The correct answer is D: Deploy your code on Cloud Functions. Use a Pub/Sub trigger to handle new messages in the. https://cloud.google.com/functions/docs/calling/pubsub We selected D based on our experience with Cloud Functions and the material at the URL above. Since messages can be obtained from Cloud Functions arguments, we are not aware of the description of Subscription.

Designing Event-Driven Solutions

Question

You are developing an event-driven application. You have created a topic to receive messages sent to Pub/Sub. You want those messages to be processed in real time. You need the application to be independent from any other system and only incur costs when new messages arrive. How should you configure the architecture?

Options

  • ADeploy the application on Compute Engine. Use a Pub/Sub push subscription to process new
  • BDeploy your code on Cloud Functions. Use a Pub/Sub trigger to invoke the Cloud Function. Use
  • CDeploy the application on Google Kubernetes Engine. Use the Pub/Sub API to create a pull
  • DDeploy your code on Cloud Functions. Use a Pub/Sub trigger to handle new messages in the

Explanation

https://cloud.google.com/functions/docs/calling/pubsub We selected D based on our experience with Cloud Functions and the material at the URL above. Since messages can be obtained from Cloud Functions arguments, we are not aware of the description of Subscription.

Topics

#Cloud Functions#Pub/Sub#Serverless Architecture#Event-Driven Architecture

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions