Google Cloud Digital Leader — Question 289

An organization wants to write and run small pieces of code in a serverless way that respond to events like huge discounts.
Which Google Cloud compute solution should the organization use?

Answer options

Correct answer: B

Explanation

Cloud Functions is specifically designed for running small pieces of code in response to events without managing servers, making it ideal for the organization's needs. In contrast, Google Kubernetes Engine and Compute Engine require more management and infrastructure, while Bare Metal Solution is not serverless and is intended for workloads needing dedicated hardware.