Courseiva

CCAR-P Practice Question: Developer Productivity and Operational Enablement

A team maintains a library of internal Claude prompts used by several services. They want to update a shared system prompt once and have every service pick up the change without redeploying, while keeping a rollback path if quality regresses. Which approach best satisfies both requirements?

⚠ Common exam trap

The trap here is assuming a shared code package is equivalent to a runtime prompt registry, when the package still forces redeploys and complicates rollback.

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

✓

Serve prompts from a versioned prompt registry that services fetch at runtime, with the ability to pin or roll back to a prior version.

The requirements point to treating prompts as versioned runtime data rather than code. A prompt registry lets the team publish once, have services fetch the current version, and revert by repointing to a prior immutable version. Duplicated prompts, shared-library constants, and host-level environment edits each force redeploys, lack reliable rollback, or both, so they cannot meet the stated goals.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Copy the system prompt into each service's repository and coordinate releases manually.

    Why it's wrong here

    Copying the prompt into each repository creates drift and requires coordinated releases, which is the opposite of updating once. It also makes rollback a multi-repository operation, increasing the chance of inconsistent behavior across services. Manual coordination does not scale and defeats the goal of a single shared source. The requirement is a centrally managed prompt with an independent rollback path, which duplication cannot provide.

  • ✓

    Serve prompts from a versioned prompt registry that services fetch at runtime, with the ability to pin or roll back to a prior version.

    Why this is correct

    A versioned prompt registry lets the team publish a new system prompt once and have services fetch it at runtime, avoiding redeploys. Because each version is immutable and addressable, rolling back is a matter of pointing services at the previous version. This satisfies both the update-once and rollback requirements while keeping an auditable history of what each service used at any time.

  • ✗

    Keep the system prompt in an environment variable that operators edit directly on running hosts.

    Why it's wrong here

    Editing environment variables on running hosts is unaudited, unversioned, and prone to drift across instances. There is no reliable rollback because the previous value is not recorded anywhere. It also creates configuration divergence between hosts serving the same service, producing inconsistent model behavior. A versioned prompt registry provides history, atomic switching, and rollback, none of which ad hoc host edits can offer.

  • ✗

    Embed the system prompt as a constant in a shared library package and publish a new package version for each change.

    Why it's wrong here

    A shared package still requires every service to bump its dependency and redeploy, which violates the no-redeploy requirement. Rollback also depends on dependency resolution, which is slower and riskier than switching a version pointer. The prompt is data that changes frequently, not code that should ride the release train. A prompt registry decouples prompt updates from service deployments, which this approach cannot do.

About these practice questions

Courseiva writes every CCAR-P question from scratch — 262 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.