Amazon (DVA-C01) Exam Questions And Answers page 46
An Amazon RDS database instance is used by many applications to look up historical data. The query rate is relatively constant. When the historical data is updated each day, the resulting write traffic slows the read query performance and affects all application users.
What can be done to eliminate the performance impact on application users?
What can be done to eliminate the performance impact on application users?
Create an RDS Read Replica and direct all read traffic to the replica.
Implement Amazon ElastiCache in front of Amazon RDS to buffer the write traffic.
Use Amazon DynamoDB instead of Amazon RDS to buffer the read traffic.
Storage Services
Networking and Content Delivery
An application contains two components: one component to handle HTTP requests, and another component to handle background processing tasks. Each component must scale independently. The developer wants to deploy this application using AWS Elastic Beanstalk.
How should this application be deployed, based on these requirements?
How should this application be deployed, based on these requirements?
Deploy the application in a single Elastic Beanstalk environment.
Deploy each component in a separate Elastic Beanstalk environment.
Use multiple Elastic Beanstalk environments for the HTTP component, but one environment for the background task component.
Use multiple Elastic Beanstalk environments for the background task component, but one environment for the HTTP component.
Compute Services
Deployment and Management
An application deployed on AWS Elastic Beanstalk experiences increased error rates during deployments of new application versions, resulting in service degradation for users. The Development team believes that this is because of the reduction in capacity during the deployment steps. The team would like to change the deployment policy configuration of the environment to an option that maintains full capacity during deployment while using the existing instances.
Which deployment policy will meet these requirements while using the existing instances?
Which deployment policy will meet these requirements while using the existing instances?
All at once
Rolling
Rolling with additional batch
Immutable
Deployment and Management
An application development team decides to use AWS X-Ray to monitor application code to analyze performance and perform root cause analysis.
What does the team need to do to begin using X-Ray? (Choose two.)
What does the team need to do to begin using X-Ray? (Choose two.)
Log instrumentation output into an Amazon SQS queue.
Use a visualization tool to view application traces.
Instrument application code using the AWS SDK.
Install the X-Ray agent on the application servers.
Create an Amazon DynamoDB table to store the trace logs.
Networking and Content Delivery
Monitoring and Troubleshooting
An application displays a status dashboard. The status is updated by 1 KB messages from an SQS queue. Although the status changes infrequently, the Developer must minimize the time between the message arrival in the queue and the dashboard update.
What technique provides the shortest delay in updating the dashboard?
What technique provides the shortest delay in updating the dashboard?
Retrieve the messages from the queue using long polling every 20 seconds.
Reduce the size of the messages by compressing them before sending.
Retrieve the messages from the queue using short polling every 10 seconds.
Reduce the size of each message payload by sending it in two parts.
Database Services
Monitoring and Troubleshooting
An application has hundreds of users. Each user may use multiple devices to access the application. The Developer wants to assign unique identifiers to these users regardless of the device they use.
Which of the following methods should be used to obtain unique identifiers?
Which of the following methods should be used to obtain unique identifiers?
Create a user table in Amazon DynamoDB as key-value pairs of users and their devices. Use these keys as unique identifiers.
Use IAM-generated access key IDs for the users as the unique identifier, but do not store secret keys.
Implement developer-authenticated identities by using Amazon Cognito, and get credentials for these identities.
Assign IAM users and roles to the users. Use the unique IAM resource ID as the unique identifier.
Security and Identity Services
An application has hundreds of users. Each user may use multiple devices to access the application. The Developer wants to assign unique identifiers to these users regardless of the device they use.
Which of the following methods should be used to obtain unique identifiers?
Which of the following methods should be used to obtain unique identifiers?
Create a user table in Amazon DynamoDB as key-value pairs of users and their devices. Use these keys as unique identifiers.
Use IAM-generated access key IDs for the users as the unique identifier, but do not store secret keys.
Implement developer-authenticated identities by using Amazon Cognito, and get credentials for these identities.
Assign IAM users and roles to the users. Use the unique IAM resource ID as the unique identifier.
Security and Identity Services
An application has the following requirements:
• Performance efficiency of seconds with up to a minute of latency.
• The data storage size may grow up to thousands of terabytes.
• Per-message sizes may vary between 100 KB and 100 MB.
• Data can be stored as key/value stores supporting eventual consistency.
What is the MOST cost-effective AWS service to meet these requirements?
• Performance efficiency of seconds with up to a minute of latency.
• The data storage size may grow up to thousands of terabytes.
• Per-message sizes may vary between 100 KB and 100 MB.
• Data can be stored as key/value stores supporting eventual consistency.
What is the MOST cost-effective AWS service to meet these requirements?
Amazon DynamoDB
Amazon S3
Amazon RDS (with a MySQL engine)
Amazon ElastiCache
Storage Services
Monitoring and Troubleshooting
An application has the following requirements:
• Performance efficiency of seconds with up to a minute of latency.
• The data storage size may grow up to thousands of terabytes.
• Per-message sizes may vary between 100 KB and 100 MB.
• Data can be stored as key/value stores supporting eventual consistency.
What is the MOST cost-effective AWS service to meet these requirements?
• Performance efficiency of seconds with up to a minute of latency.
• The data storage size may grow up to thousands of terabytes.
• Per-message sizes may vary between 100 KB and 100 MB.
• Data can be stored as key/value stores supporting eventual consistency.
What is the MOST cost-effective AWS service to meet these requirements?
Amazon DynamoDB
Amazon S3
Amazon RDS (with a MySQL engine)
Amazon ElastiCache
Storage Services
Monitoring and Troubleshooting
An application ingests a large number of small messages and stores them in a database. The application uses AWS Lambda. A Development team is making changes to the application s processing logic. In testing, it is taking more than 15 minutes to process each message. The team is concerned the current backend may time out.
Which changes should be made to the backend system to ensure each message is processed in the MOST scalable way?
Which changes should be made to the backend system to ensure each message is processed in the MOST scalable way?
Add the messages to an Amazon SQS queue. Set up and Amazon EC2 instance to poll the queue and process messages as they arrive.
Add the messages to an Amazon SQS queue. Set up Amazon EC2 instances in an Auto Scaling group to poll the queue and process the messages as they arrive.
Create a support ticket to increase the Lambda timeout to 60 minutes to allow for increased processing time.
Change the application to directly insert the body of the message into an Amazon RDS database.
Deployment and Management
Serverless
Comments