Google Cloud Professional Cloud DevOps Engineer — Question 176
You work for a company that offers a free photo processing application. You are designing the infrastructure for the backend service that processes the photos. The service:
• Uses Cloud Storage to store both unprocessed and processed photos.
• Can resume processing photos in the event of a failure.
• Is not suitable for containerization.
There is no SLO for the time taken to process a photo. You need to choose the most cost-effective solution for running the service. What should you do?
Answer options
- A. Deploy the service by using Cloud Run.
- B. Deploy the service by using standard VMs with a 3-year committed use discount.
- C. Deploy the service by using GKE.
- D. Deploy the service by using Spot VMs.
Correct answer: D
Explanation
The correct answer is D, deploying the service using Spot VMs, as they are a cost-effective option for workloads that can tolerate interruptions. The other options, such as standard VMs and GKE, may incur higher costs and are not as economical for a service without strict processing time requirements. Cloud Run is also not suitable due to the non-containerized nature of the service.