Developing on AWS
Learn how applications talk to AWS: SDKs and the CLI, the credential provider chain, IAM roles for workloads, retries with exponential backoff, and authentication basics with Cognito.
Chapter quiz
Developing on AWS · 10 questions
1.A Python script that lists objects in a bucket returns only 1,000 keys even though the bucket has many more. What should the developer do?
2.An application on EC2 receives AccessDenied even though its instance profile role has the right permissions. The server has AWS_ACCESS_KEY_ID set in the environment from an old deployment. What is the cause?
3.Many clients receive ThrottlingException and retry immediately, which keeps the service overloaded. Which change helps MOST?
4.A mobile app lets signed-in users upload photos directly to their own S3 prefix. Which combination provides this with temporary credentials?
5.A container running on ECS needs to read from DynamoDB. Which role should hold the DynamoDB permissions?
6.A batch job calls DynamoDB BatchWriteItem and occasionally loses records although no exception is raised. What is the most likely cause?
7.A GitHub Actions pipeline must deploy to AWS without storing long-lived access keys. What should you configure?
8.A developer's laptop uses the default profile but CLI calls act as the wrong account. aws configure list shows the source is 'env'. What explains this?
9.A single-page app needs per-user authorisation rules such as 'a user may edit only their own orders'. Where should this logic live?
10.An application receives ThrottlingException from several AWS APIs under load. Which combination is the best response?
0 of 10 answered

