Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Download Latest CCAR-F Questions

Page: 5 / 5
Total 60 questions

Claude Certified Architect – Foundations Questions and Answers

Question 17

You are using Claude Code to accelerate software development. Your team uses it for code generation, refactoring, debugging, and documentation. You need to integrate it into your development workflow with custom slash commands, CLAUDE.md configurations, and understand when to use plan mode vs direct execution.

A security audit requires updating your authentication library from v2 to v3. The migration guide documents breaking changes: authenticate() now returns a Promise instead of accepting a callback, the User type has restructured fields, and three deprecated methods were removed. Grep shows the library is imported in 45 files across several modules.

What’s the most effective approach?

Options:

A.

Create a custom slash command encapsulating the migration transformations, then execute it against each file without prior codebase exploration.

B.

Update the dependency version, run the test suite, and use Claude Code to fix each failure as it appears.

C.

Enter plan mode to explore library usage across modules, map affected code paths, then create a migration strategy before implementing.

D.

Paste the migration guide’s breaking changes into your prompt and use direct execution to update all usages across the 45 files.

Question 18

You are building developer productivity tools using the Claude Agent SDK. The agent helps engineers explore unfamiliar codebases, understand legacy systems, generate boilerplate code, and automate repetitive tasks. It uses the built-in tools (Read, Write, Bash, Grep, Glob) and integrates with Model Context Protocol (MCP) servers.

An engineer asks your agent to identify untested code paths in a legacy payment processing module spanning 45 files. After reading the first 8 source files, the agent’s responses are becoming noticeably less accurate—it’s forgetting previously discussed code patterns and hasn’t yet located all test files or traced critical payment flows.

What’s the most effective approach to complete this investigation?

Options:

A.

Spawn subagents to investigate specific questions (e.g., “find all test files for payment processing,” “trace refund flow dependencies”) while the main agent coordinates findings and preserves high-level understanding.

B.

Clear context with /clear , then selectively re-read only the most critical files discovered so far, writing key findings to a scratchpad file that persists between context resets.

C.

Switch to using Grep to search for specific function names instead of reading full files, reducing the content loaded into context for remaining exploration.

D.

Document all current findings in a summary report, clear context completely, then use that report as the sole reference for continuing the investigation.

Page: 5 / 5
Total 60 questions