Amazon (DVA-C01) Exam Questions And Answers page 13
A company wants to implement a continuous integration for its workloads on AWS. The company wants to trigger unit test in its pipeline for commits-on its code repository, and wants to be notified of failure events in the pipeline.
How can these requirements be met?
How can these requirements be met?
Store the source code in GitHub. Create a CodePipeline to automate unit testing. Use Amazon SES to trigger notifications of failure events.
Store the source code on GitHub. Create a CodePipeline to automate unit testing. Use Amazon CloudWatch to trigger notifications of failure events.
Store the source code in AWS CodeCommit. Create a CodePipeline to automate unit testing. Use Amazon CloudWatch to trigger notification of failure events.
Compute Services
Deployment and Management
A company wants to implement authentication for its new REST service using Amazon API Gateway. To authenticate the calls, each request must include HTTP headers with a client ID and user ID. These credentials must be compared to authentication data in an Amazon DynamoDB table.
What MUST the company do to implement this authentication in API Gateway?
What MUST the company do to implement this authentication in API Gateway?
Implement an AWS Lambda authorizer that references the DynamoDB authentication table
Create a model that requires the credentials, then grant API Gateway access to the authentication table
Modify the integration requests to require the credentials, then grant API Gateway access to the authentication table
Implement an Amazon Cognito authorizer that references the DynamoDB authentication table
Security and Identity Services
Monitoring and Troubleshooting
A company wants to make sure that only one user from its Admin group has the permanent right to delete an Amazon EC2 resource. There should be no changes in the existing policy under the Admin group.
What should a developer use to meet these requirements?
What should a developer use to meet these requirements?
AWS managed policy
Inline policy
IAM trust relationship
AWS Security Token Service (AWS STS)
Storage Services
Security and Identity Services
A company wants to make sure that only one user from its Admin group has the permanent right to delete an Amazon EC2 resource. There should be no changes in the existing policy under the Admin group.
What should a developer use to meet these requirements?
What should a developer use to meet these requirements?
AWS managed policy
Inline policy
IAM trust relationship
AWS Security Token Service (AWS STS)
Compute Services
Security and Identity Services
A company wants to migrate an existing web application to AWS. The application consists of two web servers and a MySQL database.
The company wants the application to automatically scale in response to demand. The company also wants to reduce its operational overhead for database backups and maintenance. The company needs the ability to deploy multiple versions of the application concurrently.
What is the MOST operationally efficient solution that meets these requirements?
The company wants the application to automatically scale in response to demand. The company also wants to reduce its operational overhead for database backups and maintenance. The company needs the ability to deploy multiple versions of the application concurrently.
What is the MOST operationally efficient solution that meets these requirements?
Deploy the application to AWS Elastic Beanstalk. Migrate the database to an Amazon RDS Multi-AZ DB instance.
Create an Amazon Machine Image (AMI) that contains the application code. Create an Auto Scaling group that is based on the AMI. Integrate the Auto Scaling group with an Application Load Balancer for the web servers. Migrate the database to a MySQL instance that runs on an Amazon EC2 instance.
Deploy the application to AWS Elastic Beanstalk. Migrate the database to a MySQL instance that runs on an Amazon EC2 instance.
Create an Amazon Machine Image (AMI) that contains the application code. Create an Auto Scaling group that is based on the AMI. Integrate the Auto Scaling group with an Application Load Balancer for the web servers. Migrate the database to an Amazon RDS Multi-AZ DB instance.
Storage Services
Database Services
A company wants to migrate an imaging service to Amazon EC2 while following security best practices. The images are sourced and read from a non-public Amazon S3 bucket.
What should a Developer do to meet these requirements?
What should a Developer do to meet these requirements?
Create an IAM user with read-only permissions for the S3 bucket. Temporarily store the user credentials in the Amazon EBS volume of the EC2 instance.
Create an IAM user with read-only permissions for the S3 bucket. Temporarily store the user credentials in the user data of the EC2 instance.
Create an EC2 service role with read-only permissions for the S3 bucket. Attach the role to the EC2 instance.
Create an S3 service role with read-only permissions for the S3 bucket. Attach the role to the EC2 instance.
Compute Services
Storage Services
A company wants to migrate an imaging service to Amazon EC2 while following security best practices. The images are sourced and read from a non-public Amazon S3 bucket.
What should a Developer do to meet these requirements?
What should a Developer do to meet these requirements?
Create an IAM user with read-only permissions for the S3 bucket. Temporarily store the user credentials in the Amazon EBS volume of the EC2 instance.
Create an IAM user with read-only permissions for the S3 bucket. Temporarily store the user credentials in the user data of the EC2 instance.
Create an EC2 service role with read-only permissions for the S3 bucket. Attach the role to the EC2 instance.
Create an S3 service role with read-only permissions for the S3 bucket. Attach the role to the EC2 instance.
Compute Services
Storage Services
A company wants to migrate its web application to AWS and leverage Auto Scaling to handle pear workloads. The Solutions Architect determined that the best metric for an Auto Scaling event is the number of concurrent users.
Based on this information, what should the Developer use to autoscale based on concurrent users?
Based on this information, what should the Developer use to autoscale based on concurrent users?
An Amazon SNS topic to be triggered when a concurrent user threshold is met
An Amazon Cloudwatch Networkin metric
Amazon CloudFront to leverage AWS Edge Locations
A Custom Amazon CloudWatch metric for concurrent users.
Compute Services
Deployment and Management
A current architecture uses many Lambda functions invoking one another as a large state machine. The coordination of this state machine is legacy custom code that breaks easily.
Which AWS Service can help refactor and manage the state machine?
Which AWS Service can help refactor and manage the state machine?
AWS Data Pipeline
AWS SNS with AWS SQS
Amazon Elastic MapReduce
AWS Step Functions
Security and Identity Services
Deployment and Management
A current architecture uses many Lambda functions invoking one another as a large state machine. The coordination of this state machine is legacy custom code that breaks easily.
Which AWS Service can help refactor and manage the state machine?
Which AWS Service can help refactor and manage the state machine?
AWS Data Pipeline
AWS SNS with AWS SQS
Amazon Elastic MapReduce
AWS Step Functions
Security and Identity Services
Deployment and Management
Comments