100% Latest & Updated Anthropic CCA-F Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 380
A PDF form extractor reports an expiry date preceding its issue date. Which safeguard or workflow change provides the missing guarantee?
- Return the exact missing-field validation error for a bounded corrective retry.
- Re-read the exact source span and correct the summary with evidence.
- Verify that both dates appear as required string properties in the JSON schema, then accept the record.
- Parse both date fields and recompute unrelated numeric totals without comparing their chronological order.
- Apply cross-field chronology checks and reject inconsistent records.
Explanation
Correct Answer
E:Validate parsed issue and expiry dates against the business invariant that expiry must not precede issuance, allowing any explicitly documented exceptions. If that predicate fails, reject or quarantine the extracted record and request evidence-backed correction. This catches semantically impossible output even when individual date strings pass the JSON schema.
Incorrect Answers
A:Returning the missing-field error is an effective strategy when the extractor omitted a required property, but here both dates are present and in the wrong order. A retry that checks only presence can repeatedly accept the same impossible interval. Add explicit cross-field validation for issue-versus-expiry chronology.
B:Reopening the source page can expose a transposition or OCR extraction error, and the corrected values should be anchored to that evidence. However, checking a span ad hoc does not provide the systematic guarantee requested; a later record could still pass with reversed dates. Enforce a deterministic chronology rule on every extracted record.
C:Presence and string typing establish a valid JSON envelope, not the meaning of the two date values. A document with issue_date 2027-01-01 and expiry_date 2026-01-01 can satisfy both property requirements. Reject the record when parsed expiry precedes issue, rather than treating schema success as factual validity.
D:Parsing dates and checking totals may catch malformed ISO strings and arithmetic errors, but neither verifies which date should come first. The specific PDF defect is cross-field time ordering, not a numeric sum. Compare the actual parsed dates with the business rule and route inconsistent entries to re-extraction or review.
Question 381
A contract summarizer returns an amount inconsistent with the cited clause. Which response is best supported by these operational facts?
- Re-read the exact source span and correct the summary with evidence.
- Verify every cited source identifier and supporting span against retrieved material.
- Evaluate confidence against labeled validation data rather than accepting self-reported certainty.
- Apply cross-field chronology checks and reject inconsistent records.
Explanation
Correct Answer
A:Re-extract the amount from the cited contract clause, preserving currency, effective date and any qualifying language, then correct or flag the summary. A numeric claim must match the exact source passage, not merely cite the contract generally.
Incorrect Answers
B:Citation-ID verification shows that a document and span exist, but does not on its own compare the summary amount to the contract's actual amount. A valid link can still accompany an inaccurate extraction.
C:Calibrated confidence estimates do not fix a specific contradiction already demonstrated by the cited clause. The source amount is the decisive evidence, not a model certainty score.
D:Chronology consistency checks might detect dates in conflict, but the problem is a mismatch between an amount and the text it allegedly summarizes. The numerical claim requires source-level verification.
Question 382
An assistant recomputes a subtotal using floating-point formatting and introduces rounding error. Which design adjustment is most suitable under the stated constraints?
- Test the substantive user requirement independently of schema conformance.
- Return the exact missing-field validation error for a bounded corrective retry.
- Validate semantic constraints and recompute totals independently before acceptance.
- Recalculate with appropriate decimal arithmetic and currency rounding policy.
Explanation
Correct Answer
D:Use decimal or integer-minor-unit arithmetic with explicit currency-specific rounding rules, then verify the result against authoritative source amounts. Avoid binary-floating formatting as a substitute for financial computation.
Incorrect Answers
A:Checking user intent after schema validation does not fix accumulated rounding error in monetary totals. Correct intent with binary-floating arithmetic may still produce the wrong cents.
B:A bounded retry on missing fields is irrelevant; the model has supplied numeric values but rounding occurred during recomputation.
C:Independent total verification is valuable, but if the verifier repeats the same floating-point computation it may reproduce the error. The numeric representation and rounding policy must change.
Question 383
A customer classification has no corresponding record but the system forces a fabricated customer ID. What targeted change avoids repeating this failure?
- Normalize times with explicit offsets and verify source meaning before comparison.
- Test the substantive user requirement independently of schema conformance.
- Return an explicit not-found state and request verification rather than invent an identifier.
- Verify every cited source identifier and supporting span against retrieved material.
Explanation
Correct Answer
C:Return a typed not-found/needs-verification outcome and request authoritative identity evidence rather than synthesizing an ID to satisfy a required field. The downstream application must not perform record mutations against invented identifiers.
Incorrect Answers
A:Timezone normalization is useful when comparing dates, but this classification has no matching customer record. Date handling cannot safely manufacture an identifier.
B:Checking if the response fulfills the substantive user request is important but not a concrete representation of an absent customer ID. The contract must allow a verifiable not-found outcome.
D:Checking cited source spans helps support document claims but does not make an absent customer record exist. The lookup state needs to be represented explicitly.
Question 384
A generated code patch passes lint but fails a business-rule test about refund ceilings. Which corrective action most directly addresses the observed failure?
- Delete the failing refund-ceiling assertion so lint and the remaining tests stay green.
- Use the refund-ceiling test failure to repair the actual business rule, then rerun that original test.
- Adjust only code formatting until lint passes and infer the refund calculation must also be correct.
- Promote the patch based solely on a successful linter run without executing business-rule tests.
Explanation
Correct Answer
B:The original business-rule test encodes the refund ceiling that the patch violates. Use its expected and actual values to correct the relevant logic, retain the assertion, and rerun it to prove the scenario now behaves as required.
Incorrect Answers
A:Removing an assertion can hide a regression rather than fixing it. A green lint result and reduced test set cannot establish that the application enforces the required maximum refund amount.
C:Lint validates style and selected static issues, not the numeric refund policy. A formatting change does not repair a wrong ceiling calculation or prove the failing business-case path works.
D:Promotion requires relevant acceptance evidence. A lint-only gate omits the explicitly failing refund-ceiling test and could ship incorrect money-moving behavior despite clean syntax and formatting.
Question 385
A customer extract contains mixed timezones and the output uses one unmarked timestamp format. Which implementation choice best closes the specific gap described?
- Return an explicit not-found state and request verification rather than invent an identifier.
- Roll back unauthorized side effects and keep validation prior to protected writes.
- Verify every cited source identifier and supporting span against retrieved material.
- Re-read the exact source span and correct the summary with evidence.
- Normalize times with explicit offsets and verify source meaning before comparison.
Explanation
Correct Answer
E:Identify whether each timestamp is UTC, an explicit offset, or local time under a documented source convention. Normalize for comparisons and preserve offsets or unambiguous ISO 8601 output. When source timezone is unknown, flag the ambiguity instead of creating a precise but incorrect merged timeline.
Incorrect Answers
A:Unknown identifier handling is about missing entity references; the extract has timestamps, but their offsets disagree. Requiring an identifier cannot disambiguate whether a local time corresponds to UTC or another zone. Convert times using explicit source-zone and offset evidence.
B:Rollback guards protect against unauthorized writes; the question concerns interpreting mixed timestamp values during read-only extraction. A rollback has no effect on how timezones are compared or reported. Normalize the supplied instants with explicit offset semantics.
C:Citing each source ID may let a reviewer find original timestamps, yet the output can still compare a naive local time with an offset-aware time incorrectly. Provenance is useful but not sufficient. Preserve original zone information and normalize before calculating intervals.
D:Re-reading the exact text can verify that timestamp digits were extracted correctly, but does not itself establish the timezone offset when the source is ambiguous. The service should record source timezone conventions or mark unknown offsets rather than silently assuming one universal local time.
Question 386
A schema check passes despite an unauthorized third-party email address in a recipient field. Which architecture decision would most directly meet the stated requirement?
- Return the exact missing-field validation error for a bounded corrective retry.
- Roll back unauthorized side effects and keep validation prior to protected writes.
- Test the substantive user requirement independently of schema conformance.
- Add allowed-recipient and authorization validation beyond syntax.
Explanation
Correct Answer
D:Validate the recipient against a policy-backed allowlist or the requesting principal's actual authorization before delivery. Email syntax proves only address format, not permission to send a confidential report there.
Incorrect Answers
A:A bounded retry on missing schema fields will not identify a syntactically valid email address belonging to an unauthorized recipient. The failure is permission and recipient policy.
B:Rollback can mitigate a write after a policy failure, but allowing the message or report to reach a forbidden third party creates exposure that may not be reversible. Check allowed recipients before sending.
C:Checking the user intent separately from output shape is a useful broad safeguard but does not identify which recipient identities are permitted. A specific allowlist/authorization check is required.
Question 387
A partial tool response is processed as complete because it parses as valid JSON. What should the team change first to resolve this exact failure mode?
- Validate semantic constraints and recompute totals independently before acceptance.
- Roll back unauthorized side effects and keep validation prior to protected writes.
- Require completeness markers or pagination closure before aggregating results.
- Reject ambiguous duplicate properties before treating the payload as a trusted record.
Explanation
Correct Answer
C:Require end-of-pagination, expected count, continuation-token closure, or an explicit completeness marker before final aggregation. A JSON parser validates syntax, not whether the tool supplied all requested rows.
Incorrect Answers
A:Validating arithmetic or semantic totals cannot prove that every page of an external search response has arrived. A partial payload can have internally consistent values.
B:Rollback handles improper side effects but does not signal a truncated read-only tool response. Aggregation may silently omit records even without a write.
D:Rejecting duplicate keys protects JSON semantics, but the partial response can contain no duplicate properties at all. The missing condition is completion of the data stream.
Question 388
A model gives unsupported citations that do not exist in the document corpus. Which safeguard or workflow change provides the missing guarantee?
- Re-read the exact source span and correct the summary with evidence.
- Verify every cited source identifier and supporting span against retrieved material.
- Normalize times with explicit offsets and verify source meaning before comparison.
- Return an explicit not-found state and request verification rather than invent an identifier.
Explanation
Correct Answer
B:Resolve each cited identifier and quoted span against the actual retrieved corpus. If a citation does not exist or fails to support the corresponding claim, remove or hold that claim rather than presenting imaginary sourcing.
Incorrect Answers
A:Re-reading a source span is useful after locating one, but fabricated citations have no resolvable spans to check. Validate identifiers before using them as evidence.
C:Timezone normalization cannot address a nonexistent document or citation. Date formatting is separate from whether evidence exists.
D:An explicit no-match state helps customer-record lookup but does not validate quoted legal or research references. Unsupported citations must be checked against the source collection.
Question 389
A retry changes correct fields while fixing one invalid field and creates new errors. Which response is best supported by these operational facts?
- Freeze verified values and constrain the retry to the failing fields where feasible.
- Return the exact missing-field validation error for a bounded corrective retry.
- Cap regeneration attempts and escalate persistent failures with diagnostic context.
- Evaluate confidence against labeled validation data rather than accepting self-reported certainty.
Explanation
Correct Answer
A:Preserve values already verified and restrict regeneration to explicitly rejected fields, then revalidate the combined record. Full re-generation after one small error needlessly risks corrupting correct portions of the output.
Incorrect Answers
B:Returning an exact validation message improves the chance of a good retry but, without retaining accepted fields, the model can still rewrite those fields and introduce new errors.
C:A retry cap prevents endless attempts but does not preserve previously correct data during the attempts allowed. The reported regression calls for a scoped correction strategy.
D:Confidence calibration may help choose review thresholds, but it does not stop a retry from overwriting known-valid fields. State management and field-level repair are needed.
Question 390
A message parser ignores duplicate JSON keys and silently keeps the last value. Which design adjustment is most suitable under the stated constraints?
- Reject ambiguous duplicate properties before treating the payload as a trusted record.
- Validate semantic constraints and recompute totals independently before acceptance.
- Apply cross-field chronology checks and reject inconsistent records.
- Roll back unauthorized side effects and keep validation prior to protected writes.
- Require completeness markers or pagination closure before aggregating results.
Explanation
Correct Answer
A:If an input contains repeated JSON property names, implementations may pick different values or silently overwrite one with another. A security-relevant field such as user_role can thus be interpreted inconsistently. Use a duplicate-aware parse step or pair hook and reject ambiguous objects before signature, policy or business-rule evaluation.
Incorrect Answers
B:Semantic validation and arithmetic recalculation can find inaccurate totals, but if one key appeared twice the parser may have discarded the earlier value before those checks run. Validating the remaining representation cannot expose that conflict. Detect duplicate member names while parsing the original payload.
C:Checking that two dates obey chronology is appropriate for extracted records, but it does not tell the application whether a duplicate property was overwritten. The fault is at the JSON object interpretation boundary. Reject duplicate keys regardless of whether a particular pair of surviving fields appears internally consistent.
D:Rolling back unauthorized side effects is useful in a recovery workflow, but an already ambiguous JSON payload should be rejected before it can drive any protected write. Undo logic may not reverse external side effects or resolve which property was intended. Duplicate-aware validation belongs at the input trust boundary.
E:Pagination closure prevents incomplete multi-page results from being treated as exhaustive; it does not prevent an object parser from discarding the first of two identical property names. A complete result can still be ambiguous. Enforce member-name uniqueness during JSON parsing rather than adding aggregation markers.
Claude Certified Architect - Foundations (CCA-F) Practice Tests