An application, which already uses X-Ray, generates thousands of trace data every hour. The developer wants to use a filter expression which will limit the results based on custom attributes or keys that he specifies. How should the developer refactor the application in order to filter the results in the X-Ray console?
Your application is processing one Kinesis data stream which has four shards, and each instance has one KCL worker. To scale up processing in your application, you reshard your stream to increase the number of open shards to six. What is the maximum number of EC2 instances that you should launch to achieve performance?
A serverless application composed of Lambda, API Gateway, and DynamoDB has been running without any issues for quite some time. As part of the IT compliance of the company, a developer was instructed to ensure that all of the new changes made to the items in DynamoDB are recorded and stored to another DynamoDB table in another region. In this scenario, which of the following is the MOST ideal way to comply with the given requirements?
An augmented reality mobile game has a serverless backend composed of Lambda, DynamoDB, and API Gateway. Due to the surge of new players globally, there were a lot of delays in retrieving the player data. You are instructed by your manager to improve the game's performance by reducing the database response times down to microseconds. Which of the following is the key service service to use that can achieve this scenario?
A developer developed a shell script which uses AWS CLI to create a new Lambda function. However, He received an InvalidParameterValueException after running the script. What is issue?
A developer is working on a Lambda function which has an event source mapping to process messages from an SQS queue. The function will consistently have 10 requests per second and it will take a maximum of 50 seconds to complete each request. What should the developer do to prevent the function from throttling?
You are developing a Lambda function which processes an SQS queue. It is expected that the function will have: - 50 requests per second - 100 seconds to complete each request What should you do to prevent any issues when the function has been deployed and becomes operational?
You have created a Node.js Lambda function that updates a DynamoDB table and sends an email notification via Amazon SNS. However, upon testing, the function is not working as expected. Which of the following is the way to troubleshoot this issue?
A developer is building a new Docker application using ECS. She needs to allow containers to access ports on the host container instance to send or receive traffic using port mapping. Which component of ECS should the developer configure to properly implement this task?
A serverless application, which uses a DynamoDB database, is experiencing throttling issues during peak times. To troubleshoot the problem, you were instructed to get the total number of write capacity units consumed for the table and any secondary indexes whenever the UpdateItem operation is sent. In this scenario, what is the appropriate value for the ReturnConsumedCapacity parameter that you should set in the update request?
A company has recently developed a application that uses a multicontainer Docker platform which supports multiple containers per instance. They need a service that automatically handles tasks such as provisioning of the resources, load balancing, auto-scaling, monitoring, and placing the containers across the cluster. Which of the following services provides the simplest way to achieve the above requirement?
A developer uses AWS X-Ray to create a trace on an instrumented web application and gain insights on how to better optimize its performance. The segment documents being sent by the application contain annotations which the developer wants to utilize in order to identify and filter out specific data from the trace. Which of the following should the developer do in order to satisfy this requirement with minimal configuration?
In the next financial year, your company decided to develop a totally new version of their legacy application which will be using Node.js and GraphQL. The new architecture should provide them an end-to-end view of requests as they travel through their application, and shows a map of the application's underlying components. The application will be hosted in an Auto Scaling group of Linux EC2 instances and it must be instrumented so it can send the trace data to the AWS X-Ray service. Which of the following options is the suitable way to satisfy this requirement?
An application is hosted in an Auto Scaling group of EC2 instances behind an Application Load Balancer. You want to automatically monitor the CPU Utilization of each and every instances of your application stack throughout the day using Amazon CloudWatch. In this scenario, what is the time period of data that CloudWatch receives and aggregates from EC2 by default?
Your Lambda function initializes a lot of external dependencies such as database connections and HTTP endpoints, which are required for data processing. It also fetches static data with a size of 20 MB from a third-party provider over the Internet every time the function is invoked. This adds significant time in the total processing, which greatly affects the performance of their serverless application. Which of the following should you do to improve the performance of your function?
Amazon S3 publishes events to an AWS Lambda function whenever a new object is created in a bucket. It takes about 15 seconds for the function to complete the processing and on average, there are 20 new objects being added in the bucket every second. In this scenario, how many concurrent executions will your function have?
A leading IT firm is hosting its customer portal in Elastic Beanstalk which has an RDS database in AWS. The support team in your company discovered a lot of SQL injection attempts and cross-site scripting attacks to the portal, which is starting to affect the production environment. Which of the following services should you implement to mitigate this attack?
You are designing the DynamoDB table that will be used by your Node.js application. It will have to handle 10 writes per second and then 20 eventually consistent reads per second where all the items have a size of 2 KB for both operations. Which of the following are the most optimal WCU and RCU that you should provision to the table?
You are a software developer for a multinational investment bank which has a hybrid cloud architecture with AWS. To improve the security of their applications, they decided to use AWS Key Management Service (KMS) to create and manage their encryption keys across a wide range of AWS services. You were given the responsibility to integrate AWS KMS with the financial applications of the company. Which of the following are the recommended steps to locally encrypt data using AWS KMS that you should follow?
You have two users (A,B) concurrently accessing a DynamoDB table and submitting updates. If user A will modify a specific item in the table, he needs to make sure that the operation will not affect to user's B attempt to modify the same item. You have to ensure that your update operations will only succeed if the item attributes meet one or more expected conditions. Which of the following DynamoDB features should you use in this scenario?
Practice More sets Questions