
Answer-first summary for fast verification
Answer: Deploy a Kafka cluster on GCE VM Instances. Configure your on-prem cluster to mirror your topics to the cluster running in GCE. Use a Dataproc cluster or Dataflow job to read from Kafka and write to GCS.
The question specifies that the preferred replication method is mirroring and that the goal is to avoid deploying Kafka Connect plugins. Option A meets these requirements by setting up a Kafka cluster on Google Compute Engine (GCE) VM Instances, configuring the on-prem cluster to mirror topics to this cluster, and using a Dataproc cluster or Dataflow job to read from Kafka and write to Google Cloud Storage (GCS). This avoids the need for Kafka Connect plugins. Other options involve using the Pub/Sub Kafka connector, which relies on Kafka Connect plugins, making them unsuitable given the specified constraints.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are managing an Apache Kafka cluster hosted on-premises, which currently stores topics comprising web application logs. Your objective is to replicate this data to Google Cloud for subsequent analysis using BigQuery and Cloud Storage. The desired replication strategy is mirroring, as this approach eliminates the need to deploy Kafka Connect plugins. What steps should you take to accomplish this?
A
Deploy a Kafka cluster on GCE VM Instances. Configure your on-prem cluster to mirror your topics to the cluster running in GCE. Use a Dataproc cluster or Dataflow job to read from Kafka and write to GCS.
B
Deploy a Kafka cluster on GCE VM Instances with the Pub/Sub Kafka connector configured as a Sink connector. Use a Dataproc cluster or Dataflow job to read from Kafka and write to GCS.
C
Deploy the Pub/Sub Kafka connector to your on-prem Kafka cluster and configure Pub/Sub as a Source connector. Use a Dataflow job to read from Pub/Sub and write to GCS.
D
Deploy the Pub/Sub Kafka connector to your on-prem Kafka cluster and configure Pub/Sub as a Sink connector. Use a Dataflow job to read from Pub/Sub and write to GCS.