Practice Exams:

Technology

Amazon AWS AIP-C01: Latency Tuning for Bedrock Apps

Home/Amazon aip c01 latency tuning for bedrock appsLatency in a Bedrock application is the sum of several components: authentication and API edge time, model queueing, prompt processing, generation, retrieval, reranking, tool calls, agent orchestration, network hops, and client rendering. Optimizing only the model invocation can produce little user-visible improvement when the real delay is a large retrieval query or three sequential agent actions.On this pageMeasure time to first token separatelyMeasure full task latencyReduce unnecessary prompt tokensUse prompt caching for repeated contextUse cross-Region inference for capacity pressureUse latency-optimized inference cautiouslyParallelize independent…

Read More

Amazon AWS AIP-C01: IAM for GenAI Applications

Home/Amazon aip c01 iam for genai applicationsIAM for generative AI applications is the boundary between “the model can reason about this operation” and “the AWS account actually permits this operation.” Amazon Bedrock, Knowledge Bases, AgentCore, Lambda tools, vector stores, S3 sources, KMS keys, Secrets Manager, and application services can each require different identities and permissions. Collapsing them into one broad execution role makes agent behavior hard to contain and harder to audit.On this pageSeparate human and workload identitiesScope Bedrock model invocationProtect inference profiles and routing choicesGive retrieval only the data…

Read More

Amazon AWS AIP-C01: From GenAI Prototype to Production on AWS

Home/Amazon aip c01 from genai prototype to production on awsA generative AI prototype proves that a model can produce a useful response. A production system has to prove far more: the right user can access it, the right model and prompt are deployed, data is governed, retrieval is current, tools are authorized, latency is acceptable, cost is bounded, failures are observable, releases are reproducible, and the application can recover when a dependency fails.On this pageFreeze the use case before scalingMove identity and data out of the notebookPut a stable API…

Read More

Amazon AWS AIP-C01: Cost Control for Bedrock Workloads

Home/Amazon aip c01 cost control for bedrock workloadsAmazon Bedrock cost is the result of workload shape, not one advertised token price. Model choice, input and output length, retrieval, reranking, agents, tool loops, cross-Region routing, prompt caching, provisioned capacity, evaluation jobs, embedding generation, and supporting AWS services can all contribute to the cost of one successful business task.On this pageMeasure tokens by scenarioRight-size the modelReduce repeated input with prompt cachingUse cross-Region inference for capacity, not blindlyConsider Provisioned Throughput for predictable demandControl retrieval and agent fan-outUse quotas as financial guardrailsAttribute spend to…

Read More

Amazon AWS AIP-C01: Chunking Strategies for Bedrock

Home/Amazon aip c01 chunking strategies for bedrockChunking is one of the most consequential design choices in a Bedrock Knowledge Base because the retriever does not search entire documents as one unit. During ingestion, Bedrock parses content, splits it into chunks, converts those chunks into embeddings, and writes the vectors to the configured store while preserving a mapping back to the source. The chunk becomes the basic retrieval unit the application later asks the model to reason over.On this pageStart with the questions users askUse default chunking as a baselineUse fixed-size…

Read More

Amazon AWS AIP-C01: Caching Patterns for GenAI on AWS

Home/Amazon aip c01 caching patterns for genai on awsCaching in generative AI is not one technique. An AWS application can cache repeated prompt prefixes at the Amazon Bedrock model layer, cache retrieval or tool results in an application store, cache rendered API responses where semantics allow it, and reuse static reference context so the model does not repeatedly process the same tokens. Each cache has a different freshness, privacy, and invalidation model.On this pageCache stable prompt prefixesPlace cache points deliberatelyChoose TTL by business freshnessCache retrieval results only when eligibility is…

Read More

Amazon AWS AIP-C01: CI/CD for GenAI on AWS

Home/Amazon aip c01 ci cd for genai on awsCI/CD for generative AI on AWS has to version more than application code. Production behavior can change through prompts, foundation-model identifiers, inference profiles, Guardrails, Knowledge Bases, agent instructions, action groups, embedding models, retrieval settings, evaluation datasets, Lambda tools, and infrastructure. A release process that tracks only the web application can leave the most important AI behavior unreviewed.On this pageVersion prompts as production configurationVersion model and routing decisionsUse infrastructure as codeSeparate dev, test, and production dataRun model and RAG evaluation in the pipelineRun…

Read More

Amazon AWS AIP-C01: Bedrock Model Evaluation

Home/Amazon aip c01 bedrock model evaluationAmazon Bedrock evaluations provide several ways to compare model and RAG behavior with repeatable evidence. Current Bedrock supports programmatic model evaluations, human-based evaluation jobs, model evaluation with an LLM as judge, and LLM-based evaluation of knowledge bases or external RAG sources. The platform can score built-in or custom metrics and store evaluation datasets and results in Amazon S3.On this pageBuild a representative datasetUse programmatic evaluation for repeatabilityUse LLM-as-a-judge for qualitative metricsUse human evaluation where judgment mattersEvaluate RAG retrieval and generationCompare cost and latency alongside qualityUse…

Read More

Amazon AWS AIP-C01: Bedrock Knowledge Bases in Practice

Home/Amazon aip c01 bedrock knowledge bases in practiceAmazon Bedrock Knowledge Bases provides a managed retrieval layer for RAG applications. It can ingest supported data sources, create or use embeddings, store and retrieve chunks through supported vector stores, apply metadata filtering and reranking, and combine retrieval with generation through Bedrock runtime APIs. Newer capabilities also include structured data stores that translate natural-language questions into SQL and agentic retrieval that can decompose complex questions into subqueries.On this pageStart with authoritative sourcesChoose parsing and chunking deliberatelyUse metadata for business filtersUse reranking when first-stage…

Read More

Amazon AWS AIP-C01: Bedrock Agents and Tool Use

Home/Amazon aip c01 bedrock agents and tool useAmazon Bedrock Agents Classic can turn a foundation model into an orchestrator that can interpret a user request, decide which action or knowledge source is relevant, gather missing information, call tools, and return a final response. The architecture is powerful because the agent can bridge natural language and business APIs. The risk is that model reasoning now influences real systems, which makes tool design, identity, validation, user confirmation, and observability first-class engineering concerns.On this pageDesign action groups around business capabilitiesUse Lambda for controlled…

Read More

Amazon AWS AIP-C01: Amazon Bedrock Model Selection

Home/Amazon aip c01 amazon bedrock model selectionAmazon Bedrock model selection is no longer a simple choice between a few text models. The Bedrock catalog includes foundation models from multiple providers, model families with different modalities and context windows, multiple API compatibility options, in-Region and cross-Region inference, inference profiles, on-demand and provisioned capacity patterns, and model lifecycle differences.On this pageStart with the taskCheck API compatibilityCheck Regional availabilityUse inference profiles intentionallyEvaluate quality with real promptsMeasure latency and throughputInclude cost in the evaluationUse Guardrails separately from model choicePlan for model lifecycle AWS’s current…

Read More

Amazon AWS AIP-C01: API Gateway for GenAI Applications

Home/Amazon aip c01 api gateway for genai applicationsAmazon API Gateway can act as the governed front door for a generative AI application built on Amazon Bedrock. Instead of allowing each client to invoke foundation models directly, an API layer can enforce authentication, tenant isolation, quotas, throttling, request validation, Web Application Firewall controls, lifecycle versioning, and observability before the request reaches the Bedrock runtime.On this pagePut governance in front of model invocationChoose JWT or IAM authorization deliberatelyThrottle before the Bedrock quotaUse WAF for internet-facing APIsStream model responses where the UX needs…

Read More

Microsoft SC-500: Zero Trust for Azure Workloads

Home/Certifications/Microsoft/Microsoft SC-500: Zero Trust for Azure Workloads Microsoft SecurityUpdated October 12, 2026 · 7 min read Zero Trust for Azure workloads means verifying specific requests, granting narrow authority and containing inevitable failures. It becomes concrete through identity, network, data, application, deployment and recovery controls that can be tested end to end. The practice is to describe each sensitive resource operation in terms of identity, permitted action, context and audit evidence. Teams should verify both the approved request and the rejected one, then keep those controls effective as applications, agents and…

Read More

Microsoft SC-500: Threat Modeling Cloud and AI Systems

Home/Certifications/Microsoft/Microsoft SC-500: Threat Modeling Cloud and AI Systems Microsoft SecurityUpdated October 12, 2026 · 7 min read Threat modeling cloud and AI systems reveals where data, identity and execution authority change. It should produce verifiable security controls for realistic abuse cases—not a generic list of threats or a diagram detached from the deployed application. AI agents add attack surfaces beyond a traditional web application: retrieved instructions, durable memory, delegated tools and model-mediated choices. A useful threat model treats each boundary separately and maps possible misuse to controls that can be…

Read More

Microsoft SC-500: Threat Hunting with Defender XDR

Home/Certifications/Microsoft/Microsoft SC-500: Threat Hunting with Defender XDR Microsoft SecurityUpdated October 12, 2026 · 7 min read Threat hunting uses a hypothesis to search for adversary behavior that alerts have not fully explained. Microsoft Defender XDR and Sentinel can support that process, but evidence quality, coverage, scope expansion and safe response remain the analyst’s responsibility. A defensible hunt names expected attacker behavior and a plausible observation that would disprove the hypothesis. It also tracks which endpoints, identities and cloud logs were searched so negative results are interpreted in light of coverage,…

Read More