Courseiva

CCAR-F · topic practice

Claude Code Configuration and Workflows practice questions

This domain covers setting up and operating Claude Code in real repositories: starting sessions, giving the model the right context, and steering behavior with project-level configuration. Questions are scenario-based, presenting terminal output, developer goals, or team-wide policy needs, then asking which command, file, or workflow resolves them correctly.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Claude Code Configuration and Workflows

What the exam tests

What to know about Claude Code Configuration and Workflows

Be able to launch Claude Code in the correct directory, supply context for multi-file work, read error output to find the cause, and place project guidelines where the whole repository inherits them. The key is knowing which configuration level applies to a team versus an individual.

Starting a Claude Code session in a directory and letting it index local files

Configuring project-level guidelines and system prompts for an enterprise repository

Choosing efficient workflows for large multi-file refactors with sufficient context

Diagnosing Claude Code failures from terminal error logs and workflow symptoms

Watch out for

Common Claude Code Configuration and Workflows exam traps

  • ▸Assuming Claude Code automatically reads every file; context must be supplied deliberately via the working directory, references, or project configuration.
  • ▸Putting team-wide guidelines in personal or global settings instead of the repository's project-level configuration that all contributors inherit.
  • ▸Treating a refactor as many separate manual file reads rather than one scoped session with the relevant files and instructions provided up front.

Practice set

Claude Code Configuration and Workflows questions

20 questions · select your answer, then reveal the explanation

A developer needs to ensure that Claude Code always follows a specific set of architectural guidelines for every session within a shared repository. Which configuration approach provides the most consistent enforcement for all team members?

A DevOps engineer wants to optimize the performance of Claude Code by limiting the files it indexes. Which TWO methods are valid for excluding files from the context and indexing process?

When integrating Claude Code into a non-interactive CI/CD pipeline, how should the engineer handle the tool's requirement for user confirmation on file edits?

Refer to the exhibit. Based on the provided configuration in .claude.json, how will Claude Code behave if the model attempts to run the command 'rm -rf ./dist'?

Exhibit

{
  "tools": {
    "shell": {
      "danger_zone": true,
      "auto_approve": ["ls", "cat", "grep"]
    }
  }
}

When configuring Claude Code for a team, which THREE authentication or authorization methods are supported for accessing the underlying Anthropic models?

How does Claude Code handle the discovery of a .claude.json file in a subdirectory of a project rather than the root?

An architect is setting up Claude Code for a high-security environment. Which TWO security practices are recommended for managing the tool's access and execution capabilities?

Which TWO keyboard interactions are standard within the Claude Code Terminal UI (TUI) to improve developer workflow?

A Lead Architect is setting up a new enterprise repository and needs to ensure that Claude Code ignores specific files while maintaining security. Which TWO files or patterns should be explicitly configured in .claudeignore to optimize context and security?

A developer wants to change the default model used by the Claude Code CLI for all future sessions on their local machine. Which command should be used to persist this configuration globally?

Refer to the exhibit. An architect is reviewing a Claude Code configuration file. Based on the JSON structure shown, what functionality is being enabled for the Claude Code session?

Network Topology
"args": ["mcp-server-sqlite"db-path""model": "claude-3-5-sonnet-20241022","mcpServers": {"sqlite": {"command": "uvx",

When working in a large monorepo, a developer notices that Claude Code is frequently hitting context window limits. Which workflow strategy is most effective for managing project context without losing critical information?

Which THREE parameters can be modified using the 'claude config set' command to customize the behavior of the Claude Code CLI?

During a sensitive project, a security auditor asks how Claude Code handles .gitignore files compared to .claudeignore files. What is the correct behavior of the CLI?

An organization wants to implement a strict 'Human-in-the-loop' policy for Claude Code. Which TWO configuration settings or behaviors ensure that the model cannot modify the filesystem without explicit approval?

Refer to the exhibit. If a developer wants to see more detailed technical information for troubleshooting connection errors, which command should they run based on the current configuration?

Exhibit

claude config list

auto_updater: true
theme: dark
model: claude-3-5-sonnet-20241022
verbose_logging: false

A developer wants to share their current Claude Code session context with a colleague for collaborative debugging. Which TWO methods are appropriate for exporting or sharing session information?

A team lead wants to enforce a custom system prompt for all Claude Code sessions within a specific project. How can this be achieved using the configuration files?

When starting a new task, a developer wants to ensure that Claude Code does not use any information from previous sessions. What is the most direct way to start with a clean context?

An enterprise is concerned about data privacy and wants to minimize the information sent to Anthropic. Which TWO configuration actions should the architect recommend?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Claude Code Configuration and Workflows sessions

Start a Claude Code Configuration and Workflows only practice session

Every question in these sessions is drawn from the Claude Code Configuration and Workflows domain — nothing else.

Related practice questions

Related CCAR-F topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CCAR-F exam test about Claude Code Configuration and Workflows?
Be able to launch Claude Code in the correct directory, supply context for multi-file work, read error output to find the cause, and place project guidelines where the whole repository inherits them. The key is knowing which configuration level applies to a team versus an individual.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Claude Code Configuration and Workflows questions in a focused session?
Yes — the session launcher on this page draws every question from the Claude Code Configuration and Workflows domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CCAR-F topics?
Use the topic links above to move to related areas, or go back to the CCAR-F question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CCAR-F exam covers. They are not copied from any real exam or dump site.