QuizzesSingle Message Transforms (SMT) — Concept Check
intermediate
kafka

Single Message Transforms (SMT) — Concept Check

Questions on Single Message Transforms (SMT). SMTs are lightweight, stateless transformations applied to each message in a Kafka Connect pipeline — routing, masking PII, renaming topics, or flattening nested structures without custom code.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Single Message Transforms (SMT) — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A Kafka Connect pipeline is using SMTs to process messages. If you want to mask sensitive fields like 'email' and 'phone_number', which SMT would you use?

    • AExtractField
    • BMaskField
    • CRegexRouter
    • DInsertField
  2. 2.In a Kafka Connect pipeline, you notice that messages are not being routed to the expected topics. The configuration uses 'RegexRouter'. What might be the issue?

    • ALack of InsertField SMT
    • BMissing MaskField SMT
    • CImproper field masking
    • DIncorrect regex pattern
  3. 3.A Kafka Connect configuration uses 'InsertField' SMT to add timestamps. What happens if the 'timestamp.field' is not specified?

    • AExisting timestamp is overwritten
    • BNo timestamp is added
    • CDefault timestamp is used
    • DPipeline execution fails
  4. 4.A developer uses 'MaskField' SMT to mask 'email' and 'phone_number'. They believe this will also encrypt the data. What is the reality?

    • AData is only masked, not encrypted
    • BData remains unchanged
    • CData is encrypted
    • DData is both masked and encrypted
  5. 5.You need to route messages based on table names in a Kafka Connect pipeline. Which SMT should you use?

    • ARegexRouter
    • BExtractField
    • CInsertField
    • DMaskField
  6. 6.A Kafka Connect pipeline uses multiple SMTs. If complex transformations like joins are needed, what should be done?

    • AModify existing SMTs
    • BAdd more SMTs
    • CUse ExtractField SMT
    • DUse Kafka Streams
  7. 7.A developer configures 'InsertField' SMT to add a field 'ingested_at'. They expect it to also update existing fields. Is this correct?

    • ANo, it only adds new fields
    • BYes, it updates fields
    • CNo, it removes fields
    • DYes, it modifies all fields
  8. 8.Which of the following SMTs is NOT commonly used for transformations in Kafka Connect?

    • AJoinField
    • BRegexRouter
    • CExtractField
    • DMaskField