Easy1 markMultiple Choice
GCP ACE · Question 25 · Domain 3.3: Deploying Cloud Run and Cloud Functions
You need to execute a lightweight piece of code every time a new file is uploaded to a specific Cloud Storage bucket. Which service is the MOST appropriate choice?
You need to execute a lightweight piece of code every time a new file is uploaded to a specific Cloud Storage bucket. Which service is the MOST appropriate choice?
Answer options:
A.
Compute Engine
B.
Cloud Run
C.
Cloud Functions
D.
App Engine
How to approach this question
Match 'lightweight code' and 'event-driven (file upload)' with the appropriate serverless service.
Full Answer
C.Cloud Functions✓ Correct
Cloud Functions is a serverless execution environment for building and connecting cloud services. It is designed to run simple, single-purpose functions that are attached to events emitted from your cloud infrastructure, such as a file upload to Cloud Storage.
Common mistakes
Choosing Compute Engine and trying to build a custom polling mechanism.
Practice the full GCP Associate Cloud Engineer Practice Exam 1
50 questions · hints · full answers · grading
More questions from this exam
Q01What is the highest level of the Google Cloud resource hierarchy?EasyQ02You need to enable the Compute Engine API in a new project using the command line. Which command ...EasyQ03You are setting up a new GCP environment. You need to grant a group of developers access to view ...MediumQ04You want to receive an email notification when your GCP spending exceeds $1000 this month. What s...EasyQ05You need to analyze your GCP billing data using complex SQL queries to understand cost trends acr...Medium
Expert