Larkmoor's security lead has one question about the product assistant: "If this thing leaks a customer's address, whose fault is it?" The honest answer is "it depends on which part leaked", and the way to make that precise is the AWS shared responsibility model plus a clear picture of who may call what. This lesson gives you both, at the depth the exam guide recommends as background. The security domain later applies them to AI systems in detail.
Security of the Cloud and Security in the Cloud
AWS describes its side as security of the cloud: AWS is responsible for protecting the infrastructure that runs all of the services offered in the AWS Cloud, meaning the hardware, software, networking and facilities. The customer's side is security in the cloud: the data, the application, the configuration and the access decisions. AWS adds the sentence that drives every exam question on this topic: customer responsibility is determined by the AWS Cloud services that a customer selects.
That last point is why the model is not a fixed checklist. Choose a service where AWS runs more of the stack and your list shrinks; choose one where you run more yourself and it grows. It never shrinks to nothing, because the data, the decision to use it and the permissions remain yours.
The Split Moves with the Service You Choose

Two separate examples, not a migration path. The customer band is what Larkmoor still owns; the AWS band is what it no longer operates.
In the upper stack, Larkmoor installs a model on an EC2 instance, a virtual server it operates. AWS secures the host hardware, network and facilities. Larkmoor owns everything above that: the guest operating system and its patches, the model files and their updates, the application, the data and the prompts, and the decision of who may sign in and call it. If the model host is left unpatched, that is a customer-side gap.
In the lower stack, Larkmoor calls a model through Amazon Bedrock, a fully managed service. AWS now also hosts, scales and patches the model and the machinery that serves it. Larkmoor's band is shorter but not empty: the data and prompts it sends, the application that sends them, the settings it chooses such as guardrails and logging, and the permissions that decide which identity may call which model. If a developer's credentials are shared and someone else sends customer records to the model, that is still a customer-side gap.
The security lead's question now has a structure. A leak caused by a flaw in AWS's infrastructure sits in AWS's band. A leak caused by over-broad permissions, a prompt that included data it should not have, or logging that nobody reviewed sits in Larkmoor's band. The exam asks you to place a described gap in the right band for the service in the scenario.
Identity: Who May Call Which Model with Which Data
The third panel in the diagram is the part most learners underestimate. AWS Identity and Access Management (IAM) is the service that controls access to AWS resources. It answers two separate questions on every request:
- Authentication: who is making the call? A request is matched to a principal the account trusts, such as an IAM user, an IAM role or an application acting through a role.
- Authorization: what may that principal do? Policies attached to the principal or the resource state which actions are allowed on which resources. A request to invoke a model is allowed only if a policy permits it.
Every account starts with one identity, the root user, which has complete access to everything. AWS strongly recommends not using it for everyday work. Instead, Larkmoor creates other identities: a role for the Lambda function, a user identity for each developer, and an analyst group with read-only access. Each gets the permissions its task needs.
Least privilege is the design rule that follows: grant only what the task needs, and nothing more. In Larkmoor's case the function's role may invoke one chosen model and read one folder of the documents bucket. It cannot read the customer database, and the analytics team's role cannot invoke the model at all. Nothing about the model itself changed; the permission decisions are what make the system safe to use.
A Permission Is a Design Decision
Consider two ways Larkmoor could grant access:
| Choice | What it allows | Why it matters |
|---|---|---|
| One shared developer key used by the application | Anyone with the key can call any model and read any bucket. | A leaked key is a full compromise, and nothing in the logs says which person acted. |
| A role for the function with a narrow policy | The function can invoke one model and read one document folder. | A flaw in the function cannot reach other data, and the logs show the role acting. |
The second choice costs nothing extra; it is a decision, not a product. When the security domain later lists IAM roles, policies and permissions among the features that secure AI systems, this is what it means.
What Stays Yours No Matter What
Whichever service Larkmoor picks, some things never move to AWS's band: deciding which data may be sent to a model at all, classifying that data, writing the prompts, choosing settings such as guardrails, deciding what is logged and who reviews it, and granting permissions. A managed service removes operating work; it does not remove judgement. The responsible AI and governance domains build on exactly this point.
Check Your Understanding
Larkmoor calls a model through Amazon Bedrock. Match each task to the party responsible for it.
Tasks:
- Patching the servers that host the foundation model.
- Deciding that customer addresses must never be included in prompts.
- Granting the application's role permission to invoke one model.
- Securing the physical data centre where the model runs.
- Choosing whether model requests and responses are logged.
Parties:
A. AWS
B. Larkmoor (the customer)
Answer and Reasoning
1-A, 2-B, 3-B, 4-A, 5-B.
Hosting and patching the model's servers is part of the managed service, so it sits in AWS's band (1-A), as does the physical infrastructure, which is always security of the cloud (4-A). What data may enter a prompt (2-B), who may invoke the model (3-B) and whether interactions are logged (5-B) are configuration and access decisions, which are always security in the cloud.
The trap is task 1. Had the scenario placed the model on an EC2 instance, patching the model host would have moved to Larkmoor, because customer responsibility is determined by the services the customer selects. Always check which service the scenario names before assigning a task.
References
- S28: Shared responsibility model: security of the cloud versus in the cloud, and responsibility determined by the selected services.
- S29: What is IAM?: authentication, authorization, principals, policies and the root user recommendation.
- S30: What is an AWS account?: the account as a security boundary holding identities and permission policies.
- S27: What is Amazon Bedrock?: fully managed access to foundation models.
- S39: What is Amazon EC2?: instances as virtual servers the customer operates.
- S02: AIF-C01 exam guide: shared responsibility and IAM as recommended knowledge.
- S09: In-scope AWS services: IAM and Bedrock are in scope.
- S01: AWS Certified AI Practitioner: certification identity.
Sources checked on 12 October 2026. Larkmoor Outfitters is fictional; the two stacks are teaching examples and do not describe a particular deployment.