Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: myex65

Home > Confluent > Confluent Certified Administrator > CCAAK

CCAAK Confluent Certified Administrator for Apache Kafka Question and Answers

Question # 4

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

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.

Full Access
Question # 5

You are using Confluent Schema Registry to provide a RESTful interface for storing and retrieving schemas.

Which types of schemas are supported? (Choose three.)

A.

Avro

B.

gRPC

C.

JSON

D.

Thrift

E.

Protobuf

Full Access
Question # 6

Your organization has a mission-critical Kafka cluster that must be highly available. A Disaster Recovery (DR) cluster has been set up using Replicator, and data is continuously being replicated from source cluster to the DR cluster. However, you notice that the message on offset 1002 on source cluster does not seem to match with offset 1002 on the destination DR cluster.

Which statement is correct?

A.

The DR cluster is lagging behind updates; once the DR cluster catches up, the messages will match.

B.

The message on DR cluster got over-written accidently by another application.

C.

The offsets for the messages on the source, destination cluster may not match.

D.

The message was updated on source cluster, but the update did not flow into destination DR cluster and errored.

Full Access
Question # 7

Kafka Connect is running on a two node cluster in distributed mode. The connector is a source connector that pulls data from Postgres tables (users/payment/orders), writes to topics with two partitions, and with replication factor two. The development team notices that the data is lagging behind.

What should be done to reduce the data lag*?

The Connector definition is listed below:

{

"name": "confluent-postgresql-source",

"connector class": "PostgresSource",

"topic.prefix": "postgresql_",

& nbsp;& nbsp;& nbsp;…

"db.name": "postgres",

"table.whitelist": "users.payment.orders”,

"timestamp.column.name": "created_at",

"output.data format": "JSON",

"db.timezone": "UTC",

"tasks.max": "1"

}

A.

Increase the number of Connect Nodes.

B.

Increase the number of Connect Tasks (tasks max value).

C.

Increase the number of partitions.

D.

Increase the replication factor and increase the number of Connect Tasks.

Full Access
Question # 8

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?

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.

Full Access
Question # 9

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

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

Full Access
Question # 10

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

A.

SASL/PLAIN

B.

SASL/SAML20

C.

SASL/GSSAPI (Kerberos)

D.

SASL/OAUTHBEARER

E.

SASL/OTP

Full Access
Question # 11

When using Kafka ACLs, when is the resource authorization checked?

A.

Each time the resource is accessed.

B.

The initial time the resource is accessed.

C.

Each time the resource is accessed within the configured authorization interval.

D.

When the client connection is first established.

Full Access
Question # 12

You have a Kafka cluster with topics t1 and t2. In the output below, topic t2 shows Partition 1 with a leader “-1”.

...

$ kafka-topics --zookeeper localhost:2181 --describe --topic t2

Topic: t2 Partition: 1 Leader: -1 Replicas: 1 Isr:

What is the most likely reason for this?

A.

Broker 1 failed.

B.

Leader shows “-1” while the log cleaner thread runs on Broker 1.

C.

Compression has been enabled on Broker 1.

D.

Broker 1 has another partition clashing with the same name.

Full Access
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?

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

Full Access
Question # 14

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

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.

Full Access
Question # 15

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?

A.

75 GB

B.

250 GB

C.

300 GB

D.

750 GB

Full Access
Question # 16

Which secure communication is supported between the REST proxy and REST clients?

A.

TLS (HTTPS)

B.

MD5

C.

SCRAM

D.

Kerberos

Full Access