AWS-DA(191-200)
AWS Development Quiz
Test your knowledge of AWS development best practices with this engaging quiz designed for developers and cloud enthusiasts.
Challenge yourself with questions that cover:
- AWS services and their interactions
- Best practices for application deployment
- Performance optimization techniques
An application is composed of two components: one for handling HTTP requests and another for doing background processing operations. Each component must be self-scaling. The developer want to use AWS Elastic Beanstalk to deploy this application. How, in light of these criteria, should this application be deployed?
A. Deploy the application in a single Elastic Beanstalk environment.
B. Deploy each component in a separate Elastic Beanstalk environment.
C. Use multiple Elastic Beanstalk environments for the HTTP component, but one environment for the background task component.
D. Use multiple Elastic Beanstalk environments for the background task component, but one environment for the HTTP component.
A business runs a bespoke application on a series of on-premises Linux servers that are connected to Amazon API Gateway through Amazon API Gateway. On the API test stage, AWS X-Ray tracing has been enabled. How can a developer implement X-Ray tracing with the LEAST amount of setup on on-premises servers?
A. Install and run the X-Ray SDK on the on-premises servers to capture and relay the data to the X-Ray service.
B. Install and run the X-Ray daemon on the on-premises servers to capture and relay the data to the X-Ray service.
C. Capture incoming requests on-premises and configure an AWS Lambda function to pull, process, and relay relevant data to X-Ray using the PutTraceSegments API call.
D. Capture incoming requests on-premises and configure an AWS Lambda function to pull, process, and relay relevant data to X-Ray using the PutTelemetryRecords API call.
An organization is hosting huge files in Amazon S3 and developing a web application to provide end users with meta-data about the files. A user picks an item to download based on its information. The company requires a technique for indexing files and retrieving metadata with a single-digit millisecond delay. Which Amazon Web Services (AWS) service should be utilized to do this?
A. Amazon DynamoDB
B. Amazon EC2
C. AWS Lambda
D. Amazon RDS
A developer has created a web application and want to swiftly deploy it on an AWS Tomcat server. The developer want to be free of the responsibility of managing the underlying infrastructure. According to these criteria, what is the simplest approach to deploy the application?
A. AWS CloudFormation
B. AWS Elastic Beanstalk
C. Amazon S3
D. AWS CodePipeline
A developer uses Amazon ECS to host an e-commerce API. The application's fluctuating and spiking demand is causing order processing to take an excessive amount of time. The program manages Amazon Simple Queue Service (SQS) queues. Throughout the day, the ApproximateNumberOfMessagesVisible metric jumps to very high levels, resulting in Amazon CloudWatch alert violations. Other ECS metrics for API containers are within acceptable ranges. What measures can the developer take to boost performance while keeping costs down?
A. Target tracking scaling policy
B. Docker Swarm
C. Service scheduler
D. Step scaling policy
A developer is configuring the Amazon API Gateway to support their business's goods. Registered developers may use the API to query and change their environments. For financial and security concerns, the organization want to restrict the number of requests that end users may submit. Management want to provide registered developers with the option of purchasing bigger packages that support a greater number of requests. How can the developer do this with the LEAST amount of management overhead?
A. Enable throttling for the API Gateway stage. Set a value for both the rate and burst capacity. If a registered user chooses a larger package, create a stage for them, adjust the values, and share the new URL with them.
B. Set up Amazon CloudWatch API logging in API Gateway. Create a filter based on the user and requestTime fields and create an alarm on this filter. Write an AWS Lambda function to analyze the values and requester information, and respond accordingly. Set up the function as the target for the alarm. If a registered user chooses a larger package, update the Lambda code with the values.
C. Enable Amazon CloudWatch metrics for the API Gateway stage. Set up CloudWatch alarms based off the Count metric and the ApiName, Method, Resource, and Stage dimensions to alerts when request rates pass the threshold. Set the alarm action to Deny. If a registered user chooses a larger package, create a user-specific alarm and adjust the values.
D. Set up a default usage plan, specify values for the rate and burst capacity, and associate it with a stage. If a registered user chooses a larger package, create a custom plan with the appropriate values and associate the plan with the user.
A developer must re-implement the order fulfillment system's business logic. To determine where to acquire an item, the business logic must make queries to several sellers. The whole procedure might take up to a week. What is the MOST EFFECTIVE and SIMPLICIT method of implementing a system that satisfies these requirements?
A. Use AWS Step Functions to execute parallel Lambda functions, and join the results.
B. Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.
C. Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.
D. Use Amazon CloudWatch Events to orchestrate the Lambda functions.
A business is moving from a monolithic architecture to one based on microservices. The developers must redesign the program in such a way that the many microservices may interact asynchronously without compromising performance. Which managed Amazon Web Services (AWS) services will offer asynchronous message passing? (Select two.)
A. Amazon SQS
B. Amazon Cognito
C. Amazon Kinesis
D. Amazon SNS
E. Amazon ElastiCache
A small internet business is gearing up for its yearly sales extravaganza. As traffic to the company's application grows, the development team wishes to be alerted when the CPU usage of the Amazon EC2 instance surpasses 80%. Which solution will satisfy this criterion?
A. Create a custom Amazon CloudWatch alarm that sends a notification to an Amazon SNS topic when the CPU utilization exceeds 80%.
B. Create a custom AWS CloudTrail alarm that sends a notification to an Amazon SNS topic when the CPU utilization exceeds 80%.
C. Create a cron job on the EC2 instance that executes the --describe-instance-information command on the host instance every 15 minutes and sends the results to an Amazon SNS topic.
D. Create an AWS Lambda function that queries the AWS CloudTrail logs for the CPUUtilization metric every 15 minutes and sends a notification to an Amazon SNS topic when the CPU utilization exceeds 80%.
Amazon S3 is structured as follows: S3:/BUCKET/FOLDERNAME/FILENAME.zip Which S3 best practice would enhance speed when a single bucket receives thousands of PUT requests per second?
A. Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip
B. Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00-00-FILENAME.zip
C. Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6-FILENAME.zip
D. Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/FILENAME.zip
{"name":"AWS-DA(191-200)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of AWS development best practices with this engaging quiz designed for developers and cloud enthusiasts.Challenge yourself with questions that cover:AWS services and their interactionsBest practices for application deploymentPerformance optimization techniques","img":"https:/images/course3.png"}