CCAR-P · Domain 1: Solution Design and Architecture · 18% of the exam
Task 1.2: End-to-End Architecture Evaluation
Checking a whole proposed design, from input through processing and output to feedback, against its scalability, maintainability and access-control requirements, and finding the part that breaks first under a given load or trust condition.
Study it
Reviewing an end-to-end architecture: scale, maintenance, access control and the first part to fail
Lesson coming
Sample questions
Try each one before opening the answer. Every option is explained, with the Anthropic documentation page that proves it.
Question 1 · choose 1
A proposed architecture serves two business units from one Google Cloud project on Claude Models on Google Cloud (Anthropic managed). Each unit gets its own workspace for files, batches and skills, and each unit's service account is granted roles/claude.user. The access-control requirement says the HR unit's service must not be able to read or use the Legal unit's files and skills. Which change makes the design meet it?
AKeep one project and give each unit's service a workspace-scoped API key in place of its role grant
BKeep one project and grant the HR service roles/claude.viewer, so that it can't change Legal's resources
CGive each business unit its own Google Cloud project, with its service account's role granted there
DKeep one project and have each unit's client send only its own workspace ID with every request
Show the answer and why
AKeep one project and give each unit's service a workspace-scoped API key in place of its role grant
Incorrect
This offering doesn't use API keys; requests carry Google access tokens and IAM decides access.
BKeep one project and grant the HR service roles/claude.viewer, so that it can't change Legal's resources
Incorrect
The viewer role still grants every get and list permission on workspace resources across the project.
CGive each business unit its own Google Cloud project, with its service account's role granted there
Correct
Roles are granted on the project and apply to every workspace in it; separate access needs separate projects.
DKeep one project and have each unit's client send only its own workspace ID with every request
Incorrect
The workspace ID chooses where a request's resources live; the role still covers every workspace in the project.
In Claude Models on Google Cloud (Anthropic managed), IAM roles are granted on the project, so a role applies to every workspace in that project, and workspaces don't separate who can read, use or manage resources such as files and skills. When teams need separate access, give each team its own Google Cloud project.
An architecture review receives this capacity plan for two applications that call the Messages API on the same model with keys from the same workspace. The organization's configured input limit for that model is 2,000,000 input tokens per minute (ITPM), and no workspace limits are set.| Component | Request settings | Planned peak | Plan's assumption |
| --- | --- | --- | --- |
| Global chat app | inference_geo "global", max_tokens 8000 | 1,500,000 ITPM | within the model's 2,000,000 ITPM |
| US regulated portal | inference_geo "us", max_tokens 2000 | 800,000 ITPM | within the model's 2,000,000 ITPM |At month end both applications reach their planned peaks at the same time. What should the review predict?
AOnly the portal receives 429 errors, because US-only inference has less capacity than the global pool
BOnly the chat app is throttled, because its max_tokens of 8000 reserves more output capacity per request
CNeither is throttled, because each application stays under the model's input limit on its own
DBoth applications start receiving 429 errors once their combined input passes the model's limit
Show the answer and why
AOnly the portal receives 429 errors, because US-only inference has less capacity than the global pool
Incorrect
Requests with "us" and "global" draw from the same rate limit pool; there is no separate US pool.
BOnly the chat app is throttled, because its max_tokens of 8000 reserves more output capacity per request
Incorrect
max_tokens does not factor into the output-token limit, which counts only tokens actually generated.
CNeither is throttled, because each application stays under the model's input limit on its own
Incorrect
The limit applies to the combined traffic: both geos share one pool, and 2,300,000 ITPM exceeds it.
DBoth applications start receiving 429 errors once their combined input passes the model's limit
Correct
Rate limits are shared across all inference_geo values, so the two peaks draw on one 2,000,000 ITPM limit.
Rate limits are set per model class at the organization level, and they are shared across all inference_geo values: requests sent with "us" and with "global" draw from the same pool. The plan treats the two applications as separate capacity, so at a combined 2,300,000 ITPM both receive 429 errors. max_tokens plays no part in the output-token limit, which counts generated tokens as they are produced.
In a proposed multi-user document assistant, the browser sends the Files API file_id of the document it wants summarized, and the back end passes that ID to the Messages API with the application's key. Which change does the Files API guidance call for to meet the access-control requirement that users only reach their own files?
AEncrypt each file_id before sending it to the browser, so that users can't read the ID they send back
BGive each user a Files API key of their own and let the browser call the Files API directly
CRotate the application's API key every night, so that leaked file IDs stop working the next day
DKeep the mapping of users to file IDs on the server and never accept a file_id from the client
Show the answer and why
AEncrypt each file_id before sending it to the browser, so that users can't read the ID they send back
Incorrect
Obscuring the ID doesn't change that the server trusts an ID supplied by the user.
BGive each user a Files API key of their own and let the browser call the Files API directly
Incorrect
Files belong to a workspace, not a user, and browser calls expose the key.
CRotate the application's API key every night, so that leaked file IDs stop working the next day
Incorrect
File IDs don't depend on the key; any key with workspace access reaches the workspace's files.
DKeep the mapping of users to file IDs on the server and never accept a file_id from the client
Correct
The guidance treats file IDs as server-side references; a user-supplied ID would let one user read another's upload.
Files aren't scoped to an end user, conversation or session: any API key with access to a workspace can access every file uploaded to it. The Files API guidance says never to accept file_id values from end users or other untrusted sources, to treat file IDs as server-side references, and to keep the mapping between users and their files in the application.