Confluentは2025年最新のCCDAKテスト解説(更新されたのは200問があります) [Q72-Q92]

Share

Confluentは2025年最新のCCDAKテスト解説(更新されたのは200問があります)

CCDAK試験問題集を提供していますConfluent問題


Confluent CCDAK認定試験は、Kafkaおよび関連技術の専門知識を実証したい開発者にとって不可欠な認定です。この認定は、Kafkaの開発者の知識とスキルをテストするように設計されており、Kafka開発者の標準としてグローバルに認識されています。試験に合格した開発者は、Kafkaの専門知識を実証でき、スキルと知識に自信を持つことができます。

 

質問 # 72
When using plain JSON data with Connect, you see the following error messageorg.apache.kafka.connect.errors.DataExceptionJsonDeserializer with schemas.enable requires "schema" and "payload" fields and may not contain additional fields. How will you fix the error?

  • A. Set key.converter.schemas.enable and value.converter.schemas.enable to false
  • B. Set key.converter, value.converter to AvroConverter and the schema registry url
  • C. Use Single Message Transforms to add schema and payload fields in the message
  • D. Set key.converter, value.converter to JsonConverter and the schema registry url

正解:A

解説:
You will need to set the schemas.enable parameters for the converter to false for plain text with no schema.


質問 # 73
Which configuration is used to determine which directory the connectors are stored in?

  • A. status.storage.topic
  • B. plugin.path
  • C. offset.storage.topic
  • D. group.id

正解:B


質問 # 74
You are using JDBC source connector to copy data from 3 tables to three Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:D

解説:
here, we have three tables, but the max.tasks is 2, so that's the maximum number of tasks that will be created


質問 # 75
How do Kafka brokers ensure great performance between the producers and consumers? (select two)

  • A. It transforms the messages into a binary format
  • B. It compresses the messages as it writes to the disk
  • C. It leverages zero-copy optimisations to send data straight from the page-cache
  • D. It does not transform the messages
  • E. It buffers the messages on disk, and sends messages from the disk reads

正解:C、D

解説:
Kafka transfers data with zero-copy and sends the raw bytes it receives from the producer straight to the consumer, leveraging the RAM available as page cache


質問 # 76
A Zookeeper ensemble contains 3 servers. Over which ports the members of the ensemble should be able to communicate in default configuration? (select three)

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4
  • F. 5

正解:B、E、F

解説:
2181 - client port, 2888 - peer port, 3888 - leader port


質問 # 77
You are doing complex calculations using a machine learning framework on records fetched from a Kafka topic. It takes more about 6 minutes to process a record batch, and the consumer enters rebalances even though it's still running. How can you improve this scenario?

  • A. Increase session.timeout.ms to 600000
  • B. Increase heartbeat.interval.ms to 600000
  • C. Add consumers to the consumer group and kill them right away
  • D. Increase max.poll.interval.ms to 600000

正解:D

解説:
Here, we need to change the setting max.poll.interval.ms (default 300000) to its double in order to tell Kafka a consumer should be considered dead if the consumer only if it hasn't called the .poll() method in 10 minutes instead of 5.


質問 # 78
To allow consumers in a group to resume at the previously committed offset, I need to set the proper value for...

  • A. enable.auto.commit
  • B. group.id
  • C. auto.offset.resets
  • D. value.deserializer

正解:B

解説:
Setting a group.id that's consistent across restarts will allow your consumers part of the same group to resume reading from where offsets were last committed for that group


質問 # 79
There are five brokers in a cluster, a topic with 10 partitions and replication factor of 3, and a quota of producer_bytes_rate of 1 MB/sec has been specified for the client. What is the maximum throughput allowed for the client?

  • A. 5 MB/s
  • B. 0.33 MB/s
  • C. 10 MB/s
  • D. 1 MB/s

正解:A

解説:
Each producer is allowed to produce @ 1MB/s to a broker. Max throughput 5 * 1MB, because we have 5 brokers.


質問 # 80
What Java library is KSQL based on?

  • A. REST Proxy
  • B. Schema Registry
  • C. Kafka Connect
  • D. Kafka Streams

正解:D

解説:
KSQL is based on Kafka Streams and allows you to express transformations in the SQL language that get automatically converted to a Kafka Streams program in the backend


質問 # 81
A stream processing application is tracking the user activity of online shopping carts. The application tracks items added to the cart, items removed from the cart, and items ordered from the cart throughout the day for each user.
You need to capture the data to identify possible periods of user inactivity.
Which type of Kafka Streams window should you use?

  • A. Hopping
  • B. Tumbling
  • C. Session
  • D. Sliding

正解:C


質問 # 82
while (true) {
ConsumerRecords<String, String> records = consumer.poll(100);
try {
consumer.commitSync();
} catch (CommitFailedException e) {
log.error("commit failed", e)
}
for (ConsumerRecord<String, String> record records)
{
System.out.printf("topic = %s, partition = %s, offset =
%d, customer = %s, country = %s
",
record.topic(), record.partition(),
record.offset(), record.key(), record.value());
}
}
What kind of delivery guarantee this consumer offers?

  • A. At-least-once
  • B. Exactly-once
  • C. At-most-once

正解:C

解説:
Here offset is committed before processing the message. If consumer crashes before processing the message, message will be lost when it comes back up.


質問 # 83
Which KSQL queries write to Kafka?

  • A. CREATE STREAM AS SELECT and CREATE TABLE AS SELECT
  • B. SHOW STREAMS and EXPLAIN <query> statements
  • C. CREATE STREAM WITH <topic> and CREATE TABLE WITH <topic>
  • D. COUNT and JOIN

正解:A、C

解説:
SHOW STREAMS and EXPLAIN <query> statements run against the KSQL server that the KSQL client is connected to. They don't communicate directly with Kafka. CREATE STREAM WITH <topic> and CREATE TABLE WITH <topic> write metadata to the KSQL command topic. Persistent queries based on CREATE STREAM AS SELECT and CREATE TABLE AS SELECT read and write to Kafka topics. Non-persistent queries based on SELECT that are stateless only read from Kafka topics, for example SELECT * FROM foo WHERE. Non-persistent queries that are stateful read and write to Kafka, for example, COUNT and JOIN. The data in Kafka is deleted automatically when you terminate the query with CTRL-C.


質問 # 84
You have a Kafka client application that has real-time processing requirements.
What are the most important metrics available in Kafka that you should monitor?

  • A. Consumer lag between the brokers and the consumers
  • B. Aggregate incoming byte rate
  • C. Total time to serve requests to replica followers
  • D. Consumer heartbeat rate to the group coordinator

正解:A


質問 # 85
Which function does ZooKeeper offer in Kafka?

  • A. Authentication
  • B. Partition assignment
  • C. Controller re-election
  • D. Consumer group rebalancing

正解:C


質問 # 86
What is returned by a producer.send() call in the Java API?

  • A. Future<ProducerRecord> object
  • B. Future<RecordMetadata> object
  • C. Unit
  • D. A Boolean indicating if the call succeeded

正解:B

解説:
Seehttps://kafka.apache.org/21/javadoc/org/apache/kafka/clients/producer/KafkaProducer.html


質問 # 87
You are managing the schema of data in a Kafka Topic using Schema Registry. You need to add new fields to the message schema. You need to select a compatibility type that allows you to add required fields, delete optional fields, and allows consumers to read all previous versions of the schema.
Which compatibility type is correct?

  • A. FULL_TRANSITIVE
  • B. FORWARD
  • C. FORWARD_TRANSITIVE
  • D. BACKWARD

正解:A


質問 # 88
To produce data to a topic, a producer must provide the Kafka client with...

  • A. the list of brokers that have the data, the topic name and the partitions list
  • B. any broker from the cluster and the topic name and the partitions list
  • C. all the brokers from the cluster and the topic name
  • D. any broker from the cluster and the topic name

正解:D

解説:
All brokers can respond to a Metadata request, so a client can connect to any broker in the cluster and then figure out on its own which brokers to send data to.


質問 # 89
is KSQL ANSI SQL compliant?

  • A. No
  • B. Yes

正解:A

解説:
KSQL is not ANSI SQL compliant, for now there are no defined standards on streaming SQL languages


質問 # 90
The rule "same key goes to the same partition" is true unless...

  • A. the replication factor changes
  • B. the number of partition changes
  • C. the number of producer changes
  • D. the number of kafka broker changes

正解:B

解説:
Increasing the number of partition causes new messages keys to get hashed differently, and breaks the guarantee "same keys goes to the same partition". Kafka logs are immutable and the previous messages are not re-shuffled.


質問 # 91
Which of these joins does not require input topics to be sharing the same number of partitions?

  • A. KStream-GlobalKTable
  • B. KStream-KStream join
  • C. KTable-KTable join
  • D. KStream-KTable join

正解:A

解説:
GlobalKTables have their datasets replicated on each Kafka Streams instance and therefore no repartitioning is required


質問 # 92
......

CCDAK認定ガイドPDFは100%カバー率でリアル試験問題:https://www.jpntest.com/shiken/CCDAK-mondaishu

合格させるCCDAKレビューガイド、信頼され続けるCCDAKテストエンジン:https://drive.google.com/open?id=1hl7XrgUM5vRCeQOdTWIM5fNCkGqaFH5E

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡