Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 1 Question 122 Discussion

Posted by Nikita on May 28, 2026 at 01:19 AM

Your company uses Pub/Sub for event-driven workloads. You have a subscription named email-updates attached to the new-orders topic. You need to fetch and acknowledge waiting messages from this subscription. What should you do?

Suggested Answer: C

The goal is to pull (fetch) messages from a subscription and acknowledge them.

The gcloud pubsub subscriptions **pull** command retrieves messages from a specified subscription.

The --auto-ack flag instructs the command to automatically acknowledge the messages after they are successfully retrieved, combining the two required actions into one command.


'Pulls one or more messages from the specified subscription. To acknowledge the pulled messages, use the --auto-ack flag.'

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
17 comments · newest first
TI
Timothy 1 month ago
C covers both fetching and acknowledging, perfect!
AM
Amira 1 month ago
D is just listing subscriptions, not pulling messages.
DE
Delfina 1 month ago
Right, we need to acknowledge them too.
HI
Hillary 2 months ago
Option B won't help us fetch messages at all.
LO
Lorrine 2 months ago
I agree, C simplifies the process.
JE
Jettie 2 months ago
Option A seems unnecessary for just fetching messages.
DY
Dyan 2 months ago
Yeah, pulling messages with auto-ack is efficient.
DE
Denae 2 months ago
I think option C is the best choice.
CH
Charlene 2 months ago
I thought seeking was for resetting offsets, not pulling messages.
NA
Natalie 3 months ago
I disagree, B is more about describing the topic, not fetching messages.
HA
Han 3 months ago
Wait, can you really auto-ack with that command? Sounds risky!
GA
Gayla 3 months ago
Yeah, C makes the most sense for pulling messages.
AL
Alesia 3 months ago
I think option C is the right choice.
ME
Melissia 3 months ago
I’m confused about the difference between pulling and seeking. I guess I need to double-check what each command does before answering.
TH
Theron 4 months ago
I practiced a question like this, and I feel like pulling messages is definitely the way to go. So, C seems like the best choice.
WI
Winifred 4 months ago
I'm not entirely sure, but I remember something about using the seek command in a similar question. Could that be relevant here?
ST
Stefania 4 months ago
I think option C sounds right because it mentions pulling messages and auto-acknowledging them, which is what we need to do.
0/2000 characters

Save Cancel