BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 4 Question 127 Discussion

Posted by Reuben on Sep 27, 2026 at 06:34 AM

You have a number of applications that have bursty workloads and are heavily dependent on topics to decouple publishing systems from consuming systems. Your company would like to go serverless to enable developers to focus on writing code without worrying about infrastructure. Your solution architect has already identified Cloud Pub/Sub as a suitable alternative for decoupling systems. You have been asked to identify a suitable GCP Serverless service that is easy to use with Cloud Pub/Sub. You want the ability to scale down to zero when there is no traffic in order to minimize costs. You want to follow Google recommended practices. What should you suggest?

Suggested Answer: D

Cloud Functions is Google Cloud's event-driven serverless compute platform that lets you run your code locally or in the cloud without having to provision servers. Cloud Functions scales up or down, so you pay only for compute resources you use. Cloud Functions have excellent integration with Cloud Pub/Sub, lets you scale down to zero and is recommended by Google as the ideal serverless platform to use when dependent on Cloud Pub/Sub.

'If you're building a simple API (a small set of functions to be accessed via HTTP or Cloud Pub/Sub), we recommend using Cloud Functions.'

Ref:https://cloud.google.com/serverless-options


Get Premium Associate Cloud Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
ED
Edwin 4 days ago
Cloud Run could work too, but it’s more complex. I prefer simplicity with Cloud Functions.
LO
Lorean 9 days ago
I agree, Cloud Functions is easy to integrate with Cloud Pub/Sub. Perfect for bursty workloads.
MA
Marshall 15 days ago
I think Cloud Functions is the best choice. It's serverless and scales down to zero.
MA
Marylyn 20 days ago
I’m leaning towards Cloud Run, but not sure if it's as simple as Functions.
JE
Jessenia 25 days ago
App Engine Standard might be overkill for this use case.
CL
Claribel 1 month ago
Wait, can Cloud Run really scale down to zero?
JE
Jesusita 1 month ago
Totally agree, it's super easy to use with Pub/Sub!
DO
Dorinda 1 month ago
I think Cloud Functions is the best fit here.
ST
Stephaine 2 months ago
I recall that Cloud Run is serverless and integrates well with Pub/Sub, but I’m not confident if it’s the only option we should consider.
GE
German 2 months ago
I practiced a similar question where App Engine Standard was mentioned, but I feel like it might not scale down as efficiently as the others.
AS
Ashlyn 2 months ago
I'm not entirely sure, but I remember something about Cloud Run being flexible with containerized applications. Could it work here too?
JO
Johnetta 2 months ago
I think Cloud Functions might be the best choice since it's designed for event-driven architectures and can scale down to zero.
0/2000 characters

Save Cancel