Privacy, quotas and evaluation
Privacy and service policies
Before sending data, document purpose, permission, Region, retention and deletion for inputs, outputs, temporary files and logs. Review AWS Service Terms and the specific AI service data-protection documentation; do not infer one service’s policy from another. AWS Organizations AI services opt-out policies cover supported services including Textract, Transcribe, Polly, Translate, Comprehend and Rekognition; opting out of service improvement is not a substitute for application access control or retention management. Minimize input, encrypt storage and transport, scope worker IAM to the needed resources, and restrict reviewer access. Never put actual identity documents or personal recordings into this lab.
Quotas and cost units
Check the operation, supported model or engine, language, Region, file limits, concurrency and request rate before rollout. Textract cost depends on pages and selected features; transcription and video analysis can be duration-based; image analysis may be metered by image and operation; translation and synthesis use character-based units, and search may include index or ingestion/query charges. Billing increments, minimums and tiers vary by operation. Include storage, retries, transfer and human review. For a hypothetical batch of 100 pages at $0.01/page, 20 minutes at $0.02/minute and 50 image requests at $0.003/request, modeled inference totals $1.55, not an AWS quote.
Evaluate by slice and consequence
Split tuning and held-out examples. Include clean and noisy audio, varied document layouts, supported languages and deliberately missing fields. Use exact-match and coverage for OCR, WER for speech, precision/recall for labels, bilingual human review for translation and intelligibility checks for synthesized speech. Evaluate retrieval relevance and unauthorized-result rate for search. Record the operation, configuration, date and exposed model version; managed services can change behavior without a model ID change. Measure p95 latency and manual-review rate as well as overall accuracy. Small samples demonstrate logic, not production quality.
Bound the experiment
The fixture below is a local budget model. Reserve projected usage before a real request and cap pages, media duration, request count, retry count and total cost. Reject unknown or negative units. For real workloads reservations must be durable and atomic across workers; AWS Budgets notifications are not a synchronous hard cap. Regression-test the review policy and stop rollout if a critical slice worsens. Use manual processing as a bounded fallback when no supported model meets the requirement. No AWS credentials or paid inference are needed for the offline exercise.
{ "usage": { "pages": 100, "minutes": 20, "requests": 50 }, "rates": { "pages": "0.01", "minutes": "0.02", "requests": "0.003" }, "limits": { "pages": 100, "minutes": 20, "requests": 50 }, "cap": "1.55"}Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Privacy, quotas and evaluation — knowledge check
Select specialized APIs, evaluate errors and constrain usage.
What does an AI services opt-out policy address?
What is the modeled inference cost for the stated batch?
Why evaluate separate language and noise slices?
What is required for a real multi-worker budget reservation?
What should be checked before invoking a specialized API?