Exam: Cloud Digital Leader 0 Likes
An organization wants to write and run small pieces of code in a (Digital Leader)
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?
A) Google Kubernetes Engine
B) Cloud Functions
C) Bare Metal Solution
D) Compute Engine
Solution
Correct answer: B) Cloud Functions.
A) Google Kubernetes Engine (GKE) is a managed Kubernetes service that allows you to deploy, manage, and scale containerized applications using Kubernetes. While Kubernetes is a powerful platform for container orchestration, it's not specifically designed for serverless computing like Cloud Functions.
B) Cloud Functions is a serverless compute service that allows you to write and deploy event-driven functions that automatically scale based on demand. It supports various event sources, including HTTP requests, Cloud Storage events, Pub/Sub messages, and more. Cloud Functions is ideal for running small pieces of code in response to events, such as processing huge discounts triggered by specific events in your application.
C) Bare Metal Solution is a service that provides access to Google Cloud infrastructure in a bare metal configuration, allowing you to run specialized workloads that require direct hardware access. While it offers flexibility for running workloads with specific requirements, it's not designed for serverless computing or event-driven scenarios like Cloud Functions.
D) Compute Engine is a service that provides virtual machines (VMs) for running applications and workloads. While it offers flexibility and control over your computing environment, it requires you to manage VM instances manually and doesn't offer the serverless execution model provided by Cloud Functions.
Therefore, B) Cloud Functions is the most appropriate Google Cloud compute solution for the organization's requirement of writing and running small pieces of code in a serverless manner in response to events like huge discounts.
Category: Innovating with data and Google Cloud