Summer Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Confluent CCAAK Confluent Certified Administrator for Apache Kafka Exam Practice Test

Page: 1 / 5
Total 54 questions

Confluent Certified Administrator for Apache Kafka Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$43.75  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$38.5  $109.99
Question 1

What are benefits to gracefully shutting down brokers? (Choose two.)

Options:

A.

It will sync all its logs to disk to avoid needing to do any log recovery when it restarts.

B.

It will migrate any partitions the server is the leader for to other replicas prior to shutting down.

C.

It will automatically re-elect leaders on restart.

D.

It will balance the partitions across brokers before restarting.

Question 2

A broker in the Kafka cluster is currently acting as the Controller.

Which statement is correct?

Options:

A.

It can have topic partitions.

B.

It is given precedence for replication to and from replica followers.

C.

All consumers are allowed to fetch messages only from this server.

D.

It is responsible for sending leader information to all producers.

Question 3

What is the correct permission check sequence for Kafka ACLs?

Options:

A.

Super Users → Deny ACL → Allow ACL → Deny

B.

Allow ACL → Deny ACL → Super Users → Deny

C.

Deny ACL → Deny → Allow ACL → Super Users

D.

Super Users → Allow ACL → Deny ACL → Deny

Question 4

A Kafka cluster with three brokers has a topic with 10 partitions and a replication factor set to three. Each partition stores 25 GB data per day and data retention is set to 24 hours.

How much storage will be consumed by the topic on each broker?

Options:

A.

75 GB

B.

250 GB

C.

300 GB

D.

750 GB

Question 5

Which use cases would benefit most from continuous event stream processing? (Choose three.)

Options:

A.

Fraud detection

B.

Context-aware product recommendations for e-commerce

C.

End-of-day financial settlement processing

D.

Log monitoring/application fault detection

E.

Historical dashboards

Question 6

A company is setting up a log ingestion use case where they will consume logs from numerous systems. The company wants to tune Kafka for the utmost throughput.

In this scenario, what acknowledgment setting makes the most sense?

Options:

A.

acks=0

B.

acks=1

C.

acks=all

D.

acks=undefined

Question 7

The Consumer property ‘auto offset reset’ determines what to do if there is no valid offset for a Consumer Group.

Which scenario is an example of a valid offset and therefore the ‘auto.offset.reset’ does NOT apply?

Options:

A.

The Consumer offset is greater than the last offset in the partition (log end offset).

B.

The Consumer offset is less than the smallest offset in the partition (log start offset).

C.

The Consumer Group started for the first time.

D.

When an offset points to a message that has been removed by compaction but is still within the current partition.offset range.

Question 8

If a broker's JVM garbage collection takes too long, what can occur?

Options:

A.

There will be a trigger of the broker's log cleaner thread.

B.

ZooKeeper believes the broker to be dead.

C.

There is backpressure to, and pausing of, Kafka clients.

D.

Log files written to disk are loaded into the page cache.

Question 9

Which ksqlDB statement produces data that is persisted into a Kafka topic?

Options:

A.

SELECT (Pull Query)

B.

SELECT (Push Query)

C.

INSERT VALUES

D.

CREATE TABLE

Question 10

What is the relationship between topics and partitions? (Choose two.)

Options:

A.

A topic always has one partition.

B.

A topic may have more than one partition.

C.

A partition is always linked to a single topic.

D.

A partition may have more than one topic.

E.

There is no relationship between topics and partitions.

Question 11

You have a cluster with a topic t1 that already has uncompressed messages. A new Producer starts sending messages to t1 with compression enabled.

Which condition would allow this?

Options:

A.

If the new Producer is configured to use compression.

B.

Never, because topic t1 already has uncompressed messages.

C.

Only if Kafka is also enabled for encryption.

D.

Only if the new Producer disables batching.

Question 12

A company has an existing Kafka cluster running without SSL/TLS enabled. The customer wants to enable SSL on brokers to secure data in transit, but they would like to give applications connecting to this cluster some time to migrate to using SSL connection instead of putting a hard stop.

Which solution will meet the customer's requirements?

Options:

A.

Enable SSL on the current Listener, and do not enable mTLS.

B.

Modify the advertised listeners setting on brokers to use SSL.

C.

Create a new listener with SSL enabled.

D.

Enable SSL on the current listener, and do not implement SSL on application side.

Question 13

Which statements are correct about partitions? (Choose two.)

Options:

A.

A partition in Kafka will be represented by a single segment on a disk.

B.

A partition is comprised of one or more segments on a disk.

C.

All partition segments reside in a single directory on a broker disk.

D.

A partition size is determined after the largest segment on a disk.

Question 14

Kafka broker supports which Simple Authentication and Security Layer (SASL) mechanisms for authentication? (Choose three.)

Options:

A.

SASL/PLAIN

B.

SASL/SAML20

C.

SASL/GSSAPI (Kerberos)

D.

SASL/OAUTHBEARER

E.

SASL/OTP

Question 15

An employee in the reporting department needs assistance because their data feed is slowing down. You start by quickly checking the consumer lag for the clients on the data stream.

Which command will allow you to quickly check for lag on the consumers?

Options:

A.

bin/kafka-consumer-lag.sh

B.

bin/kafka-consumer-groups.sh

C.

bin/kafka-consumer-group-throughput.sh

D.

bin/kafka-reassign-partitions.sh

Question 16

In certain scenarios, it is necessary to weigh the trade-off between latency and throughput. One method to increase throughput is to configure batching of messages.

In addition to batch.size, what other producer property can be used to accomplish this?

Options:

A.

sendbufferbytes

B.

linger.ms

C.

compression

D.

delivery.timeout.ms

Page: 1 / 5
Total 54 questions