Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 263 discussion

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

You are developing a new application. You want the application to be triggered only when a given file is updated in your Cloud Storage bucket. Your trigger might change, so your process must support different types of triggers. You want the configuration to be simple so that multiple team members can update the triggers in the future. What should you do?

  • A. Configure Cloud Storage events to be sent to Pub/Sub, and use Pub/Sub events to trigger a Cloud Build job that executes your application.
  • B. Create an Eventarc trigger that monitors your Cloud Storage bucket for a specific filename, and set the target as Cloud Run.
  • C. Configure a Cloud Function that executes your application and is triggered when an object is updated in Cloud Storage.
  • D. Configure a Firebase function that executes your application and is triggered when an object is updated in Cloud Storage.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
rglearn
5 months ago
Selected Answer: B
B- is correct because Eventarc supports exible lters and you can create triggers based on lename patterns. Question is from Sample exam available on official GCP site. https://cloud.google.com/eventarc/docs/event-driven-architectures https://cloud.google.com/functions/docs/calling/storage https://cloud.google.com/storage/docs/reporting-changes https://cloud.google.com/build/docs/automating-builds/create-pubsub-triggers#gcs_build_trigger https://cloud.google.com/eventarc/docs/overview https://firebase.google.com/docs/functions/gcp-storage-events https://cloud.google.com/eventarc/docs/run/create-trigger#trigger-setup
upvoted 2 times
...
alpha_canary
7 months, 3 weeks ago
Selected Answer: C
https://cloud.google.com/functions/docs/calling/storage
upvoted 1 times
...
imiu
11 months, 4 weeks ago
Selected Answer: C
https://cloud.google.com/functions/docs/calling
upvoted 1 times
...
plutonians123
12 months ago
Selected Answer: C
I change my answer to C, the choice of Option C ("Configure a Cloud Function that executes your application and is triggered when an object is updated in Cloud Storage") is strongly supported by the sentence "You want the configuration to be simple so that multiple team members can update the triggers in the future." Cloud Functions provide a more straightforward and user-friendly approach for setting up and managing triggers, making it easier for various team members to work with and update the configuration as needed. This simplicity aligns well with the requirement for an easily manageable and modifiable trigger process.
upvoted 1 times
...
plutonians123
12 months ago
Selected Answer: B
Given the requirement in the question for a process that supports different types of triggers and allows for easy updating by multiple team members, Option B (Create an Eventarc trigger that monitors your Cloud Storage bucket for a specific filename, and set the target as Cloud Run) seems more relevant. This option offers greater flexibility for handling various types of triggers with Eventarc, which can be crucial if the application's triggering requirements change over time. Eventarc's ability to integrate with multiple Google Cloud services and route events to Cloud Run provides a robust and scalable solution for diverse event handling. This aligns well with the need for a versatile and easily updatable trigger mechanism.
upvoted 2 times
wanrltw
11 months, 2 weeks ago
Another requirement is to keep it as simple as possible. C is correct
upvoted 1 times
...
...
Kadhem
1 year ago
Selected Answer: C
i think the right response is C. https://cloud.google.com/functions/docs/calling/storage https://cloud.google.com/workflows/docs/calling-run-functions#:~:text=Calling%20or%20invoking%20a%20Google,the%20call%20field%20to%20http.
upvoted 1 times
...
xiaofeng_0226
1 year ago
Selected Answer: B
select B
upvoted 2 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 ...