Courseiva

CCAR-P Practice Question: Developer Productivity and Operational Enablement

A developer wants to monitor prompt effectiveness in production without logging sensitive user data. What is the best practice?

⚠ Common exam trap

Test-takers often confuse telemetry storage encryption with input-level privacy, incorrectly believing that storing data securely prevents PII logging at the source.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Implement a PII redaction layer before sending prompts to the telemetry store.

Data masking and PII redaction are essential to maintaining privacy while gaining operational insights. By cleaning inputs before they leave the environment or logging only non-sensitive metadata, developers can adhere to compliance standards. This practice allows for effective monitoring and improvement of prompt performance while protecting user data, which is a fundamental requirement for professional-grade, enterprise-compliant AI applications today.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Log all raw prompt and completion strings to a plaintext file.

    Why it's wrong here

    Logging raw inputs risks exposing sensitive user information, violating data privacy regulations like GDPR or HIPAA. This practice is fundamentally insecure and must be avoided. Professional applications require robust data handling policies that ensure logs are safe for analysis without compromising user confidentiality or violating legal requirements.

  • ✓

    Implement a PII redaction layer before sending prompts to the telemetry store.

    Why this is correct

    A redaction layer sanitizes logs by removing PII before storage. This allows developers to monitor usage patterns, token counts, and performance metrics without risking the leakage of sensitive data. It balances the need for operational visibility with the strict requirements of data security and privacy in production environments.

  • ✗

    Ask users to opt-in to full data logging in their settings.

    Why it's wrong here

    Even with consent, storing sensitive data is a liability. It introduces unnecessary risks and complexities regarding data management and deletion requests. Privacy-by-design dictates that data should be protected regardless of user preference, making redaction a safer and more scalable approach than relying on user opt-in mechanisms.

  • ✗

    Only log the model's response and discard the input user prompt.

    Why it's wrong here

    Discarding the input makes it impossible to perform debugging or analyze why a specific output was generated. Effective prompt engineering relies on understanding the relationship between the prompt and the completion. Redaction is a better solution because it preserves the utility of the logs while protecting sensitive information.

About these practice questions

This CCAR-P question is part of Courseiva's 262-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Anthropic exam blueprint

This CCAR-P practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-P exam.