[{"data":1,"prerenderedAt":344},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fapi-versioning-side-by-side-api-contracts-dva-c03":187},[4,22,37,51,63,75,87,98,111,123,134,144,155,168,177],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},23,"aws-certified-developer-associate-dva-c03","Prepare for the AWS Certified Developer - Associate (DVA-C03) exam with realistic practice questions on developing, securing, testing, deploying and troubleshooting applications on AWS, AI-assisted development included, with detailed explanations.",655,true,"2026-12-03T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png","associate",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"DVA-C03",null,"2026-12-01",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},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,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"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":24,"code":35,"dateBetaStart":20,"dateReleased":36,"pageSlug":31},"SAP-C03","2026-11-17",{"id":38,"slug":39,"description":40,"questionCount":41,"isActive":9,"datePublicModified":42,"difficulty":43,"examVersion":49},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":44,"subtitle":45,"slug":46,"coverImageUrl":47,"level":48},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":39,"code":45,"dateBetaStart":20,"dateReleased":50,"pageSlug":46},"2023-09-19",{"id":52,"slug":53,"description":54,"questionCount":55,"isActive":9,"datePublicModified":42,"difficulty":56,"examVersion":61},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":57,"subtitle":58,"slug":59,"coverImageUrl":60,"level":33},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":53,"code":58,"dateBetaStart":20,"dateReleased":62,"pageSlug":59},"2023-03-07",{"id":64,"slug":65,"description":66,"questionCount":67,"isActive":9,"datePublicModified":42,"difficulty":68,"examVersion":72},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":69,"subtitle":70,"slug":71,"coverImageUrl":60,"level":48},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":65,"code":70,"dateBetaStart":73,"dateReleased":74,"pageSlug":71},"2024-08-13","2024-10-22",{"id":76,"slug":77,"description":78,"questionCount":79,"isActive":9,"datePublicModified":42,"difficulty":80,"examVersion":84},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":81,"subtitle":82,"slug":83,"coverImageUrl":60,"level":17},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":77,"code":82,"dateBetaStart":85,"dateReleased":86,"pageSlug":83},"2023-11-27","2024-03-12",{"id":12,"slug":88,"description":89,"questionCount":90,"isActive":9,"datePublicModified":42,"difficulty":91,"examVersion":96},"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":92,"subtitle":93,"slug":94,"coverImageUrl":95,"level":17},"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",{"slug":88,"code":93,"dateBetaStart":20,"dateReleased":97,"pageSlug":94},"2022-08-30",{"id":99,"slug":100,"description":101,"questionCount":102,"isActive":9,"datePublicModified":103,"difficulty":104,"examVersion":108},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":105,"subtitle":106,"slug":107,"coverImageUrl":60,"level":33},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":100,"code":106,"dateBetaStart":109,"dateReleased":110,"pageSlug":107},"2025-11-28","2026-03-17",{"id":112,"slug":113,"description":114,"questionCount":115,"isActive":9,"datePublicModified":103,"difficulty":116,"examVersion":121},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":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":113,"code":118,"dateBetaStart":20,"dateReleased":122,"pageSlug":119},"2025-12-01",{"id":124,"slug":125,"description":126,"questionCount":127,"isActive":9,"datePublicModified":103,"difficulty":128,"examVersion":132},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":129,"subtitle":130,"slug":131,"coverImageUrl":60,"level":17},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":125,"code":130,"dateBetaStart":133,"dateReleased":20,"pageSlug":131},"2026-09-29",{"id":135,"slug":136,"description":137,"questionCount":138,"isActive":9,"datePublicModified":103,"difficulty":139,"examVersion":143},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":140,"subtitle":141,"slug":142,"coverImageUrl":60,"level":48},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":136,"code":141,"dateBetaStart":133,"dateReleased":20,"pageSlug":142},{"id":145,"slug":146,"description":147,"questionCount":148,"isActive":9,"datePublicModified":103,"difficulty":149,"examVersion":153},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":150,"subtitle":151,"slug":152,"coverImageUrl":60,"level":17},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":146,"code":151,"dateBetaStart":20,"dateReleased":154,"pageSlug":152},"2025-09-30",{"id":156,"slug":157,"description":158,"questionCount":159,"isActive":9,"datePublicModified":160,"difficulty":161,"examVersion":165},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":162,"subtitle":163,"slug":164,"coverImageUrl":60,"level":33},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":157,"code":163,"dateBetaStart":166,"dateReleased":167,"pageSlug":164},"2022-01-01","2022-07-12",{"id":169,"slug":170,"description":171,"questionCount":172,"isActive":9,"datePublicModified":173,"difficulty":174,"examVersion":175},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":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},{"slug":170,"code":30,"dateBetaStart":20,"dateReleased":176,"pageSlug":20},"2022-11-15",{"id":178,"slug":179,"description":180,"questionCount":181,"isActive":9,"datePublicModified":173,"difficulty":182,"examVersion":183},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":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},{"slug":179,"code":184,"dateBetaStart":20,"dateReleased":185,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":188,"title":189,"focus":190,"level":17,"components":191,"diagrams":214,"steps":239,"dateModified":339,"course":340,"nextLesson":341},"api-versioning-side-by-side-api-contracts-dva-c03","API Versioning: Side-by-side API contracts","How to recognize a breaking contract change and route requests to the version whose validation rules and payload mappings preserve the client's expected behavior.",[192,198,202,206,210],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-api-gateway","service","Amazon API Gateway","\u002Fimages\u002Fprovider-services\u002Famazon-api-gateway\u002Fcovers\u002FArch_Amazon-API-Gateway_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"amazon-cloudfront","Amazon CloudFront","\u002Fimages\u002Fprovider-services\u002Famazon-cloudfront\u002Fcovers\u002FArch_Amazon-CloudFront_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":207,"kind":194,"name":208,"icon":209,"provider":197},"elastic-load-balancing-(elb)","Elastic Load Balancing (ELB)","\u002Fimages\u002Fprovider-services\u002Felastic-load-balancing-(elb)\u002Fcovers\u002FArch_Elastic-Load-Balancing_64.png",{"key":211,"kind":212,"name":213,"icon":20,"provider":20},"users","generic","Users",[215],{"key":216,"cards":217,"groups":230,"lines":231},"order-request-flow",[218,221,224,227],{"key":219,"component":211,"label":220},"clients","Order API clients",{"key":222,"component":193,"label":223},"v1","REST API method: POST \u002Fv1\u002Forders",{"key":225,"component":193,"label":226},"v2","REST API method: POST \u002Fv2\u002Forders",{"key":228,"component":203,"label":229},"handler","Shared order handler",[],[232,234,236,238],{"from":219,"to":222,"label":233},"v1 order JSON",{"from":219,"to":225,"label":235},"v2 order JSON",{"from":222,"to":228,"label":237},"Validated mapped order",{"from":225,"to":228,"label":237},[240,244,263,289,301,304,318,321,326],{"kind":241,"title":242,"body":243},"explanation","A breaking change is measured against the old contract","\u003Cp>An \u003Cstrong>API contract\u003C\u002Fstrong> says what a client can send and what it can rely on getting back. It covers more than field names: required inputs, data types, units, status codes, and error bodies can all be part of the contract. A change is \u003Cstrong>breaking\u003C\u002Fstrong> if a previously supported client can no longer make a valid request or correctly use the result.\u003C\u002Fp>\u003Cp>Take an order API whose v1 client sends and reads a decimal \u003Ccode>total\u003C\u002Fcode> in US dollars. Replacing that response field with \u003Ccode>amount\u003C\u002Fcode> breaks a reader that expects \u003Ccode>total\u003C\u002Fcode>. Requiring \u003Ccode>currency\u003C\u002Fcode> on the existing route also breaks callers that never had to send it. In contrast, adding an optional response field is compatible if supported readers ignore unknown fields; it can break readers that reject them.\u003C\u002Fp>",{"kind":245,"title":246,"exercise":247},"exercise","Recognize what breaks an existing client",{"type":248,"question":249,"groups":250,"statements":253},"versus","Sort each change by whether it preserves the stated behavior of existing v1 clients.",[251,252],"Breaking","Compatible",[254,257,259,261],{"text":255,"group":256},"Replace the response field total with amount while v1 readers still look for total.",0,{"text":258,"group":256},"Require currency from v1 callers that send only total.",{"text":260,"group":12},"Add an optional response field when all supported readers ignore unknown fields.",{"text":262,"group":12},"Refactor the order handler without changing any behavior clients rely on.",{"kind":241,"title":264,"body":265,"diagram":216,"walkthrough":266},"Let the request path select the contract","\u003Cp>Run the two contracts \u003Cstrong>side by side\u003C\u002Fstrong>. In one Amazon API Gateway REST API, define separate POST methods for \u003Ccode>\u002Fv1\u002Forders\u003C\u002Fcode> and \u003Ccode>\u002Fv2\u002Forders\u003C\u002Fcode>. The client selects the contract by choosing the path, not by sending JSON that the API has to guess how to interpret. Both methods can use the same Lambda function; a Lambda deployment version is not a public API contract version.\u003C\u002Fp>\u003Cp>This diagram shows the \u003Cstrong>request path\u003C\u002Fstrong>. On the way back, each method can use its own \u003Cstrong>integration response mapping\u003C\u002Fstrong> with a Lambda non-proxy integration. For example, a successful handler result with \u003Ccode>amount\u003C\u002Fcode> and \u003Ccode>currency\u003C\u002Fcode> can become a response with \u003Ccode>total\u003C\u002Fcode> for v1 and a response with \u003Ccode>amount\u003C\u002Fcode> and \u003Ccode>currency\u003C\u002Fcode> for v2. Keep each version's status codes and error bodies consistent with its contract, too.\u003C\u002Fp>",[267,270,275,280,286],{"text":268,"cards":269},"Clients choose the order API path that matches the contract they were written for.",[219],{"text":271,"cards":272,"lines":273},"The v1 POST method receives legacy JSON with a decimal total in US dollars.",[222],[274],{"from":219,"to":222},{"text":276,"cards":277,"lines":278},"The v2 POST method receives JSON with a decimal amount and an explicit currency.",[225],[279],{"from":219,"to":225},{"text":281,"cards":282,"lines":283},"Both methods validate their own public input and map accepted requests into the same internal shape before invoking the shared handler.",[228],[284,285],{"from":222,"to":228},{"from":225,"to":228},{"text":287,"cards":288},"The path selects the public contract, while both contracts share the same order-processing code.",[],{"kind":245,"title":290,"exercise":291},"Follow a legacy request",{"type":292,"diagram":216,"scenario":293,"path":294},"trace","An unchanged v1 client posts a valid JSON order containing total to \u002Fv1\u002Forders.",[295,297,299],{"card":219,"note":296},"The client explicitly selects the v1 path.",{"card":222,"note":298},"The v1 method accepts the legacy field and maps the request to the internal shape.",{"card":228,"note":300},"The shared handler receives the mapped order, not the original v1 JSON.",{"kind":241,"title":302,"body":303},"Validate the public payload before mapping it","\u003Cp>Give each REST API method a \u003Cstrong>request body model\u003C\u002Fstrong> for \u003Ccode>application\u002Fjson\u003C\u002Fcode> and enable a \u003Cstrong>request validator\u003C\u002Fstrong> that checks the body. The v1 model requires a numeric \u003Ccode>total\u003C\u002Fcode>; the v2 model requires a numeric \u003Ccode>amount\u003C\u002Fcode> and a string \u003Ccode>currency\u003C\u002Fcode>. With body validation enabled and a matching model, API Gateway rejects an invalid body with a 400 response before invoking the integration.\u003C\u002Fp>\u003Cp>The model describes the JSON the client actually sends, not the internal shape the handler expects. This is why v1 does not require \u003Ccode>currency\u003C\u002Fcode> even though the handler expects it. A model alone does not turn validation on, and a model for one content type does not automatically validate bodies sent with another.\u003C\u002Fp>",{"kind":245,"title":305,"exercise":306},"Restore the v2 validation point",{"type":307,"diagram":216,"requirement":308,"change":309,"tray":310,"hint":316,"explanation":317},"flaw","POST \u002Fv2\u002Forders must apply its REST API request body model and reject an application\u002Fjson body missing currency before the shared Lambda handler is invoked.",{"card":225,"component":199},[311,312,314],{"component":193},{"component":199,"reason":313},"CloudFront can route by path, but it does not apply API Gateway REST API request body models.",{"component":207,"reason":315},"An Application Load Balancer can route by path, but it does not validate JSON against a REST API request body model.","Look for the component that checks required JSON fields before invoking the integration, not just one that forwards by path.","The API Gateway v2 method checks currency against its own body model. If the required field is missing, API Gateway rejects the request without invoking Lambda.",{"kind":241,"title":319,"body":320},"Map accepted requests to one handler input","\u003Cp>\u003Cstrong>Validation\u003C\u002Fstrong> decides whether the public payload is allowed; it does not rename fields or fill in defaults. In a \u003Cstrong>Lambda non-proxy integration\u003C\u002Fstrong>, an API Gateway integration request mapping template can build the JSON passed to the function after the request passes validation.\u003C\u002Fp>\u003Cp>Here the handler expects \u003Ccode>amount\u003C\u002Fcode> and \u003Ccode>currency\u003C\u002Fcode>. The v1 template copies \u003Ccode>total\u003C\u002Fcode> into \u003Ccode>amount\u003C\u002Fcode> and supplies \u003Ccode>USD\u003C\u002Fcode> because v1 already promises US dollars. The v2 template passes through the accepted \u003Ccode>amount\u003C\u002Fcode> and \u003Ccode>currency\u003C\u002Fcode>. Keep the public models separate even though both mappings produce the same internal shape.\u003C\u002Fp>",{"kind":245,"title":322,"exercise":323},"Build both request paths",{"type":324,"diagram":216,"question":325},"build","Draw the request flow for both order contracts, showing where each public payload is validated and mapped before shared processing.",{"kind":241,"title":327,"body":328,"takeaways":329},"What to remember","\u003Cp>\u003Cstrong>Version the public contract\u003C\u002Fstrong> so the implementation can change without forcing existing clients to change with it.\u003C\u002Fp>",[330,333,336],{"title":331,"text":332},"Check client expectations","A change breaks compatibility when a supported request stops working or a client can no longer interpret the result as promised.",{"title":334,"text":335},"Route and validate per version","An explicit path selects the method, and that method validates the public body against its own request model.",{"title":337,"text":338},"Share code, not contracts","Request mappings can feed one handler shape, while response mappings keep the result in the shape each client expects.","2026-12-02T21:32:15.853Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":342,"title":343},"apis-the-aws-service-operation-contract-dva-c03","APIs: The AWS service operation contract",1796288615232]