[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-generative-ai-developer-professional\u002Flessons\u002Ffoundation-models-inference-integration-boundaries-aip-c01":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":17,"components":189,"diagrams":239,"steps":276,"dateModified":454,"course":455,"nextLesson":456},"foundation-models-inference-integration-boundaries-aip-c01","Foundation Models: inference integration boundaries","How to design foundation-model inference boundaries using synchronous or asynchronous interfaces and managed or self-hosted deployment to meet latency, availability, and data-control requirements.",[190,196,199,203,207,211,215,219,223,227,231,235],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-api-gateway","service","Amazon API Gateway","\u002Fimages\u002Fprovider-services\u002Famazon-api-gateway\u002Fcovers\u002FArch_Amazon-API-Gateway_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":20,"provider":195},"amazon-bedrock","Amazon Bedrock",{"key":200,"kind":192,"name":201,"icon":202,"provider":195},"amazon-dynamodb","Amazon DynamoDB","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FArch_Amazon-DynamoDB_64.png",{"key":204,"kind":192,"name":205,"icon":206,"provider":195},"amazon-ec2","Amazon EC2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png",{"key":208,"kind":192,"name":209,"icon":210,"provider":195},"amazon-elastic-file-system-(amazon-efs)","Amazon Elastic File System (Amazon EFS)","\u002Fimages\u002Fprovider-services\u002Famazon-elastic-file-system-(amazon-efs)\u002Fcovers\u002FArch_Amazon-EFS_64.png",{"key":212,"kind":192,"name":213,"icon":214,"provider":195},"amazon-eventbridge","Amazon EventBridge","\u002Fimages\u002Fprovider-services\u002Famazon-eventbridge\u002Fcovers\u002FArch_Amazon-EventBridge_64.png",{"key":216,"kind":192,"name":217,"icon":218,"provider":195},"amazon-s3","Amazon S3","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FArch_Amazon-Simple-Storage-Service_64.png",{"key":220,"kind":192,"name":221,"icon":222,"provider":195},"amazon-sagemaker","Amazon SageMaker","\u002Fimages\u002Fprovider-services\u002Famazon-sagemaker\u002Fcovers\u002FArch_Amazon-SageMaker_64.png",{"key":224,"kind":192,"name":225,"icon":226,"provider":195},"amazon-simple-notification-service-(amazon-sns)","Amazon Simple Notification Service (Amazon SNS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-notification-service-(amazon-sns)\u002Fcovers\u002FArch_Amazon-Simple-Notification-Service_64.png",{"key":228,"kind":192,"name":229,"icon":230,"provider":195},"amazon-simple-queue-service-(amazon-sqs)","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png",{"key":232,"kind":192,"name":233,"icon":234,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":236,"kind":237,"name":238,"icon":20,"provider":20},"users","generic","Users",[240],{"key":241,"cards":242,"groups":262,"lines":265},"async-self-hosted",[243,246,249,252,255,259],{"key":244,"component":236,"label":245},"caller","Job submitter",{"key":247,"component":191,"label":248},"api","Submission API",{"key":250,"component":232,"label":251},"admission","Admission function",{"key":253,"component":228,"label":254},"queue","Inference jobs",{"key":256,"component":204,"label":257,"group":258},"worker","Worker and model runtime","private-runtime",{"key":260,"component":216,"label":261},"results","Immutable result objects",[263],{"key":258,"label":264},"Private VPC subnets: customer-operated runtime",[266,268,270,272,274],{"from":244,"to":247,"label":267},"Job request",{"from":247,"to":250,"label":269},"Admission request",{"from":250,"to":253,"label":271},"Accepted job",{"from":253,"to":256,"label":273},"Job delivery",{"from":256,"to":260,"label":275},"Output object",[277,298,321,342,354,386,408,411,429,441],{"kind":278,"title":279,"body":280,"table":281},"explanation","Choose the completion contract before the endpoint","\u003Cp>A \u003Cstrong>synchronous boundary\u003C\u002Fstrong> keeps the caller waiting for inference on the same request. Budget for admission, network transit, queueing inside the serving system, generation, and response delivery. Use measured tail latency, not average model time, against the shortest applicable client or intermediary deadline. Streaming can improve \u003Cstrong>time to first token\u003C\u002Fstrong>, but does not eliminate generation time or connection limits.\u003C\u002Fp>\u003Cp>An \u003Cstrong>asynchronous boundary\u003C\u002Fstrong> returns a job identifier after durable acceptance, then exposes completion separately through status lookup, notification, or result retrieval. Acceptance is not successful inference. Define accepted, running, succeeded, failed, and expired states, with authorization on both submission and result access.\u003C\u002Fp>\u003Cp>These are interface choices, not hosting choices: either can front managed inference or a self-hosted runtime. A queue absorbs a temporary arrival burst; it does not increase sustained inference capacity. An asynchronous completion budget includes \u003Cstrong>queue age\u003C\u002Fstrong> as well as execution time.\u003C\u002Fp>",{"columns":282,"rows":287},[283,284,285,286],"Contract","Initial success means","Latency concern","Failure handling",[288,293],[289,290,291,292],"Synchronous","Inference response delivered","End-to-end deadline","Timeout can be ambiguous",[294,295,296,297],"Asynchronous","Job durably accepted","Queue age plus execution","Explicit terminal state",{"kind":299,"title":300,"exercise":301},"exercise","Separate acceptance from completion",{"type":302,"question":303,"groups":304,"statements":307},"versus","Sort these properties by the interface contract they describe.",[305,306],"Synchronous boundary","Asynchronous boundary",[308,311,313,315,317,319],{"text":309,"group":310},"The caller waits for inference on the original request.",0,{"text":312,"group":12},"The initial success response confirms durable acceptance, not inference success.",{"text":314,"group":310},"Generation and response delivery must fit the original request's deadline.",{"text":316,"group":12},"Completion is exposed separately from the submission response.",{"text":318,"group":310},"Streaming tokens still use the live inference request.",{"text":320,"group":12},"The completion budget includes the accepted job's queue age.",{"kind":278,"title":322,"body":323,"table":324},"Place control at the layer that actually needs it","\u003Cp>A \u003Cstrong>managed inference API\u003C\u002Fstrong>, such as Amazon Bedrock, removes direct host and serving-fleet operation, but supported models, invocation features, and capacity arrangements constrain the boundary. Deploying your own model artifact on \u003Cstrong>Amazon SageMaker\u003C\u002Fstrong> gives control over the model and serving container while AWS manages the hosting infrastructure. Self-hosting on \u003Cstrong>Amazon EC2\u003C\u002Fstrong> adds guest-operating-system control and responsibility for patching, accelerator drivers, model loading, scaling, and recovery.\u003C\u002Fp>\u003Cp>The architecture below deliberately requires a customer-installed \u003Cstrong>guest-OS extension\u003C\u002Fstrong> alongside the model server, so it uses EC2 rather than Bedrock or SageMaker managed inference endpoints. Do not generalize that choice: self-hosting is not automatically faster or more available. Model-load time, accelerator capacity, warm replicas, and failure recovery must be measured and operated.\u003C\u002Fp>\u003Cp>\u003Cstrong>Private connectivity\u003C\u002Fstrong> controls the network path, not the provider's data-use terms. Review processing locations, cross-Region routing, retention, invocation logging, encryption, access, and deletion across every copy of prompts and outputs. Self-hosting also leaves copies in queues, storage, and logs; neither a private endpoint nor ownership of the runtime establishes compliance by itself.\u003C\u002Fp>",{"columns":325,"rows":329},[326,327,328],"Deployment","Customer control","Customer operations",[330,334,338],[331,332,333],"Managed API","Request and supported settings","Integration and capacity planning",[335,336,337],"SageMaker managed endpoint","Model and serving container","Deployment and endpoint scaling",[339,340,341],"EC2 self-hosting","Runtime and guest OS","Hosts, serving, and recovery",{"kind":299,"title":343,"exercise":344},"Keep network control distinct from governance",{"type":345,"question":346,"text":347,"answers":348,"distractors":351},"placeholder","Complete the boundary rule.","Private connectivity controls the {} path; by itself, it does not establish {}.",[349,350],"network","compliance",[352,353],"model version","token throughput",{"kind":278,"title":355,"body":356,"diagram":241,"walkthrough":357},"Walk an asynchronous, self-hosted inference boundary","\u003Cp>This diagram shows the \u003Cstrong>submission-to-output data path\u003C\u002Fstrong> for jobs that may outlast an interactive request and require the guest-OS extension described earlier. Arrows show logical data movement, not every protocol exchange: workers pull messages, and the diagram omits acknowledgments, result reads, identity plumbing, and telemetry. The API returns acceptance only after enqueueing succeeds; it does not wait for generation.\u003C\u002Fp>\u003Cp>The separation is intentional: \u003Cstrong>Amazon SQS\u003C\u002Fstrong> provides a durable pull queue with visibility and deletion semantics. Amazon SNS provides publish\u002Fsubscribe delivery, not that worker queue contract; an EventBridge event bus routes events rather than exposing an SQS-style receive\u002Fdelete queue. Output is retained as large, immutable objects through the \u003Cstrong>Amazon S3 object API\u003C\u002Fstrong>, not as database items or mounted files. DynamoDB has a per-item size limit; EBS and EFS expose block and file storage rather than this object API.\u003C\u002Fp>\u003Cp>For this integration, the admission function performs short application-code checks and builds the job envelope. It never runs the model. The \u003Cstrong>EC2 worker\u003C\u002Fstrong> both consumes jobs and executes inference locally, keeping the chosen model runtime inside the customer-operated boundary.\u003C\u002Fp>",[358,363,368,373,378,383],{"text":359,"cards":360,"lines":361},"The submitter sends a job request to the API Gateway submission API. This is the application's acceptance interface, not a promise that inference has completed.",[244,247],[362],{"from":244,"to":247},{"text":364,"cards":365,"lines":366},"API Gateway invokes the Lambda admission function. The function validates the application request and constructs an envelope containing the job identifier, deadline, and approved model version.",[250],[367],{"from":247,"to":250},{"text":369,"cards":370,"lines":371},"The admission function sends the accepted job to SQS and returns acceptance only after successful enqueueing. SQS retains pending work independently of whether a worker is currently available.",[253],[372],{"from":250,"to":253},{"text":374,"cards":375,"lines":376},"The EC2 worker polls SQS and receives the job under a visibility timeout. It checks the deadline and approved model version before running the locally hosted model with the required guest-OS extension.",[256],[377],{"from":253,"to":256},{"text":379,"cards":380,"lines":381},"The worker writes the inference output to S3 as an immutable result object associated with the job identifier. Successful durable publication must precede deletion of the queue message.",[260],[382],{"from":256,"to":260},{"text":384,"cards":385},"The boundary separates durable job acceptance from customer-operated inference and durable output publication.",[],{"kind":299,"title":387,"exercise":388},"Restore the queue, runtime, and output boundary",{"type":389,"diagram":241,"question":390,"hidden":391,"tray":392},"palette","Restore the three missing components using the pull-queue contract, guest-OS requirement, and object-output contract.",[253,256,260],[393,394,395,396,398,400,402,404,406],{"component":228},{"component":204},{"component":216},{"component":224,"reason":397},"SNS publishes to subscribers; it does not expose the worker receive, visibility, and delete queue contract.",{"component":212,"reason":399},"An EventBridge event bus routes events; it is not the pull queue consumed by this worker.",{"component":197,"reason":401},"Bedrock does not expose a guest operating system for installing the required host extension.",{"component":220,"reason":403},"SageMaker managed inference endpoints do not give the customer guest-OS administration for this extension.",{"component":208,"reason":405},"EFS exposes a file system, not the S3 object API required for result publication.",{"component":200,"reason":407},"DynamoDB stores size-limited items, not the large output objects required by this boundary.",{"kind":278,"title":409,"body":410},"Make retries and overload part of the contract","\u003Cp>\u003Cstrong>Durable acceptance\u003C\u002Fstrong> preserves work during a temporary worker outage, but does not guarantee timely completion. Bound admission by backlog age and the completion objective; reject or defer work when capacity cannot recover in time. Scale workers using backlog and observed service time, accounting for model loading and accelerator availability. Measure acceptance availability separately from completion success and completion latency.\u003C\u002Fp>\u003Cp>With SQS, design for \u003Cstrong>duplicate delivery\u003C\u002Fstrong>. Bind a submission idempotency key to the caller and request payload, and preserve the approved model version across retries. A visibility timeout hides a message temporarily; it is not an exactly-once lock. Extend visibility for long work, use bounded retries and a dead-letter queue for persistent failures, and do not replay jobs whose deadlines have expired.\u003C\u002Fp>\u003Cp>Publish the result durably \u003Cstrong>before deleting the message\u003C\u002Fstrong>. A crash after publication but before deletion can cause another delivery, so use a stable result identity and conditional publication or durable deduplication to prevent conflicting visible results. This can prevent duplicate publication without preventing duplicate model execution. Likewise, a synchronous timeout does not prove execution stopped: retry policies need idempotency, bounded attempts, and a remaining deadline.\u003C\u002Fp>",{"kind":299,"title":412,"exercise":413},"Follow one accepted job",{"type":414,"diagram":241,"scenario":415,"path":416},"trace","Trace a valid, unexpired job from submission through durable output publication, with no retries.",[417,419,421,423,425,427],{"card":244,"note":418},"Submit the request with its caller-scoped idempotency key.",{"card":247,"note":420},"Receive the submission request at the application API boundary.",{"card":250,"note":422},"Validate the request and construct the job envelope.",{"card":253,"note":424},"Durably accept the job before submission success is returned.",{"card":256,"note":426},"Receive the job, check its deadline and model version, and run the local model.",{"card":260,"note":428},"Publish the result durably before the worker deletes the queue message.",{"kind":299,"title":430,"exercise":431},"Rebuild the boundary you just walked",{"type":432,"diagram":241,"question":433,"decoys":434},"build","Rebuild the taught asynchronous submission-to-output data path, preserving durable acceptance, the private customer-operated guest-OS runtime, and object-result publication; place the components and label the data movement, omitting return traffic, polling control calls, and result reads.",[435,437,439],{"component":224,"reason":436},"SNS cannot replace the SQS worker queue's receive, visibility, and delete contract.",{"component":197,"reason":438},"Bedrock cannot host the required customer-installed guest-OS extension.",{"component":220,"reason":440},"SageMaker managed inference endpoints do not expose guest-OS administration for the required extension.",{"kind":278,"title":442,"body":443,"takeaways":444},"What to remember","\u003Cp>Design the \u003Cstrong>completion contract\u003C\u002Fstrong>, \u003Cstrong>deployment control\u003C\u002Fstrong>, and \u003Cstrong>failure semantics\u003C\u002Fstrong> together, while treating them as separate choices.\u003C\u002Fp>",[445,448,451],{"title":446,"text":447},"Acceptance is not completion","Synchronous inference must fit the end-to-end request deadline; asynchronous inference needs durable acceptance and a separate completion contract. Queueing absorbs bursts, not sustained capacity deficits.",{"title":449,"text":450},"Control has an operating cost","Choose managed APIs, managed model hosting, or self-hosting for the control actually required. Private networking alone does not settle residency, retention, data-use terms, or compliance.",{"title":452,"text":453},"Retries need durable rules","Use deadlines, bounded retries, idempotency, and durable publication before message deletion. Separate acceptance availability from timely completion, and expect duplicate execution even when publication is deduplicated.","2026-10-29T23:44:58.631Z",{"pageSlug":93,"code":92,"certification":91,"certificationSlug":93},{"slug":457,"title":458},"online-inference-live-request-path-design-aip-c01","Online Inference: live request-path design",1796130175688]