[{"data":1,"prerenderedAt":384},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-solutions-architect-associate\u002Flessons\u002Famazon-cognito-vs-aws-identity-and-access-management-iam-saa-c03":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":217,"steps":248,"dateModified":379,"course":380,"nextLesson":381},"amazon-cognito-vs-aws-identity-and-access-management-iam-saa-c03","Amazon Cognito vs AWS Identity and Access Management (IAM)","When application identity management belongs in Cognito and when AWS resource permissions belong in IAM.",[190,196,200,204,208,213],{"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-cognito","Amazon Cognito","\u002Fimages\u002Fprovider-services\u002Famazon-cognito\u002Fcovers\u002FArch_Amazon-Cognito_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":210,"name":211,"icon":212,"provider":195},"amazon-s3-bucket","part","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",{"key":214,"kind":215,"name":216,"icon":20,"provider":20},"users","generic","Users",[218],{"key":219,"cards":220,"groups":236,"lines":237},"application-and-resource-access",[221,224,227,230,233],{"key":222,"component":214,"label":223},"client","Application user with web client",{"key":225,"component":197,"label":226},"signin","User pool",{"key":228,"component":191,"label":229},"api","API with user pool authorizer",{"key":231,"component":205,"label":232},"backend","Application code; IAM execution role",{"key":234,"component":209,"label":235},"storage","Private application files",[],[238,240,242,244,246],{"from":222,"to":225,"label":239},"Sign-in request",{"from":225,"to":222,"label":241},"Tokens",{"from":222,"to":228,"label":243},"Access token",{"from":228,"to":231,"label":245},"Authorized invocation",{"from":231,"to":234,"label":247},"Signed read",[249,274,291,322,340,343,358,361,366],{"kind":250,"title":251,"body":252,"table":253},"explanation","Separate application identity from AWS permissions","\u003Cp>\u003Cstrong>Amazon Cognito\u003C\u002Fstrong> manages identities for web and mobile applications. Choose it when customers need to register, sign in, recover accounts, or sign in through an external identity provider. A Cognito \u003Cstrong>user pool\u003C\u002Fstrong> authenticates application users and issues tokens that an application or API can validate.\u003C\u002Fp>\u003Cp>\u003Cstrong>AWS Identity and Access Management (IAM)\u003C\u002Fstrong> defines permissions for AWS resources. Choose IAM roles and policies when you need to specify which AWS actions a person or workload may perform on which resources. An application backend reading an S3 object needs AWS permissions even when its customer has already signed in through Cognito.\u003C\u002Fp>\u003Cp>These services usually complement each other. Do not create an IAM user for each customer as a substitute for application registration, and do not treat successful Cognito sign-in as permission to use arbitrary AWS resources.\u003C\u002Fp>",{"columns":254,"rows":257},[255,198,256],"Decision","IAM",[258,262,266,270],[259,260,261],"Primary concern","Application identities","AWS resource permissions",[263,264,265],"Typical configuration","User pool and app client","Roles and policies",[267,268,269],"Example need","Customer sign-in","Backend reads S3",[271,272,273],"Access boundary","Application session","AWS API actions",{"kind":275,"title":276,"exercise":277},"exercise","Place each responsibility",{"type":278,"question":279,"groups":280,"statements":281},"versus","Sort each responsibility into the service that owns it.",[198,256],[282,285,287,289],{"text":283,"group":284},"Provide customer registration and account recovery.",0,{"text":286,"group":12},"Define which S3 objects a backend role may read.",{"text":288,"group":284},"Issue user pool tokens after application sign-in.",{"text":290,"group":12},"Define AWS API permissions for a Lambda execution role.",{"kind":250,"title":292,"body":293,"diagram":219,"walkthrough":294},"Follow two distinct access decisions","\u003Cp>In this design, the customer signs in through a \u003Cstrong>Cognito user pool\u003C\u002Fstrong>, then calls an API using an access token. The API uses a configured user pool authorizer to validate the token and required scopes before invoking the application backend.\u003C\u002Fp>\u003Cp>The backend reads private files using its own \u003Cstrong>IAM execution role\u003C\u002Fstrong>. The customer's token identifies the application user; it is not the backend's AWS credential. The diagram shows the sign-in exchange and the forward read request, omitting API and storage responses.\u003C\u002Fp>",[295,298,304,309,314,319],{"text":296,"cards":297},"The user operates a web client. The client starts the application's sign-in and API requests.",[222],{"text":299,"cards":300,"lines":301},"The client sends a sign-in request to the Cognito user pool. After successful authentication, the user pool returns tokens to the client.",[225],[302,303],{"from":222,"to":225},{"from":225,"to":222},{"text":305,"cards":306,"lines":307},"The client sends its access token with the API request. API Gateway's user pool authorizer checks the token and the scopes required by the configured method.",[228],[308],{"from":222,"to":228},{"text":310,"cards":311,"lines":312},"API Gateway invokes the Lambda backend after the request passes authorization. The backend uses the user's identity to check which application file the user may access.",[231],[313],{"from":228,"to":231},{"text":315,"cards":316,"lines":317},"The backend signs an S3 read request with temporary credentials for its execution role. S3 evaluates AWS permissions for that role, not the customer's user pool token.",[234],[318],{"from":231,"to":234},{"text":320,"cards":321},"Application identity controls entry to the application, while the backend's AWS permissions separately control its storage access.",[],{"kind":275,"title":323,"exercise":324},"Trace sign-in through the backend read",{"type":325,"diagram":219,"scenario":326,"path":327},"trace","Follow a successful sign-in and the resulting application request to read a private file.",[328,330,332,334,336,338],{"card":222,"note":329},"The user starts sign-in through the web client.",{"card":225,"note":331},"The user pool authenticates the user and issues tokens.",{"card":222,"note":333},"The client receives the tokens and uses the access token for the API request.",{"card":228,"note":335},"The configured authorizer checks the token and required scopes.",{"card":231,"note":337},"Application code checks file access and uses its execution role for the AWS request.",{"card":234,"note":339},"S3 evaluates the signed request against the applicable AWS permissions.",{"kind":250,"title":341,"body":342},"Keep user authorization and workload permissions separate","\u003Cp>A \u003Cstrong>user pool identity\u003C\u002Fstrong> is not an IAM user. Registration creates an application identity, not an AWS account identity with resource permissions. Replacing the user pool with IAM would remove the customer registration and token-based sign-in function shown here.\u003C\u002Fp>\u003Cp>There are also two different permission checks after sign-in. Application code must decide whether this customer may access this file. Separately, \u003Cstrong>IAM policies\u003C\u002Fstrong> should limit the backend's execution role to the AWS actions and resources it needs. A role that can read a file does not prove that every signed-in customer should receive that file.\u003C\u002Fp>\u003Cp>Use \u003Cstrong>least privilege\u003C\u002Fstrong> at both boundaries: enforce ownership or application rules for the customer, and restrict the backend's AWS access. Neither check substitutes for the other.\u003C\u002Fp>",{"kind":275,"title":344,"exercise":345},"Restore application sign-in",{"type":346,"diagram":219,"requirement":347,"change":348,"tray":349,"hint":356,"explanation":357},"flaw","Keep managed customer registration and user pool token-based sign-in, while leaving the backend's IAM execution role in place.",{"card":225,"component":201},[350,352,354],{"component":197,"reason":351},"A Cognito user pool provides application registration, sign-in, and user pool tokens.",{"component":201,"reason":353},"IAM defines AWS identities and permissions; it does not provide this customer user pool.",{"component":205,"reason":355},"Lambda runs the backend code; it does not provide the managed user pool required here.","The broken card must manage application users, not define the backend's AWS permissions.","Restore Amazon Cognito. Its user pool owns customer sign-in and token issuance. IAM remains responsible for the execution role's AWS permissions; the services are complementary, not interchangeable.",{"kind":250,"title":359,"body":360},"Choose who makes the AWS request","\u003Cp>Ask \u003Cstrong>who calls the AWS service\u003C\u002Fstrong>. In the illustrated backend-mediated design, the client calls the application API and the backend calls S3. The client needs a user pool token for the application, but it does not need AWS credentials for this read. The backend needs an IAM role, and application code still enforces customer-specific access.\u003C\u002Fp>\u003Cp>If the client instead needs to call an AWS service directly, a \u003Cstrong>Cognito identity pool\u003C\u002Fstrong> can provide temporary AWS credentials associated with an IAM role. A user pool token alone is not an AWS credential. Even with an identity pool, \u003Cstrong>IAM\u003C\u002Fstrong> still defines the allowed AWS actions and resources.\u003C\u002Fp>\u003Cp>Choose Cognito for application identity, then assign AWS permissions to the component that actually makes the AWS request. Adding Cognito does not eliminate IAM, and using a backend role does not eliminate the need to authenticate application users.\u003C\u002Fp>",{"kind":275,"title":362,"exercise":363},"Rebuild the two-boundary design",{"type":364,"diagram":219,"question":365},"build","Rebuild the illustrated backend-mediated file-access design, including the sign-in exchange and forward read request but omitting other responses.",{"kind":250,"title":367,"body":368,"takeaways":369},"What to remember","\u003Cp>Use \u003Cstrong>Cognito\u003C\u002Fstrong> to establish application identity and \u003Cstrong>IAM\u003C\u002Fstrong> to define AWS permissions for whichever component makes the AWS request.\u003C\u002Fp>",[370,373,376],{"title":371,"text":372},"Application users belong in Cognito","User pools provide application registration, sign-in, and tokens. A customer does not need an IAM user just to use your application.",{"title":374,"text":375},"AWS permissions remain in IAM","IAM roles and policies define permitted AWS actions and resources. Successful application sign-in does not itself grant S3 or other AWS access.",{"title":377,"text":378},"Follow the actual caller","A backend can access AWS with its own role; a client needing direct AWS access can use an identity pool for temporary role credentials. Application-specific access checks remain necessary.","2026-10-29T23:38:15.482Z",{"pageSlug":67,"code":66,"certification":65,"certificationSlug":67},{"slug":382,"title":383},"least-privilege-what-it-means","Least privilege",1796130148822]