Easy1 markMultiple Choice
Domain 3.3: Deploying Cloud Run and Cloud FunctionsCloud FunctionsServerlessDomain 3.3

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?

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