D1: Using AWS SDKs & APIs
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
How do SDKs find credentials?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Using AWS SDKs & APIs practice questions and answers
- How do SDKs find credentials?Default credential provider chain: env vars → shared credentials/config files (profiles, SSO) → container/instance role.
- Best credentials for code on EC2/Lambda/ECS?IAM roles (instance profile, execution role, task role) — no hard-coded keys.
- What is SigV4?Signature Version 4: signs AWS API requests with credentials; SDKs do it automatically.
- Pagination in SDKs?Use paginators or NextToken/LastEvaluatedKey to retrieve all results.
- SDK waiters?Poll until a resource reaches a state (e.g. instance running, table exists).
- Handling ThrottlingException?Retry with exponential backoff and jitter; request quota increase if persistent.
- Presigned URLs?Time-limited URLs letting clients upload/download S3 objects without AWS credentials.
- S3 multipart upload in SDK?Use high-level transfer managers for large files and parallel parts.
- AWS CLI --dry-run?Checks permissions for some EC2 actions without performing them.
- AWS CloudShell?Browser shell with CLI and your console credentials.