A developer creates a static website for their department. The developer deploys the static assets for the website to an Amazon S3 bucket and serves the assets with Amazon CloudFront. The developer uses origin access control (OAC) on the CloudFront distribution to access the S3 bucket.The developer notices users can access the root URL and specific pages but cannot access directories without specifying a file name. For example, /products/index.html works, but /products/ returns an error. The developer needs to enable accessing directories without specifying a file name without exposing the S3 bucket publicly.Which solution will meet these requirements?
Answer(s): C
A developer is testing a RESTful application that is deployed by using Amazon API Gateway and AWS Lambda. When the developer tests the user login by using credentials that are not valid, the developer receives an HTTP 405: METHOD_NOT_ALLOWED error. The developer has verified that the test is sending the correct request for the resource.Which HTTP error should the application return in response to the request?
Answer(s): A
A developer must use multi-factor authentication (MFA) to access data in an Amazon S3 bucket that is in another AWS account.Which AWS Security Token Service (AWS STS) API operation should the developer use with the MFA information to meet this requirement?
Answer(s): D
A developer designed an application on an Amazon EC2 instance. The application makes API requests to objects in an Amazon S3 bucket.Which combination of steps will ensure that the application makes the API requests in the MOST secure manner? (Choose two.)
Answer(s): B,C
An AWS Lambda function requires read access to an Amazon S3 bucket and requires read/write access to an Amazon DynamoDB table. The correct IAM policy already exists.What is the MOST secure way to grant the Lambda function access to the S3 bucket and the DynamoDB table?
Answer(s): B
Post your Comments and Discuss Amazon AWS Certified Developer Associate exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AWS Certified Developer Associate content, but please register or login to continue.