McAfee Secure

Exam Code: CCA-F

Exam Name: Claude Certified Architect - Foundations

Certification Provider: Anthropic

Anthropic CCA-F Questions & Answers

Study with Up-To-Date REAL Exam Questions and Answers from the ACTUAL Test

134 Questions & Answers with Testing Engine

"Claude Certified Architect - Foundations Exam", also known as CCA-F exam, is a Anthropic certification exam.

Pass your tests with the always up-to-date CCA-F Exam Engine. Your CCA-F training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Anthropic CCA-F Practice Test 22

Question 210

A team must enforce Terraform conventions only for infrastructure code. What's the safest rule configuration?

  1. Leave the rule unscoped and hope Claude infers relevance.
  2. Scope a conditional rule to Terraform directories and relevant .tf paths, checking wildcard behavior.
  3. Apply Terraform formatting to all Markdown and JavaScript files.
  4. Place it only in one engineer's personal settings.

Explanation

Correct Answer

B:

Path selectors apply the policy without affecting unrelated application files.

Incorrect Answers

A:

Unbounded guidance can conflict with other work.

C:

Those files do not share Terraform syntax.

D:

Team IaC rules need shared distribution.

Question 211

A React rule about component props unexpectedly affects Python backend edits. What adjustment is appropriate?

  1. Narrow the conditional path glob to applicable JSX/TSX component files or directories.
  2. Disable all backend guidance to avoid contradictory instructions.
  3. Change Python file extensions to .tsx so the rule is consistent.
  4. Repeat the React rule more often so the model understands its importance.

Explanation

Correct Answer

A:

Scoped rules eliminate cross-language conflicts.

Incorrect Answers

B:

Backend conventions are still needed.

C:

Renaming source files breaks their language tooling.

D:

Repetition does not correct the scope mismatch.

Question 212

A monorepo adds a new microservice whose TypeScript files need the same API convention as existing services. How should the rule remain maintainable?

  1. Use a shared file-type or path-pattern rule that intentionally includes new service directories.
  2. Create a unique copy for each service and manually synchronize all copies.
  3. Stop checking applicability after the first service is configured.
  4. Apply the rule to every binary artifact in the repository.

Explanation

Correct Answer

A:

An appropriate glob can cover future matching files.

Incorrect Answers

B:

Duplication creates drift as the monorepo grows.

C:

New paths require deliberate coverage.

D:

Binary files cannot follow source formatting guidance.

Question 213

Database migrations require rollback and schema safety steps that should not appear in ordinary UI edit sessions. Where should this policy load?

  1. Disable migration checks because they consume context.
  2. Use path-scoped rules for migrations and relevant database directories while keeping critical universal safety in shared guidance.
  3. Store all migration policy only in a hidden personal instruction file.
  4. Require migration rollbacks for every change to CSS and documentation.

Explanation

Correct Answer

B:

Specialized instructions belong to affected files and tasks.

Incorrect Answers

A:

High-risk schema changes warrant targeted protection.

C:

Team changes need versioned shared guidance.

D:

Unrelated tasks cannot apply database rollback steps.

Question 214

A developer adds a path rule intended for /services/api, but it loads for every file. What should be inspected?

  1. Increase wording intensity inside the rule.
  2. Delete all conditional rules because one was misconfigured.
  3. Replace the directory matcher with a broad `**/*api*` glob without checking which files it matches.
  4. Check frontmatter paths, glob syntax, relative-root resolution and supported matcher semantics.

Explanation

Correct Answer

D:

An overly broad wildcard can activate unintended guidance.

Incorrect Answers

A:

Strong prose cannot fix incorrect file matching.

B:

Other valid scoped policies would be lost.

C:

An overly broad name-based pattern can include unrelated files or directories. Supported frontmatter path matching should be tested against representative paths.

Question 215

Security guidance for one dependency folder now dominates the global root CLAUDE.md. How should scope be refined?

  1. Duplicate every rule in every directory.
  2. Ignore the dependency folder because it is rarely touched.
  3. Move all security rules into rare on-demand skills, including always-required ones.
  4. Keep universal high-priority rules globally and move local conventions to conditional path rules.

Explanation

Correct Answer

D:

Separating global safety from local detail reduces routine context cost.

Incorrect Answers

A:

Repeated content increases conflict and maintenance.

B:

Applicable local constraints still matter when edited.

C:

Critical policy could be absent during normal work.

Question 216

A reviewer edits README.md but a conditional testing rule loads full implementation and fixture requirements. Which configuration mistake is likely?

  1. The README must be converted into a test source file.
  2. All project guidance should be removed to shorten prompts.
  3. The matcher is too broad; constrain the rule to actual test/source paths rather than all Markdown files.
  4. The model should ignore every loaded rule without checking its applicability.

Explanation

Correct Answer

C:

A documentation edit needs applicable guidance, not test internals.

Incorrect Answers

A:

Changing file type is unrelated to fixing rule scope.

B:

Valid documentation requirements would disappear.

D:

That undermines intentional policy and cannot fix configuration.

Question 217

An API file matches both a global instruction requiring named exports and a local rule requiring default exports. How should an architect resolve the issue?

  1. Inspect overlapping scopes and update one authoritative convention or explicit exception before generation.
  2. Duplicate both directives in the prompt to increase certainty.
  3. Allow each file edit to follow whichever instruction appears last in the loaded prompt, without resolving scope conflicts.
  4. Delete the API file to avoid the disagreement.

Explanation

Correct Answer

A:

Conflicting instructions should be reconciled at their source.

Incorrect Answers

B:

Repeating contradictions makes them harder to resolve.

C:

Load order is not a reliable documented policy for contradictory exports. The overlapping rules should be reconciled at their intended scopes.

D:

The file still needs a coherent implementation.

Question 218

An AI coding assistant proposes editing generated dependency files in vendor/, which are not owned by the project. What rule can prevent this?

  1. Exclude generated and vendor paths from editable scope and route changes to owned sources or generation config.
  2. Allow all edits because the tool can open the files.
  3. Ask the model to remember never to touch vendor without enforcement.
  4. Commit changes directly into third-party binaries.

Explanation

Correct Answer

A:

Path constraints avoid modifying artifacts overwritten by future builds.

Incorrect Answers

B:

Readability is not ownership or edit authorization.

C:

A clear conditional rule and permissions are more reliable.

D:

Generated artifacts may be corrupted or replaced.

Question 219

A file-scoped rule's YAML frontmatter is malformed, so it never loads in test runs. What should be done?

  1. Correct the supported frontmatter format and validate the path matcher before relying on the rule.
  2. Increase the number of words in the rule body.
  3. Report that the model ignored a valid rule without checking metadata.
  4. Set unrelated global permissions to administrator.

Explanation

Correct Answer

A:

Configuration must parse successfully to activate conditions.

Incorrect Answers

B:

The body will still not load if metadata is invalid.

C:

Malformed configuration is not a behavioral refusal.

D:

Privileges cannot repair parsing.

Question 220

TypeScript API files appear under several services and packages, but one local rule applies only to api/. What matcher is most appropriate?

  1. Use a verified glob covering relevant API paths, such as **/api/**/*.ts, with explicit exclusions.
  2. Match every .json file instead of TypeScript modules.
  3. Place the convention in a user-only memory file.
  4. Match only api/index.ts at the repository root.

Explanation

Correct Answer

A:

The rule should follow affected files across nested packages.

Incorrect Answers

B:

That covers unrelated configuration rather than API code.

C:

Team-wide API rules need shared coverage.

D:

That excludes other API implementation files.

Claude Certified Architect - Foundations (CCA-F) Practice Tests