Cognito 試験Tips
Cognito 試験Tips (SAA/SAP)
Section titled “Cognito 試験Tips (SAA/SAP)”頻出トピック
Section titled “頻出トピック”1. User Pools vs Identity Pools
Section titled “1. User Pools vs Identity Pools”User Pools: - ユーザーディレクトリ - サインアップ/サインイン - JWT発行 - 用途: ユーザー認証
Identity Pools: - AWS認証情報取得 - 一時クレデンシャル - IAMロール - 用途: AWSリソースアクセス
頻出: Q: ユーザー認証のみ A: User Pools
Q: S3直接アクセス A: User Pools + Identity Pools2. Cognito vs IAM
Section titled “2. Cognito vs IAM”Cognito: - アプリユーザー認証 - 外部ユーザー - 大量ユーザー
IAM: - AWSアカウント管理 - 社内ユーザー - 少数ユーザー3. Lambda Triggers
Section titled “3. Lambda Triggers”Pre Sign-up: - カスタムバリデーション - ドメイン制限
Post Confirmation: - Welcome Email - DB登録
Pre Authentication: - IP制限 - カスタム認証頻出シナリオ
Section titled “頻出シナリオ”シナリオ1: モバイルアプリ認証
Section titled “シナリオ1: モバイルアプリ認証”要件: モバイルアプリユーザー認証、S3アクセス解答: Cognito User Pools + Identity Pools
ポイント:✓ User Pools: 認証✓ Identity Pools: S3アクセス✓ IAMロール自動割り当てシナリオ2: ソーシャルログイン
Section titled “シナリオ2: ソーシャルログイン”要件: Google/Facebookログイン解答: Cognito User Pools + ソーシャルプロバイダー
ポイント:✓ 簡単統合✓ 属性マッピングよくある間違い
Section titled “よくある間違い”× 誤り: IAMユーザーでアプリユーザー管理○ 正解: Cognito User Pools
× 誤り: User Poolsのみでs3アクセス○ 正解: Identity Pools必要
× 誤り: Identity Poolsで認証○ 正解: User Poolsで認証、Identity PoolsでAWS認証情報SAA試験重要ポイント
Section titled “SAA試験重要ポイント”基本: ☐ User Pools vs Identity Pools ☐ JWT ☐ ソーシャルログイン
統合: ☐ API Gateway統合 ☐ S3アクセスSAP試験重要ポイント
Section titled “SAP試験重要ポイント”高度: ☐ Lambda Triggers詳細 ☐ SAML/OIDC統合 ☐ Advanced Security ☐ カスタム認証フロー