Sample Questions
Q) A developer is writing an application that will run on -premises. but must access AWS services through an AWS SDK. How can the Developer allow the SDK to access the AWS services?
a) Create an lAM EC2 role with correct permissions and assign it to the on-premises server
b) Create an PAM user with correct permissions, generate an access key and store it in aws credentials
c) Create an lAM role with correct permissions and request an STS token to assume the role
d) Create an lAM user with correct permissions, generate an access key and store it in a Dynamo DB table.
Q) A Developer is migrating an on-premises web application to the AWS Cloud. The application currently runs sh on a 32-processor server and stores session state In memory. On Friday afternoons the server runs at 75% CPU utilization, but only about 5% CPU utilization at other times. Show should the Developer change to code to better take advantage of running in the cloud?
a) Compress the session state data in memory
b) Store session state on EC2 instance Store 1
c) Encrypt the session state data In memory
d) Store session state in an Elastic Cache cluster.
Q) An organization's application needs to monitor application specific events with a standard AWS service. The service should capture the number of logged in users and trigger events accordingly. During peak times. monitoring frequency will occur every 10 seconds. What should be done to meet these requirements?
a) Create an Amazon SNS notification
b) Create a standard resolution custom Amazon Cloud Watch log
c) Create a high resolution custom Amazon Cloud Watch metric
d) Create a custom Amazon Cloud Trail log.
Q) A Developer is writing an application that runs on EC2 instances and stores 2 GB objects in an S3 bucket. The Developer wants to minimize the time required to upload each item. Which API should the Developer use to minimize upload time?
a) Multipart Upload
b) Batch Get Item
c) Batch Write Item
d) Put item
Q) A Developer working on an AWS Code Build project wants to override a build command as part of a build run to test a change. The developer has access to run the builds but does not have access to edit the Code Build project What process should the Developer use to override the build command?
a) Update the buildspec.yml configuration file that is part of the source code and run a new build.
b) Update the command in the Build Commands section during the build run in the AWS console.
c) Run the start build AWS CU command with build spec-location property set to the new buildspec.yml file
d) Update the build spec property in the Start Build API to override the build command during build run. Use the AWS CLI command to specify different parameters that need to be run for the build.