A) Modify the buildspec.yml file to include steps to send the output of build commands to Amazon CloudWatch.
B) Use a custom Docker image that includes the AWS X-Ray agent in the AWS CodeBuild project configuration.
C) Check the build logs of the failed phase in the last build attempt in the AWS CodeBuild project build history.
D) Manually re-run the build process on a local machine so that the output can be visualized.
Correct Answer
verified
Multiple Choice
A) CacheHitCount
B) IntegrationLatency
C) CacheMissCount
D) Latency
E) Count
Correct Answer
verified
Multiple Choice
A) Before Install -> Application Stop -> Application Start -> After Install
B) Application Stop -> Before Install -> After Install -> Application Start
C) Before Install -> Application Stop -> Validate Service -> Application Start
D) Application Stop -> Before Install -> Validate Service -> Application Start
Correct Answer
verified
Multiple Choice
A) Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
B) Use Amazon S3 and rearchitect the application so all uploads are placed in S3.
C) Use instance storage and share it between instances launched from the same Amazon Machine Image (AMI) .
D) Use Amazon EBS and file synchronization software to achieve eventual consistency among the Auto Scaling group.
Correct Answer
verified
Multiple Choice
A) Compress the application to a .zip file and upload it into AWS Lambda
B) Test the new AWS Lambda function by first tracing it in AWS X-Ray
C) Bundle the serverless application using a SAM package
D) Create the application environment using the eb create my-env command
Correct Answer
verified
Multiple Choice
A) Call aws cloudformation package to create the deployment package. Call aws cloudformation deploy to deploy the package afterward.
B) Call sam package to create the deployment package. Call sam deploy to deploy the package afterward.
C) Call aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application.
D) Create a ZIP package locally and call aws serverlessrepo create-application to create the application.
E) Create a ZIP package and upload it to Amazon S3. Call aws cloudformation create-stack to create the application.
Correct Answer
verified
Multiple Choice
A) Update the database connection parameters in the application to point to the new RDS instance.
B) Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
C) Create a new EC2 instance with an IAM role that allows access to the new RDS database.
D) Create an AWS Lambda function that will route traffic, from the EC2 instance to the RDS database.
Correct Answer
verified
Multiple Choice
A) Create a trigger that invokes the Lambda function from the Lambda console by selecting CodePipeline as the event source.
B) Create an event trigger and specify the Lambda function from the CodePipeline console.
C) Create an Amazon CloudWatch alarm that monitors status changes in Code Pipeline and triggers the Lambda function.
D) Create an Amazon CloudWatch Events rule that uses CodePipeline as an event source.
Correct Answer
verified
Multiple Choice
A) Create a RESTful API with the API Gateway; transform the incoming JSON into a valid XML message for the SOAP interface using mapping templates.
B) Create a RESTful API with the API Gateway; pass the incoming JSON to the SOAP interface through an Application Load Balancer.
C) Create a RESTful API with the API Gateway; pass the incoming XML to the SOAP interface through an Application Load Balancer.
D) Create a RESTful API with the API Gateway; transform the incoming XML into a valid message for the SOAP interface using mapping templates.
Correct Answer
verified
Multiple Choice
A) Use the Amazon CloudWatch API to write timestamps to a custom CloudWatch metric. Use the CloudWatch console to analyze the resulting data.
B) Use the AWS X-Ray API to write trace data into X-Ray from strategic places within the code. Use the Amazon CloudWatch console to analyze the resulting data.
C) Use the AWS X-Ray API to write trace data into X-Ray from strategic places within the code. Use the X-Ray console to analyze the resulting data.
D) Use the Amazon CloudWatch API to write timestamps to a custom CloudWatch metric. Use the AWS X-Ray console to analyze the resulting data.
Correct Answer
verified
Multiple Choice
A) A Lambda function cannot be registered as a target for an ALB.
B) A Lambda function can be registered with an ALB using AWS Management Console only.
C) The permissions to invoke the Lambda function are missing.
D) Cross-zone is not enabled on the ALB.
Correct Answer
verified
Multiple Choice
A) Create an IAM role with read and write access to the DynamoDB table. Generate access keys for the user and store the access keys in the application as environment variables.
B) Create an IAM user with read and write access to the DynamoDB table. Store the user name and password in the application and generate access keys using an AWS SDK.
C) Create an IAM role, configure read and write access for the DynamoDB table, and attach to the EC2 instances.
D) Create an IAM user with read and write access to the DynamoDB table. Generate access keys for the user and store the access keys in the application as a credentials file.
Correct Answer
verified
Multiple Choice
A) Package the application code into a .zip file, and upload, then deploy the packaged application from the AWS Management Console
B) Package the application code into a .tar file, create a new application version from the AWS Management Console, then update the environment by using AWS CLI
C) Package the application code into a .tar file, and upload and deploy the packaged application from the AWS Management Console
D) Package the application code into a .zip file, create a new application version from the packaged application by using AWS CLI, then update the environment by using AWS CLI
E) Package the application code into a .zip file, create a new application version from the AWS Management Console, then rebuild the environment by using AWS CLI
Correct Answer
verified
Multiple Choice
A) In the root of the application
B) In the bin folder
C) In healthcheckur1.config.ebextension under root In healthcheckur1.config.ebextension under root
D) In the .ebextensions folder In the .ebextensions folder
Correct Answer
verified
Multiple Choice
A) Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table Change the StreamViewType parameter value to NEW_AND_OLD_IMAGES for the DynamoDB table
B) Configure event source mapping for the Lambda function
C) Map an Amazon SNS topic to the DynamoDB streams
D) Increase the maximum execution time (timeout) setting of the Lambda function
Correct Answer
verified
Multiple Choice
A) Use an identity provider to securely authenticate with the application.
B) Create an AWS Lambda function to create an IAM user when a user accesses the application.
C) Create credentials using AWS KMS and apply these credentials to users when using the application.
D) Use Amazon Cognito to associate unauthenticated users with an IAM role that has limited access to resources.
Correct Answer
verified
Multiple Choice
A) Rolling update
B) Immutable update
C) User data
D) .ebextensions
Correct Answer
verified
Multiple Choice
A) In an encrypted file on the source code bundle; grant the application access with Amazon IAM
B) In the Amazon EC2 Systems Manager Parameter Store; grant the application access with IAM
C) On an Amazon EBS encrypted volume; attach the volume to an Amazon EC2 instance to access the data
D) As an object in an Amazon S3 bucket; grant an Amazon EC2 instance access with an IAM role
Correct Answer
verified
Multiple Choice
A) Amazon DynamoDB
B) Amazon S3
C) Amazon RDS (with a MySQL engine)
D) Amazon ElastiCache
Correct Answer
verified
Multiple Choice
A) Add a Retry-After HTTP header to API requests
B) Use the AWS CLI to configure the retry settings in a named profile
C) Change the custom library to retry on 5xx errors only
D) Use an AWS SDK and set retry-specific configurations
Correct Answer
verified
Showing 441 - 460 of 470
Related Exams