[{"data":1,"prerenderedAt":371},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-data-engineer-associate\u002Flessons\u002Famazon-api-gateway-iam-access-dea-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":69,"components":189,"diagrams":216,"steps":245,"dateModified":366,"course":367,"nextLesson":368},"amazon-api-gateway-iam-access-dea-c01","Amazon API Gateway: IAM access","How IAM authorization controls signed client requests and how integration roles or resource permissions let API Gateway invoke backends.",[190,196,200,204,208,212],{"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":199,"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":201,"kind":192,"name":202,"icon":203,"provider":195},"aws-identity-and-access-management-(iam)","AWS Identity and Access Management (IAM)","\u002Fimages\u002Fprovider-services\u002Faws-identity-and-access-management-(iam)\u002Fcovers\u002FArch_AWS-Identity-and-Access-Management_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"aws-security-token-service-(aws-sts)","AWS Security Token Service (AWS STS)","\u002Fimages\u002Fprovider-services\u002Faws-security-token-service-(aws-sts)\u002Fcovers\u002FRes_AWS-Identity-Access-Management_AWS-STS-Alternate_48.png",{"key":213,"kind":214,"name":215,"icon":20,"provider":20},"users","generic","Users",[217],{"key":218,"cards":219,"groups":235,"lines":236},"iam-request-boundaries",[220,223,226,229,232],{"key":221,"component":213,"label":222},"client","Client with AWS credentials",{"key":224,"component":191,"label":225},"api","REST API: AWS_IAM methods",{"key":227,"component":205,"label":228},"function","GET \u002Freports target",{"key":230,"component":209,"label":231},"sts","Integration-role credentials",{"key":233,"component":197,"label":234},"queue","POST \u002Fjobs target",[],[237,239,241,243],{"from":221,"to":224,"label":238},"Signed request",{"from":224,"to":227,"label":240},"InvokeFunction",{"from":224,"to":230,"label":242},"AssumeRole",{"from":224,"to":233,"label":244},"SendMessage",[246,250,264,294,306,330,345,348,353],{"kind":247,"title":248,"body":249},"explanation","Authorize the caller, not just the signature","\u003Cp>Set an API Gateway method or route to \u003Cstrong>AWS_IAM\u003C\u002Fstrong> when callers should use AWS identities. The client signs its HTTP request using \u003Cstrong>Signature Version 4\u003C\u002Fstrong> and AWS credentials. Temporary credentials also require a session token. A signing-capable SDK or HTTP client can construct the signature; the secret access key is not sent with the request.\u003C\u002Fp>\u003Cp>The signature identifies the caller and protects the signed request from alteration. It does \u003Cem>not\u003C\u002Fem> grant permission by itself. The caller needs an effective allow for \u003Ccode>execute-api:Invoke\u003C\u002Fcode> on the requested API resource, with no applicable explicit deny. Permissions to create or edit an API are separate from permission to invoke it.\u003C\u002Fp>\u003Cp>There is also a second authorization boundary: \u003Cstrong>API Gateway calling the backend\u003C\u002Fstrong>. A caller allowed to invoke an API does not automatically give API Gateway permission to invoke a function or send a queue message. Keep these two decisions separate.\u003C\u002Fp>",{"kind":251,"title":252,"exercise":253},"exercise","Complete the caller-side check",{"type":254,"question":255,"text":256,"answers":257,"distractors":260},"placeholder","Fill in the two parts of IAM-authorized API access.","The client signs its request using {}. Its effective permissions must allow {} on the requested API resource.",[258,259],"Signature Version 4","execute-api:Invoke",[261,262,263],"lambda:InvokeFunction","API creation permission","an API key",{"kind":247,"title":265,"body":266,"diagram":218,"walkthrough":267},"Two backend permission models","\u003Cp>This REST API has two IAM-protected methods. Both receive \u003Cstrong>signed client requests\u003C\u002Fstrong>, but their backend calls use different permission models. The diagram shows outgoing requests and the role-assumption call, not response traffic.\u003C\u002Fp>\u003Cp>For Lambda, a \u003Cstrong>resource-based policy\u003C\u002Fstrong> on the function can allow the API Gateway service principal, \u003Ccode>apigateway.amazonaws.com\u003C\u002Fcode>, to perform \u003Ccode>lambda:InvokeFunction\u003C\u002Fcode>. For an SQS integration, API Gateway can instead assume an \u003Cstrong>integration role\u003C\u002Fstrong> and use that role's credentials to send a message. These are backend permissions, not substitutes for caller authorization.\u003C\u002Fp>",[268,271,276,281,286,291],{"text":269,"cards":270},"The client holds AWS credentials and uses them to sign requests.",[221],{"text":272,"cards":273,"lines":274},"The client sends its signed request to API Gateway. The AWS_IAM method checks the caller's identity and effective permission to invoke that API resource.",[224],[275],{"from":221,"to":224},{"text":277,"cards":278,"lines":279},"For GET \u002Freports, API Gateway invokes the Lambda function. The function's resource policy permits this service invocation; this integration does not use an integration role.",[227],[280],{"from":224,"to":227},{"text":282,"cards":283,"lines":284},"For POST \u002Fjobs, API Gateway assumes its configured integration role through AWS STS. The role must trust API Gateway, and STS supplies temporary role credentials.",[230],[285],{"from":224,"to":230},{"text":287,"cards":288,"lines":289},"API Gateway sends the message directly to SQS using the assumed role's credentials. The role's permissions allow sqs:SendMessage on this queue; STS is not a relay for the message.",[233],[290],{"from":224,"to":233},{"text":292,"cards":293},"The caller's API permission and the selected integration's backend permission must both succeed.",[],{"kind":251,"title":295,"exercise":296},"Follow the Lambda request",{"type":297,"diagram":218,"scenario":298,"path":299},"trace","Trace an allowed, signed GET \u002Freports request to its backend.",[300,302,304],{"card":221,"note":301},"Signs GET \u002Freports using the caller's AWS credentials.",{"card":224,"note":303},"Checks the signature and effective execute-api:Invoke permission.",{"card":227,"note":305},"Accepts API Gateway's invocation under the function's resource policy.",{"kind":247,"title":307,"body":308,"table":309},"Configure the role that API Gateway assumes","\u003Cp>For the SQS integration, create an \u003Cstrong>integration role\u003C\u002Fstrong> and configure its ARN as the integration's credentials. Its \u003Cstrong>trust policy\u003C\u002Fstrong> allows the service principal \u003Ccode>apigateway.amazonaws.com\u003C\u002Fcode> to perform \u003Ccode>sts:AssumeRole\u003C\u002Fcode>. IAM defines the role and its policies; \u003Cstrong>AWS STS\u003C\u002Fstrong> issues the temporary credentials used when the role is assumed.\u003C\u002Fp>\u003Cp>The role also needs a \u003Cstrong>permissions policy\u003C\u002Fstrong> allowing \u003Ccode>sqs:SendMessage\u003C\u002Fcode> on the target queue ARN. Trust answers who may assume the role; permissions answer what that role may do. A correct trust policy does not grant queue access, and queue permissions do not repair a missing trust relationship.\u003C\u002Fp>\u003Cp>Do not confuse this integration role with a \u003Cstrong>Lambda execution role\u003C\u002Fstrong>. An execution role gives running function code access to other resources; it does not itself authorize API Gateway to invoke that function. In the pictured Lambda integration, that invocation is authorized by the function's resource policy.\u003C\u002Fp>",{"columns":310,"rows":314},[311,312,313],"Policy","Who uses it","What it allows",[315,319,323,327],[316,317,318],"Caller IAM policy","API client","Invoke API resource",[320,321,322],"Integration-role trust","API Gateway","Assume integration role",[324,325,326],"Integration-role permissions","Assumed role","Send queue message",[328,321,329],"Lambda resource policy","Invoke function",{"kind":251,"title":331,"exercise":332},"Restore the credential-issuing service",{"type":333,"diagram":218,"requirement":334,"change":335,"tray":336,"hint":343,"explanation":344},"flaw","API Gateway must obtain temporary credentials by assuming the SQS integration role. Repair the service at the end of the AssumeRole call.",{"card":230,"component":201},[337,339,341],{"component":209,"reason":338},"STS handles AssumeRole and issues temporary role credentials.",{"component":201,"reason":340},"IAM defines roles and policies; it is not the AssumeRole credential endpoint.",{"component":205,"reason":342},"Lambda runs function code; it does not issue integration-role credentials.","Separate the service that defines a role from the service that issues an assumed-role session.","AWS STS is the correct destination for AssumeRole. The role's IAM trust policy permits the assumption, and its permissions policy controls what API Gateway can do with the resulting credentials.",{"kind":247,"title":346,"body":347},"Scope and check both boundaries","\u003Cp>Apply \u003Cstrong>least privilege\u003C\u002Fstrong> separately at each boundary. For a REST API, an invocation resource ARN identifies the API, stage, HTTP method, and resource path. For example, \u003Ccode>arn:aws:execute-api:us-east-1:111122223333:a1b2c3d4\u002Fprod\u002FGET\u002Freports\u003C\u002Fcode> targets one method and path in one stage. Allowing that resource does not also allow \u003Ccode>POST \u002Fjobs\u003C\u002Fcode>.\u003C\u002Fp>\u003Cp>On the backend side, restrict the integration role to \u003Ccode>sqs:SendMessage\u003C\u002Fcode> on the intended queue. For Lambda's resource permission, allow \u003Ccode>lambda:InvokeFunction\u003C\u002Fcode> for \u003Ccode>apigateway.amazonaws.com\u003C\u002Fcode> and constrain \u003Cstrong>SourceArn\u003C\u002Fstrong> to the intended API execution ARN. This limits which API requests may cause the service invocation.\u003C\u002Fp>\u003Cp>When a request fails, separate \u003Cstrong>caller authorization\u003C\u002Fstrong> from \u003Cstrong>backend authorization\u003C\u002Fstrong>. First check the signed request, credentials, and effective API permission, including applicable policy restrictions and explicit denies. If the caller is allowed but backend access fails, check the function permission or the integration role's trust, configured ARN, and backend permissions. Do not broaden the caller's policy to fix a backend role.\u003C\u002Fp>",{"kind":251,"title":349,"exercise":350},"Rebuild the two authorized backend paths",{"type":351,"diagram":218,"question":352},"build","Rebuild the pictured REST API's outgoing calls for signed client access, GET \u002Freports using the Lambda resource permission, and POST \u002Fjobs using an assumed integration role; omit response traffic.",{"kind":247,"title":354,"body":355,"takeaways":356},"What to remember","\u003Cp>\u003Cstrong>IAM-authorized API access\u003C\u002Fstrong> requires both an authorized signed caller request and a separately authorized API Gateway call to the backend.\u003C\u002Fp>",[357,360,363],{"title":358,"text":359},"Sign and allow","AWS_IAM requests use AWS request signing and require effective execute-api:Invoke permission on the requested API resource. A valid signature is not permission by itself.",{"title":361,"text":362},"Trust, then permissions","An integration role trusts API Gateway to assume it through STS. Its permissions policy separately allows the required backend action on the intended resource.",{"title":364,"text":365},"Resource permissions are separate","A Lambda resource policy can authorize API Gateway invocation, scoped with SourceArn. Neither the caller's API permission nor the function's execution role replaces that backend invocation permission.","2026-10-29T23:39:56.667Z",{"pageSlug":80,"code":79,"certification":78,"certificationSlug":80},{"slug":369,"title":370},"amazon-kinesis-data-streams-vs-amazon-msk-choosing-a-streaming-service-dea-c01","Amazon Kinesis Data Streams vs Amazon MSK: choosing a streaming service",1796130160687]