AWS-DA(311-320)

A modern office environment with a computer displaying AWS services, cloud icons, and code snippets, vibrant colors, and a tech-savvy atmosphere

AWS Cloud Solutions Quiz

Test your knowledge of AWS services and architectural best practices with our engaging AWS Cloud Solutions Quiz. This quiz features ten carefully crafted questions that cover a range of essential topics, including serverless applications, data storage, monitoring, and security.

  • Assess your understanding of AWS services.
  • Challenge yourself with diverse questions.
  • Perfect for developers, architects, and tech enthusiasts!
10 Questions2 MinutesCreated by OptimizingCloud247
A business has developed a serverless application that makes use of Amazon Simple Queue Service (Amazon SQS) and an Amazon Web Services Lambda function. On the final day of each month, the application gets data in a SQS queue. Within one day, the function successfully processes all of the data in the queue. A comprehensive AWS bill reveals a high volume of SQS API queries throughout the month, despite the fact that the queue gets data only on the month's last day. What is causing the increased API requests?
A. Lambda is using long polling to check for messages in the SQS queue.
B. The SQS queue is sending ping messages to Lambda.
C. The function is not automatically deleting the messages from the SQS queue.
D. Visibility timeout is not set to 0 to remove the extra API requests.
A developer is hard at work on a project that would store hundreds of millions of product reviews in an Amazon DynamoDB database. The records include the following data elements:
Which field would provide the MOST consistent performance when used as the partition key in DynamoDB?
A. starRating
B. reviewID
C. comment
D. productID
To facilitate the adoption of microservices, a company's management team has directed all development teams to design their services in such a way that API queries are limited to the data store for that service. One team is developing its own Payments service with its own database; the service requires data from the Accounts database. Both instances make use of Amazon DynamoDB. Which technique will result in the simplest, most decoupled, and most reliable mechanism for obtaining near-real-time Accounts database updates?
A. Use Amazon Glue to perform frequent ETL updates from the Accounts database to the Payments database.
B. Use Amazon ElastiCache in Payments, with the cache updated by triggers in the Accounts database.
C. Use Amazon Kinesis Data Firehose to deliver all changes from the Accounts database to the Payments database.
D. Use Amazon DynamoDB Streams to deliver all changes from the Accounts database to the Payments database.
A developer has created a Lambda function that will be responsible for adding new customers to an RDS database hundreds of times per hour. Lambda is set to use 512MB of RAM and is based on the following pseudocode:
 
The developer observes that the Lambda execution time is much longer than intended after testing the Lambda function. What actions should the developer take to boost performance?
A. Increase the amount of RAM allocated to the Lambda function, which will increase the number of threads the Lambda can use.
B. Increase the size of the RDS database to allow for an increased number of database connections each hour.
C. Move the database connection and close statement out of the handler. Place the connection in the global space.
D. Replace RDS wit Amazon DynamoDB to implement control over the number of writes per second.
An on-premises application makes regular requests to Amazon S3 for file storage. As the application's use grows, €LimitExceeded€ faults are reported. What has to be done to resolve this error?
A. Implement exponential backoffs in the application.
B. Load balance the application to multiple servers.
C. Move the application to Amazon EC2.
D. Add a one second delay to each API call.
A development team chooses to utilize AWS X-Ray to monitor application code in order to undertake performance analysis and root cause investigation. What steps must the team take to begin using X-Ray? (Select two.)
A. Log instrumentation output into an Amazon SQS queue.
B. Use a visualization tool to view application traces.
C. Instrument application code using the AWS SDK.
D. Install the X-Ray agent on the application servers.
E. Create an Amazon DynamoDB table to store the trace logs.
A developer is extending a client-side application with a feature that enables users to submit films to an Amazon S3 bucket. What is the MOST SECURE method for authorizing the application to write files to the S3 bucket?
A. Update the S3 bucket policy to allow public write access. Allow any user to upload videos by removing the need to handle user authentication within the client- side application.
B. Create a new IAM policy and a corresponding IAM user with permissions to write to the S3 bucket. Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads.
C. Configure the API layer of the application to have a new endpoint that creates signed URLs that allow an object to be put into the S3 bucket. Generate a presigned URL through this API call in the client application. Upload the video by using the signed URL.
D. Generate a new IAM key and a corresponding secret by using the AWS account root user credentials. Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads.
A firm has created a new serverless application using AWS Lambda functions and will deploy it using the AWS Serverless Application Model (AWS SAM) command-line interface. Prior to deploying the application, which step should the developer complete?
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
Lambda functions are packaged for deployment in a variety of settings, such as development, test, and production. Each ecosystem is endowed with its own collection of resources, such as databases. How can the Lambda function make use of the current environment's resources?
A. Apply tags to the Lambda functions.
B. Hardcore resources in the source code.
C. Use environment variables for the Lambda functions.
D. Use separate function for development and production.
A business is organizing a session for external users and want to share reference materials with them for seven days. The reference papers are stored in an Amazon S3 bucket that the firm controls. What is the SECUREST method of sharing documents with external users?
A. Use S3 presigned URLs to share the documents with the external users. Set an expiration time of 7 days.
B. Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.
C. Create temporary IAM users that have read-only access to the S3 bucket. Share the access keys with the external users. Expire the credentials after 7 days.
D. Create a role that has read-only access to the S3 bucket. Share the Amazon Resource Name (ARN) of this role with the external users.
{"name":"AWS-DA(311-320)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of AWS services and architectural best practices with our engaging AWS Cloud Solutions Quiz. This quiz features ten carefully crafted questions that cover a range of essential topics, including serverless applications, data storage, monitoring, and security.Assess your understanding of AWS services.Challenge yourself with diverse questions.Perfect for developers, architects, and tech enthusiasts!","img":"https:/images/course6.png"}
Powered by: Quiz Maker