View Full Confluent CCDAK Exam Dumps and Practice Test Dumps
Question 181
Which ksqlDB query continuously processes new incoming records?
- Pull query
- Static query
- Snapshot query
- Persistent query
Correct Answer: 4
Explanation:
A ksqlDB persistent query continuously processes incoming records and writes its results to a Kafka topic or materialized view. It remains active after creation and automatically processes new data as it arrives. Persistent queries are commonly used for transformations, filtering, aggregations, and stream enrichment. This differs from a pull query, which retrieves current materialized data when requested. Persistent queries are useful when downstream applications need continuously updated results rather than having to repeatedly initiate processing themselves.
Question 182
Which ksqlDB query retrieves current materialized data on demand?
- Pull query
- Persistent query
- Streaming query
- Continuous query
Correct Answer: 1
Explanation:
A ksqlDB pull query retrieves current data from a materialized table when an application explicitly requests it. It is designed for request-response access rather than continuously emitting results. This makes pull queries useful when an application needs the current state of an entity, such as an account balance or inventory value. The underlying table must be queryable and appropriately materialized. Unlike a persistent query, a pull query does not continuously process incoming events into a new result stream.
Question 183
Which ksqlDB syntax requests continuously emitted query results?
- FETCH UPDATES
- STREAM RESULTS
- EMIT CHANGES
- RETURN EVENTS
Correct Answer: 3
Explanation:
EMIT CHANGES tells ksqlDB to continuously return updates as the underlying stream or table changes. It is particularly relevant when executing queries interactively and the user wants to observe new results as records arrive. Without continuous emission semantics, a query may behave differently depending on its type and context. This syntax is useful for monitoring evolving data, testing stream-processing logic, and observing live results during development. It reflects ksqlDB’s event-driven processing model, where changes can be propagated as new Kafka records arrive.
Question 184
Which ksqlDB window groups events into fixed non-overlapping periods?
- Sliding window
- Tumbling window
- Session window
- Dynamic window
Correct Answer: 2
Explanation:
A tumbling window divides streaming data into fixed-duration intervals that do not overlap. Each event is assigned to one window based on its timestamp. This is useful for calculations such as hourly sales totals, five-minute traffic counts, or periodic device measurements. Because the intervals are fixed and independent, tumbling windows provide predictable boundaries for aggregations. They differ from hopping windows, which overlap, and session windows, which are determined by periods of activity and inactivity.
Question 185
Which Schema Registry strategy uses topic and record name together?
- TopicNameStrategy
- RecordNameStrategy
- DefaultSubjectStrategy
- TopicRecordNameStrategy
Correct Answer: 4
Explanation:
TopicRecordNameStrategy constructs Schema Registry subjects using both the Kafka topic and the record’s fully qualified name. This can be useful when multiple record types are associated with topics and subject organization needs to distinguish both dimensions. Subject naming strategies influence how schemas are registered and looked up, which in turn affects schema compatibility and evolution. Choosing an appropriate strategy is important when designing event contracts, especially in environments containing multiple record types and shared serialization models.
Question 186
Which Schema Registry strategy identifies schemas primarily by record name?
- RecordNameStrategy
- TopicNameStrategy
- TopicRecordNameStrategy
- NamespaceStrategy
Correct Answer: 1
Explanation:
RecordNameStrategy uses the fully qualified record name as the Schema Registry subject rather than tying the subject directly to a Kafka topic. This approach can be useful when the same logical record type is produced to multiple topics and should share a schema subject. It can simplify schema management for common event models used across several topics. However, subject organization should be selected carefully because compatibility requirements may differ between independent data flows. The naming strategy therefore forms an important part of schema-governance design.
Question 187
Which Schema Registry feature allows one schema to reference another?
- Schema aliases
- Schema references
- Subject links
- Record pointers
Correct Answer: 2
Explanation:
Schema references allow one registered schema to refer to another schema managed by Schema Registry. This is useful for composing larger schemas from reusable components rather than duplicating common definitions. For example, several event schemas can reference a shared address or customer structure. References can improve consistency and maintainability when organizations maintain complex data contracts. Applications must still ensure that referenced schemas are available and compatible with the serialization format and tooling being used.
Question 188
Which Schema Registry setting controls whether schemas are normalized before comparison?
- schema.format
- schema.ordering
- normalize.schemas
- registry.mode
Correct Answer: 3
Explanation:
Schema normalization allows Schema Registry to normalize schema representations before comparing or registering them. Equivalent schemas can sometimes have different textual representations even though their logical structure is the same. Normalization helps provide consistent handling of such representations and can reduce unnecessary distinctions caused by formatting or ordering differences. This feature is especially useful in environments where schemas are generated by different tools or development processes. Normalization does not replace compatibility rules; those rules still determine whether schema evolution is acceptable.
Question 189
Which Kafka Connect property specifies the converter used for record values?
- value.converter
- record.converter.type
- payload.serializer
- value.encoder
Correct Answer: 1
Explanation:
The Kafka Connect value.converter property specifies the converter used to serialize or deserialize record values. The appropriate converter depends on the data format used by the connector pipeline, such as JSON, Avro, or Protobuf. Source connectors use the converter when placing values into Kafka, while sink connectors use it when interpreting values consumed from Kafka. Correct converter configuration is essential because incompatible serialization settings can cause conversion errors and prevent records from being processed successfully.
Question 190
Which Kafka Connect property configures conversion of record keys?
- key.converter
- key.formatter
- record.key.codec
- key.serializer.mode
Correct Answer: 1
Explanation:
The Kafka Connect key.converter property defines how record keys are serialized and deserialized. Kafka Connect treats key and value conversion as separate configuration areas, allowing them to use different formats when required. For example, an application may use one serialization format for keys and another for values. Correct key conversion is important for sink connectors that rely on keys for database records, partitioning, or deduplication. A mismatch between the configured converter and the actual Kafka record format can result in processing failures.
Question 191
Which Kafka Connect setting enables tolerance for all supported record errors?
- errors.tolerance=none
- errors.tolerance=all
- errors.tolerance=stop
- errors.tolerance=skip_only
Correct Answer: 2
Explanation:
Setting errors.tolerance=all allows Kafka Connect to continue processing despite record-level errors that the connector can handle through its error-processing mechanism. This can be useful when isolated malformed records should not stop an otherwise healthy data pipeline. In production environments, tolerance should generally be combined with appropriate logging or dead-letter handling so failed records remain visible for investigation. Otherwise, continuing processing without tracking failures can make data-quality problems difficult to detect.
Question 192
Which Kafka Connect setting controls the number of records processed per poll?
- connector.poll.count
- consumer.batch.size
- batch.max.records
- consumer.max.poll.records
Correct Answer: 4
Explanation:
The consumer.max.poll.records setting controls the maximum number of records returned in a single consumer poll used by Kafka Connect’s source or sink processing path where applicable. Adjusting this value can influence processing batch size, memory usage, and the time required to process each batch. Larger batches may improve throughput but can increase memory consumption or processing latency. Smaller batches can provide more frequent processing opportunities. The appropriate value depends on connector behavior, record size, processing cost, and destination capacity.
Question 193
Which Confluent feature provides centralized role-based authorization metadata?
- Metadata Service
- Topic Registry
- Cluster Directory
- Security Catalog
Correct Answer: 1
Explanation:
Confluent Metadata Service, commonly called MDS, provides centralized metadata for Confluent role-based access control. It supports authorization-related information such as users, groups, roles, and role bindings across supported Confluent Platform deployments. Centralizing this information can simplify administration in environments containing multiple Kafka clusters and Confluent components. MDS works alongside authentication and authorization mechanisms rather than replacing them. Organizations can use it to establish consistent role-based permissions while maintaining centralized control over security metadata.
Question 194
Which Confluent security model assigns permissions through predefined roles?
- Topic ACL model
- RBAC
- Listener authorization
- Principal mapping
Correct Answer: 2
Explanation:
Role-Based Access Control, or RBAC, assigns permissions through predefined roles rather than requiring administrators to create every permission independently for each resource. In Confluent environments, roles can represent responsibilities such as managing clusters, topics, or other platform resources. Users and groups can receive role bindings that determine their effective access. RBAC can simplify administration in larger organizations by aligning permissions with operational responsibilities. It is complementary to authentication, which establishes identity, and can coexist with other authorization mechanisms depending on the deployment.
Question 195
Which Confluent Cloud object logically groups resources under an organization?
- Environment
- Partition
- Broker
- Connector task
Correct Answer: 1
Explanation:
A Confluent Cloud environment provides a logical organizational boundary for resources and can contain Kafka clusters and other supported Confluent Cloud resources. Environments help organizations separate development, testing, and production resources while applying appropriate access controls. This structure can make resource management clearer than treating every cluster independently. The exact resources and capabilities associated with an environment depend on the Confluent Cloud services being used. Understanding this hierarchy is useful when planning permissions, resource organization, and operational separation.
Question 196
Which Confluent Cloud credential is commonly used for programmatic API authentication?
- Cluster password
- API key
- Broker token file
- Console session cookie
Correct Answer: 2
Explanation:
Confluent Cloud API keys provide credentials for programmatic authentication to supported services and APIs. Applications and automation tools can use appropriately scoped credentials instead of relying on interactive console sessions. API keys should be managed securely, with access limited according to the application’s requirements. They are commonly paired with corresponding secrets and configured through application or infrastructure tooling. Proper credential lifecycle management includes protecting secrets, limiting permissions, rotating credentials when appropriate, and avoiding unnecessary exposure in source code or logs.
Question 197
Which Confluent Cloud networking option provides private connectivity through a cloud provider?
- Private networking
- Public gateway
- Open listener mode
- Internet bridge
Correct Answer: 1
Explanation:
Confluent Cloud provides private networking capabilities that can allow traffic between customer infrastructure and Confluent resources without relying solely on public internet connectivity. Depending on the cloud provider and deployment design, supported private connectivity mechanisms can include services such as PrivateLink or other cloud-specific networking integrations. Private connectivity can help organizations meet network isolation and security requirements. The exact implementation depends on the cloud environment, network architecture, and Confluent Cloud cluster configuration selected by the organization.
Question 198
Which Kafka architecture pattern separates command handling from read models?
- CQRS
- Round-robin routing
- Batch replication
- Shared-state processing
Correct Answer: 1
Explanation:
CQRS, or Command Query Responsibility Segregation, separates operations that change application state from operations that read state. In event-driven architectures, Kafka can help transport commands or events between services while separate consumers maintain read-oriented projections. This separation allows read models to be optimized independently from write processing. CQRS does not require Kafka, but Kafka’s durable event streams and scalable consumer model can support implementations of the pattern. Careful handling of consistency, replay, and schema evolution remains important when designing CQRS systems.
Question 199
Which event-driven pattern uses Kafka topics to isolate failed processing attempts?
- Fan-out pattern
- Retry topic pattern
- Request-response pattern
- Snapshot pattern
Correct Answer: 2
Explanation:
A retry topic pattern routes records that cannot currently be processed successfully into dedicated retry topics. Consumers can attempt processing again after a suitable delay or through separate retry stages. This approach can prevent transient failures from repeatedly blocking the primary processing topic. Retry designs may use multiple topics for different delay intervals and can be combined with dead-letter handling for records that ultimately cannot be processed. The pattern is useful for managing temporary destination outages, dependency failures, or other recoverable processing conditions.
Question 200
Which architecture pattern distributes one event to several independent consumers?
- Fan-out
- Request-reply
- Command chaining
- Single-consumer routing
Correct Answer: 1
Explanation:
The fan-out pattern allows a single event stream to be consumed independently by multiple downstream applications or processing paths. Kafka consumer groups make this pattern particularly useful because each independent group can receive and process the same topic records according to its own business requirements. For example, one group might perform analytics while another updates a search index and a third handles notifications. Each group maintains its own consumption state, allowing the applications to process the shared event stream independently without requiring separate source publications.