Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

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?

  • Add the custom attributes as annotations in your segment document.
  • Create a new sampling rule based on the custom attributes.
  • Include the custom attributes as new segment fields in the segment document.
  • Add the custom attributes as metadata in your segment document.
Solutions
Question - 2

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?

  • 6
  • 12
  • 15
  • 18
Solutions
Question - 3

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?

  • Integrate CloudWatch Events to track the changes to DynamoDB
  • Use DynamoDB Streams
  • Enable DynamoDB Cross-Region Replication
  • Set up DynamoDB Global Tables
Solutions
Question - 4

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?

  • Amazon DynamoDB Accelerator (DAX)
  • DynamoDB Session Handler
  • DynamoDB Auto Scaling
  • ElastiCache
Solutions
Question - 5

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?

  • You provided an IAM role in the CreateFunction API which AWS Lambda is unable to assume.
  • The AWS Lambda service encountered an internal error.
  • The resource already exists.
  • You have exceeded your maximum total code size per account.
Solutions
Question - 6

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?

  • Do nothing since Lambda will automatically scale to handle the load.
  • Submit a Service Limit Increase request to AWS to raise your concurrent executions limit.
  • Use Dead Letter Queues (DLQ) to reprocess failed requests.
  • Implement traffic shifting in Lambda using Aliases.
Solutions
Question - 7

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?

  • Request for AWS to increase the limit of your concurrent executions.
  • Increase the concurrency limit of the function.
  • Implement exponential backoff in your application.
  • No additional action needed since Lambda will automatically scale based on the incoming requests.
Solutions
Question - 8

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?

  • Use Amazon Inspector
  • Use AWS CloudTrail
  • Use AWS X-Ray
  • Use Amazon CloudWatch
Solutions
Question - 9

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?

  • Task definition
  • Container Agent
  • Service scheduler
  • Container instance
Solutions
Question - 10

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?

  • Total
  • TRUE
  • Indexes
  • None of the above
Solutions
Question - 11

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?

  • Elastic Beanstalk
  • KKS
  • EBS
  • Lambda
Solutions
Question - 12

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?

  • Use filter expressions via the X-Ray console. Fetch the trace IDs and annotations using the GetTraceSummaries API
  • Configure Sampling Rules in the AWS X-Ray Console.
  • Fetch the data using the BatchGetTraces API
  • Send trace results to an S3 bucket then query the trace output using Amazon Athena.
Solutions
Question - 13

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?

  • Use a user data script to install the X-Ray daemon.he X-Ray daemon.
  • Enable active tracing on Amazon Inspector.
  • Refactor your application to send segment documents directly to X-Ray by using the PutTraceSegments API.
  • Include the xray-daemon.config configuration file in the AMI.
Solutions
Question - 14

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?

  • 5min
  • 10min
  • 20min
  • 30min
Solutions
Question - 15

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?

  • Increase the CPU allocation of the function by submitting a service limit increase ticket to AWS.
  • Allocate more memory to your function.
  • Use unreserved concurrency for your function.
  • Store the external files in the "/tmp" directory of the execution context which you can reuse for succeeding invocations.
Solutions
Question - 16

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?

  • 100
  • 200
  • 300
  • 400
Solutions
Question - 17

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?

  • AWS Firewall Manager
  • Network Access Control List
  • AWS WAF
  • Amazon Guard?Duty
Solutions
Question - 18

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?

  • 10 RCU and 20 WCU
  • 40 RCU and 20 WCU
  • 20 RCU and 20 WCU
  • 40 RCU and 40 WCU
Solutions
Question - 19

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?

  • Erase the plaintext data key from memory and store the encrypted data key alongside the locally encrypted data. and use GenerateDataKey operation to get a data encryption key then use the plaintext data key in the response to encrypt data locally.
  • use the GenerateDataKeyWithoutPlaintext operation to get a data encryption key then use the plaintext data key in the response to encrypt data locally.
  • Encrypt data locally using the Encrypt operation.
  • Erase the encrypted data key from memory and store the plaintext data key alongside the locally encrypted data.
Solutions
Question - 20

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?

  • Update Expressions
  • Batch Operations
  • Projection Expressions
  • Conditional writes
Solutions
Tags:
200+ Best Developer Associate Aws Certification Interview Questions, Developer Associate Aws Certification MCQ questions for placement,Developer Associate Aws Certification interview questions, Previously asked Developer Associate Aws Certification Questions, Frequently asked Developer Associate Aws Certification Questions,Developer Associate Aws Certification Questions for TCS, Developer Associate Aws Certification Interview Questions for Freshers, Developer Associate Aws Certification Interview Questions for Experience, Accenture Developer Associate Aws Certification Interview Questions, Developer Associate Aws Certification Objective Questions for Interview



Topic wise AWS certification