Other systems need to read curated customer data over HTTPS through a simple, secured endpoint. Which approach fits?
- Exam domain
- Data Ingestion and Transformation34% of the exam
- Difficulty
- Medium
- In this mock
- 33 questions on this domainPractise this domain
Why the exam asks this
Task Statement 1.2: Transform and process data.
Objective in the exam guide: Create data APIs to make data available to other systems by using AWS services; consume and maintain data APIs.
Data teams increasingly serve data to applications, not just analysts. APIs give consumers a stable, secure contract.
Why C is the answer
Amazon API Gateway in front of a Lambda function that reads the curated store
API Gateway with Lambda exposes data as a managed, secured API.
Remember: Share data with other systems through a data API: API Gateway plus Lambda.
How it works
A data API exposes data over HTTPS with a defined contract, such as "get customer by ID".
Amazon API Gateway handles the endpoint, authentication and throttling; a Lambda function reads the data store.
Consumers no longer depend on how or where the data is stored.
Clues in the question
The words that point to the answer, and what each one tells you.
- Read over HTTPS through a simple, secured endpoint
- An API.
In detail
- The API can add authentication, throttling and caching.
- Consumers then depend on a stable contract, not on storage details.
Side by side with look-alikes
| Option | Stable and secured? |
|---|---|
| API Gateway plus Lambda | Yes |
| Direct bucket access | Tied to storage details |
| Daily CSV email | No |
| Public database | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Email a CSV export each dayWrong
Daily emails are stale and insecure.
B. Open the database to the internetWrong
Opening a database to the internet is a security risk.
C. Amazon API Gateway in front of a Lambda function that reads the curated storeRight
Share data with other systems through a data API: API Gateway plus Lambda.
D. Give other teams direct read access to the S3 bucketWrongMost tempting
Direct bucket access exposes storage details and is hard to control per field.
Why it tempts: It is quick to set up. But consumers become tied to file layouts, and fine-grained control is hard.
In practice
- Version the API, so changes do not break consumers.
Use case
An illustrative scenario, not a real incident.
A team publishes a /customers/{id} endpoint, and three internal apps stop reading its tables directly.
See how it works
sequenceDiagram participant A as Consumer app participant G as API Gateway participant L as Lambda participant D as Curated store A->>G: GET /customers/42 G->>L: Authorized request L->>D: Read customer 42 D-->>L: Record L-->>A: JSON response
How to read this chart
- 1. Consumer app sends "GET /customers/42" to API Gateway.
- 2. API Gateway sends "Authorized request" to Lambda.
- 3. Lambda sends "Read customer 42" to Curated store.
- 4. Lambda gets a reply from Curated store: "Record".
- 5. Consumer app gets a reply from Lambda: "JSON response".