A company runs an e-commerce website that uses Amazon DynamoDB where pricing for items is dynamically updated in
real time. At any given time, multiple updates may occur simultaneously for pricing information on a particular product. This
is causing the original editors changes to be overwritten without a proper review process.
Which DynamoDB write option should be selected to prevent this overwriting?
B
A developer manages an application that interacts with Amazon RDS. After observing slow performance with read queries,
the developer implements Amazon ElastiCache to update the cache immediately following the primary database update.
What will be the result of this approach to caching?
D
Explanation:
Reference: https://aws.amazon.com/elasticache/faqs/
A developer is debugging an AWS Lambda function behind an Amazon API Gateway. Whenever the API Gateway endpoint
is called, HTTP status code 200 is returned even though AWS Lambda is recording a 4xx error.
What change needs to be made to return a proper error code through the API Gateway?
A
Explanation:
Reference: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
A developer is creating a new application that will be accessed by users through an API created using Amazon API
Gateway. The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider.
Once authenticated, users will need access to other AWS services, such as Amazon S3 and Amazon DynamoDB.
How can these requirements be met?
A
A Developer wants to insert a record into an Amazon DynamoDB table as soon as a new file is added to an Amazon S3
bucket.
Which set of steps would be necessary to achieve this?
B
A Developer is writing an application that runs on Amazon EC2 instances in an Auto Scaling group. The application data is
stored in an Amazon DynamoDB table and records are constantly updated by all instances. An instance sometimes retrieves
old data. The Developer wants to correct this by making sure the reads are strongly consistent.
How can the Developer accomplish this?
A
Explanation:
Reference: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html
A developer is building an application on Amazon EC2. The developer encountered an Access Denied error on some of the
API calls to AWS services while testing. The developer needs to modify permissions that have been already given to the
instance.
How can these requirements be met with minimal changes and minimum downtime?
B
A Development team decides to adopt a continuous integration/continuous delivery (CI/CD) process using AWS
CodePipeline and AWS CodeCommit for a new application. However, management wants a person to review and approve
the code before it is deployed to production.
How can the Development team add a manual approver to the CI/CD pipeline?
D
Explanation:
Reference: https://docs.aws.amazon.com/codepipeline/latest/userguide/approvals-action-add.html
A company is managing a NoSQL database on-premises to host a critical component of an application, which is starting to
have scaling issues. The company wants to migrate the application to Amazon DynamoDB with the following considerations:
Optimize frequent queries
Reduce read latencies
Plan for frequent queries on certain key attributes of the table
Which solution would help achieve these objectives?
A
A Developer has an Amazon DynamoDB table that must be in provisioned mode to comply with user requirements. The
application needs to support the following: Average item size: 10 KB
Item reads each second: 10 strongly consistent Item writes each second: 2 transactional
Which read and write capacity cost-effectively meets these requirements?
B