Practice Test 4 | Google Cloud Certified Professional Cloud Architect | Dumps | Mock Test
You have been asked to design an application that allows you to manage XML Customer Orders documents as soon as they are written in a specific Cloud Storage Bucket.
The document must be processed with an existing routine written in Node.js.
The solution must be as simple as possible, fully managed, asynchronous, secure and economical.
How could this be accomplished?
A. Develop a new App to be deployed with App Engine Standard that periodically reads the bucket, processes the files, and transfers them to a new bucket
B. Create a GSuite module that performs the required operations
C. Create a Cloud Function with the existing code triggered by change notifications from Google Cloud Storage
D. Develop an app, package it into a Container and deploy with App Engine Flexible Edition that periodically reads the bucket, processes the files, and transfers them to a new bucket
Correct Answer: C
It is a simple and quick solution that meets all the requirements.
The other solutions are much more complex and not so easy to manage and maintain.
The GSuite module (solution B) requires to partially rewrite the routine.
For any further detail, please refer to the URLs below:
https://cloud.google.com/functions/docs/calling/storage
https://cloud.google.com/functions/docs/tutorials/storage
For more complex scenarios, it is also possible to use Pub/Sub Notifications for Cloud Storage.
These solutions are suitable when there are multiple activities that arise after the change of an Object.
For more details on Pub/Sub notifications, check the following URLs:
Comments are closed, but trackbacks and pingbacks are open.