Summer Sale- Special Discount Limited Time 65% 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

Question 1

When a broker goes down, what will the Controller do?

Options:

A.

Wait for a follower to take the lead.

B.

Trigger a leader election among the remaining followers to distribute leadership.

C.

Become the leader for the topic/partition that needs a leader, pending the broker return in the cluster.

D.

Automatically elect the least loaded broker to become the leader for every orphan's partitions.

Question 2

Why does Kafka use ZooKeeper? (Choose two.)

Options:

A.

To access information about the leaders and partitions

B.

To scale the number of brokers in the cluster

C.

To prevent replication between clusters

D.

For controller election

Question 3

How does Kafka guarantee message integrity after a message is written on a disk?

Options:

A.

A message can be edited by the producer, producing to the message offset.

B.

A message cannot be altered once it has been written.

C.

A message can be grouped with messages sharing the same key to improve read performance.

D.

Only message metadata can be altered using command line (CLI) tools.

Question 4

What does Kafka replication factor provide? (Choose two.)

Options:

A.

Performance

B.

Durability

C.

Availability

D.

Security

Question 5

By default, what do Kafka broker network connections have?

Options:

A.

No encryption, no authentication and no authorization

B.

Encryption, but no authentication or authorization

C.

No encryption, no authorization, but have authentication

D.

Encryption and authentication, but no authorization

Question 6

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 7

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 8

Which connector type takes data from a topic and sends it to an external data system?

Options:

A.

Sink Connector

B.

Source Connector

C.

Streams Connector

D.

Syslog Connector

Question 9

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 10

Per customer business requirements, a system’s high availability is more important than message reliability.

Which of the following should be set?

Options:

A.

Unclean leader election should be enabled.

B.

The number of brokers in the cluster should be always odd (3, 5, 7 and so on).

C.

The linger.ms should be set to '0'.

D.

Message retention.ms should be set to -1.

Question 11

Which property in broker configuration specifies that a broker belongs to a particular rack?

Options:

A.

client.rack

B.

broker.rack

C.

zookeeper.rack

D.

kafka.rack

Question 12

Which model does Kafka use for consumers?

Options:

A.

Push

B.

Publish

C.

Pull

D.

Enrollment

Question 13

A customer has a use case for a ksqlDB persistent query. You need to make sure that duplicate messages are not processed and messages are not skipped.

Which property should you use?

Options:

A.

processing.guarantee=exactly_once

B.

ksql.streams auto offset.reset=earliest

C.

ksql.streams auto.offset.reset=latest

D.

ksql.fail.on.production.error=false

Question 14

Where are Apache Kafka Access Control Lists stored?

Options:

A.

Broker

B.

ZooKeeper

C.

Schema Registry

D.

Connect

Question 15

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 16

A developer is working for a company with internal best practices that dictate that there is no single point of failure for all data stored.

What is the best approach to make sure the developer is complying with this best practice when creating Kafka topics?

Options:

A.

Set ‘min.insync.replicas’ to 1.

B.

Use the parameter --partitions=3 when creating the topic.

C.

Make sure the topics are created with linger.ms=0 so data is written immediately and not held in batch.

D.

Set the topic replication factor to 3.

Page: 1 / 5
Total 54 questions