Topic 1 Question 263
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?
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.
Create an Eventarc trigger that monitors your Cloud Storage bucket for a specific filename, and set the target as Cloud Run.
Configure a Cloud Function that executes your application and is triggered when an object is updated in Cloud Storage.
Configure a Firebase function that executes your application and is triggered when an object is updated in Cloud Storage.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: B
select B
👍 1xiaofeng_02262023/11/12 - 正解だと思う選択肢: C👍 1Kadhem2023/11/26
- 正解だと思う選択肢: 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.
👍 1plutonians1232023/12/02
シャッフルモード