Google Professional Cloud Developer exam dumps

Google Professional Cloud Developer practice question 17 of 481

Professional Cloud Developer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Developer Question 17

Single answerGoogle Cloud Platform

You are building a serverless application to process images uploaded to a Google Cloud Storage bucket. The application must quickly process the images and run custom code for each image upload event. Scalability and low operational overhead are key priorities. Which Google Cloud platform solution is the most appropriate for this use case?

  1. A

    Use Compute Engine to deploy virtual machines that process image uploads by running custom code.

  2. B

    Use Google Kubernetes Engine (GKE) to deploy and manage containers that process the image uploads.

  3. C

    Use Cloud Run to deploy serverless containers that process the images in response to bucket events.

  4. D

    Use Cloud Functions to trigger and execute custom code in response to bucket events.

Show answer and explanation

Correct answer: D

Explanation

Cloud Functions is the best fit for this scenario because it is a fully managed, serverless compute platform that is specifically designed to trigger and execute custom code in response to events, such as file uploads to a Cloud Storage bucket. It eliminates the need for infrastructure management and automatically scales based on workload, fulfilling the requirements of scalability and low operational overhead.

  • A. Incorrect.

    While Compute Engine can handle the task, it requires significant operational overhead for provisioning, scaling, and managing VMs, which is not aligned with the requirement for low operational overhead.

  • B. Incorrect.

    Google Kubernetes Engine (GKE) provides container orchestration, but it also introduces additional complexity for managing clusters and scaling, which is unnecessary for this serverless use case.

  • C. Incorrect.

    Cloud Run allows you to deploy serverless containers, but it is better suited for HTTP-based event processing rather than direct bucket event triggers. A more straightforward and serverless approach is available.

  • D. Correct.

    Cloud Functions is the optimal choice here because it is a serverless solution with built-in support for triggering custom code in response to Google Cloud Storage bucket events, requiring minimal operational overhead and offering automatic scaling.

Timed practice exam

Take a Google Professional Cloud Developer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam