makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 4 | Google Cloud Certified Professional Cloud Architect | Dumps | Mock Test

4,144

An e-commerce System is operating in an App Engine flex with Node.js  and has to perform many operations while registering orders. You have been asked to find a way to decouple the service with a procedure that will send an email to the customer with an order confirmation, at the end.

You must find the fastest, serverless, simple, economic, and secure solution to perform this procedure.

What would you recommend?

A. Make an asynchronous call with Node.js
B. Use Pub / Sub to call a Cloud function
C. Use Cloud Task and define an appropriate worker server
D. Record orders in a database and manage them with a cron job within App Engine

Correct Answer: B

 Pub/Sub and Cloud Functions is the best solution to trigger email notification and here is the explanation:
(a)https://cloud.google.com/pubsub/docs/choosing-pubsub-or-cloud-tasks if you see the comparison between Task and pub/sub, Cloud Task is to control the execution of timely event through webbook or RPC(remote procedure call) which is not applicable for order confirmation since order delivery is not time-based.
(b) Please take a look at the case study of how Pub/SUb and cloud functions are used to implement the order processing and delivery system and an email notification is sent to the customer once the order is processed and delivered.

The other answers depict feasible solutions, that are not Serverless.

For more details, please refer to the URLs below:

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.