Search Header Logo

GCP_PDE_Pub_Sub

Authored by CloudThat Technologies

Professional Development

Professional Development

Used 1+ times

GCP_PDE_Pub_Sub
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A large enterprise using GCP has recently acquired a startup that has an IoT platform. The acquiring company wants to migrate the IoT platform from an on-premises data center to GCP and wants to use Google Cloud managed services whenever possible. What GCP service would you recommend for ingesting IoT data?

Cloud Storage

Cloud SQL

Cloud Pub/Sub

Cloud Spanner

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You are using Cloud Pub/Sub to buffer records from an application that generates a stream

of data based on user interactions with a website. The messages are read by another service

that transforms the data and sends it to a machine learning model that will use it for train-

ing. A developer has just released some new code, and you notice that messages are sent

repeatedly at 10-minute intervals. What might be the cause of this problem?

The new code release changed the subscription ID.

The new code release changed the topic ID.

The new code changed the subscription from pull to push.

The new code disabled acknowledgments from the consumer.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is considered a good practice to make your processing logic idempotent when consuming messages from a Cloud Pub/Sub topic. Why is that?

Messages may be delivered multiple times.

Messages may be received out of order.

Messages may be delivered out of order.

A consumer service may need to wait extended periods of time between the delivery of

messages.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Your department is migrating some stream processing to GCP and keeping some on premises. You are tasked with designing a way to share data from on-premises pipelines that use Kafka with GPC data pipelines that use Cloud Pub/Sub. How would you do that?

Stream data to a Cloud Storage bucket and read from there

Use CloudPubSubConnector and Kafka Connect

Write a service to read from Kafka and write to Cloud Pub/Sub

Use Cloud Pub/Sub Import Service

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Inventory team's subscriber only receives messages that are published after the subscription was created.

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development