Courseiva

CCAR-P Practice Question: Developer Productivity and Operational Enablement

Which THREE practices most effectively support a 'Prompt Engineering as Code' workflow for enterprise teams? (Select THREE)

⚠ Common exam trap

Candidates often select manual tracking methods or storing prompts in disconnected UI dashboards, ignoring software engineering best practices like repository storage and peer reviews.

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

✓

Storing prompts in text files within the same repository as the application code.

Managing prompts as versioned assets, automating evaluation pipelines, and enforcing peer reviews enable scalable and safe prompt lifecycle management. When prompts are treated like software, teams gain the ability to rollback, audit changes, and ensure that modifications do not degrade performance. This professionalizes the development process, reducing the risk of unexpected model behavior and allowing teams to deploy LLM-powered features with confidence and speed.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Storing prompts in text files within the same repository as the application code.

    Why this is correct

    Treating prompts as code assets allows for version control, branching, and pull-request-based reviews. This ensures that changes to prompts are tracked, auditable, and easily reversible. Keeping them in the repo ensures that the prompt version is always aligned with the application logic that consumes it at runtime.

  • ✗

    Using hardcoded prompt strings in the production environment for maximum speed.

    Why it's wrong here

    Hardcoding prompts makes them immutable and impossible to update without a full code deployment cycle. This reduces agility and prevents experimentation. Furthermore, it complicates testing, as you cannot easily swap prompt versions to compare results without changing the source code itself, which is a poor practice.

  • ✓

    Implementing automated evaluation scripts to test prompt changes against a golden dataset.

    Why this is correct

    Automated evaluations ensure that changes to prompts do not negatively affect existing performance. By testing against a golden dataset, developers can quantify the impact of their changes, preventing regressions. This provides the confidence required to ship updates frequently and reliably in a production environment.

  • ✗

    Mandating manual review for every single request made by the production model.

    Why it's wrong here

    Manual review of every request is a bottleneck that completely defeats the purpose of automation. It is impossible to scale if human intervention is required for every inference. While monitoring and spot checks are essential for safety, the process must be automated to remain productive and efficient.

  • ✓

    Establishing a peer review process for all changes to prompt templates.

    Why this is correct

    Peer review ensures that prompts are clear, follow organizational guidelines, and are optimized for the specific task at hand. Just like code reviews, this process catches errors, security risks, or inefficiencies early, improving the quality of the final output and fostering knowledge sharing among the team members.

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.