AWS Certified AI Practitioner (AIF-C01) / Start Here

Who secures what when you use a managed AI service

Lesson 3 of 45. Open to read. No account needed.

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 stacks compare a model hosted on an EC2 instance with a model reached through Amazon Bedrock, showing which layers the customer manages and which AWS manages, with IAM in front of both.

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:

ChoiceWhat it allowsWhy it matters
One shared developer key used by the applicationAnyone 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 policyThe 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:

  1. Patching the servers that host the foundation model.
  2. Deciding that customer addresses must never be included in prompts.
  3. Granting the application's role permission to invoke one model.
  4. Securing the physical data centre where the model runs.
  5. 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

Sources checked on 12 October 2026. Larkmoor Outfitters is fictional; the two stacks are teaching examples and do not describe a particular deployment.

40 more lessons in the full course

Course access opens every lesson and adds revision notes, the Exam Cheat Sheet, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

Get the full course

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy