0 of 65 Questions completed
Questions:
You have already completed this quiz. You cannot start it again.
Quiz is loading…
You must sign in or sign up to take this quiz.
You must first complete the following:
Quiz complete. Results are being recorded.
0 of 65 Questions answered correctly
Your Time:
Time has elapsed.
You have reached 0 of 0 point(s), (0)
Grade:
0 Essay(s) Pending (Possible Point(s): 0)
You didn’t pass this time, but that’s okay. Take this as an opportunity to identify areas for improvement. Review the materials, focus on your weak spots, and you’ll be even more prepared for your next attempt.
Great work! You passed this practice test. Keep reinforcing your knowledge, and you’ll be confident and ready for the real AWS exam.
An ECS-hosted application is experiencing sporadic latency and unavailability issues. You need to instrument the application to capture latency and performance data. What should you do to accomplish this? (Select TWO.)
A company with a hybrid cloud architecture wants to automate application deployments to both on-premises servers and Amazon EC2 instances. What AWS service should be used to implement this CI/CD pipeline?
You want to deploy a Lambda function using CloudFormation in the simplest way possible. Which method should you use to include the code in the CloudFormation template?
A company managing multiple AWS accounts with AWS Organizations needs to evaluate how service control policies (SCPs) affect their existing IAM policies. Which service can help simulate and troubleshoot the effect of IAM policies?
An application running in Elastic Beanstalk uses Java 7, and you need to upgrade the platform to Java 8 for a new version of the application. Traffic must be routed immediately to the new version, but you need the ability to roll back quickly if necessary. What is the best approach?
A developer needs to monitor detailed trace data for an application using the X-Ray SDK, but wants to do so without using the X-Ray console. What should the developer do to achieve this?
You are working on a DynamoDB-based application that reads, modifies, and inserts data sequentially into multiple tables. This process is slow. What strategy can you use to improve the performance?
A Lambda function, triggered by S3 events, takes 4 seconds to process each event, and S3 sends 5 events per second. What is the concurrent execution of this Lambda function?
You are tasked with setting up a DynamoDB table for a company's project database. Which of the following attributes should be chosen as the partition key for optimal performance?
The DevOps team is tasked with centralizing monitoring for five different EC2-hosted applications. How can they set up performance monitoring with Amazon CloudWatch that consolidates all applications on a single screen?
A developer is building a ticket booking system using Amazon Kinesis Data Streams, where ticket booking requests must be processed in the exact order they are received, and each request can only be processed once. Which solution ensures these requirements are met?
A client is encountering timeout issues when trying to retrieve a long list of objects from an S3 bucket using the AWS CLI. To resolve this issue, the client plans to use pagination. Which of the following parameters will assist with pagination? (Select TWO.)
A developer needs to add MFA to their API calls, such as terminating EC2 instances. Which API should the developer use to submit the MFA code and obtain temporary security credentials for further API calls?
Developers from different AWS accounts need to access a central S3 bucket. The necessary IAM role has been set up with the required S3 permissions. What API should the developers use to assume this role?
An Elastic Beanstalk environment in the development account is linked to an RDS database. When the environment is terminated, the database is also deleted, posing a risk to production environments. How can you decouple the database from Elastic Beanstalk to prevent this?
A Java-based web application uses AWS SDK and DynamoDB, but frequently overwrites stale data during high write activity. How can you ensure that write operations do not overwrite concurrent updates?
You deployed two identical Lambda functions to process incoming requests. One function processes requests efficiently, while the second shows higher latency due to throttling. What should you do to address this? (Select TWO.)
A Lambda function deployment fails due to the ZIP package size being too large. The team wants to reduce the package size for easier management and fewer errors when uploading dependencies. What is the best solution?
A company has two Lambda functions behind an Application Load Balancer. During peak times, one of the functions shows throttling while the other runs smoothly. What is the most likely cause of the throttling issue?
A real-time data ingestion system uses Amazon Kinesis Data Streams to collect data from sensors and store it in S3. However, only half the data is being delivered to S3. What is the most likely cause of the issue?
A developer needs to work with a CodeCommit repository and requires permissions to clone, fetch, and push code. To improve security, they should only be granted the permissions necessary to perform these tasks. What permissions should the developer be granted? (Select TWO.)
A company is migrating its source code from GitHub to AWS CodeCommit. What is the correct process to migrate the existing Git repository to CodeCommit?
An application uses a Lambda function to handle asynchronous requests. If failures occur, the requests should be retried twice before they are discarded. Failed events need to be analyzed using another service. What is the best solution?
You need to schedule a Lambda function to run every 45 minutes to perform data analysis. What is the most cost-effective and manageable way to schedule this task?
A developer is storing environmental sensor data in an SQS FIFO queue, and the Lambda function processes the data from this queue. The sensors sometimes send duplicate data. How can the developer minimize duplicate data being processed?
A mobile game needs to authenticate users using social media logins and also support guest access without login. Which AWS service should you use to manage both authenticated and unauthenticated access?
An EC2 instance uses an IAM role to access both development and production S3 buckets. You updated the IAM role to only allow access to the development bucket, but the instance can still access both buckets. What is the most likely cause?
A developer is using API Gateway with Lambda Authorizer to secure API requests and needs to implement an authentication strategy similar to OAuth. What is the most appropriate method to use?
A website uses DynamoDB to track visitors during advertisement campaigns. Slight inaccuracies in visitor counts are acceptable. What is the easiest solution to track the number of visitors?
A developer needs to track calls made by their application to AWS services. They are using the X-Ray PutTraceSegments API to send segment documents. What should be included in the segment document?
A social media platform uses a DynamoDB table to store user posts. The partition key is ForumName, and the sort key is PostDate. To query posts made in a specific forum during the last 30 days, which of the following is the most effective solution?
You are building a serverless application with AWS Lambda, and you need to increase CPU capacity to process real-time data streams more efficiently. What is the most effective way to meet this requirement?
A popular e-commerce website needs to track the number of clicks on a “Buy Now” button across its global user base. What is the best service to capture and incrementally update this data for millions of users?
Your startup is looking for a version control system that supports pull requests, parallel branching, and batch changes across multiple files. Which AWS service is best suited for this requirement?
A company is automating its software delivery pipeline using AWS CodePipeline and CodeDeploy. What are important considerations when using CodeDeploy for this automation? (Select TWO.)
You need to deploy a new version of your application hosted in Elastic Beanstalk. How should you package and deploy it via the CLI?
An EC2 instance processes data and uploads the results to an S3 bucket. What is the safest way to grant the instance permission to perform the upload?
You are developing a serverless application that processes data asynchronously using AWS Lambda and DynamoDB. How can you ensure Lambda functions are invoked asynchronously?
Your team uses AWS SAM for building and deploying Lambda functions. A new developer has added a Lambda function to the SAM template and needs to deploy it to production. What steps should they follow? (Select TWO.)
A DynamoDB table is provisioned with 10 read capacity units, and each item is 4 KB in size. How many strongly consistent and eventually consistent read requests can the table handle per second?
A developer is configuring an ECS service with Fargate launch type. Each of the four ECS tasks must have distinct permissions to access different AWS resources. What is the most efficient way to configure access for each task?
A developer is deploying multiple Lambda functions for a serverless application using AWS SAM and needs to manage deployments using CodeDeploy. The requirement is to gradually shift 10% of the traffic to the new version every 5 minutes. What deployment configuration should the developer use?
An e-commerce application translates product descriptions on demand using Lambda and Amazon Translate. During high traffic, the database response time increases significantly. How can a developer reduce latency in the most cost-effective way?
A developer needs to encrypt data in a financial application using envelope encryption. How should the developer implement envelope encryption to comply with the company's encryption policy?
A developer needs to configure an Elastic Beanstalk environment with the application name, platform, and environment variables. Which configuration file should the developer include in the source bundle?
A real-time analytics application needs to track updates to DynamoDB tables across multiple regions in a multi-master setup. How should the application detect the most recent changes automatically?
A DynamoDB table with a global secondary index is receiving heavy write activity. The application often returns ProvisionedThroughputExceededException. What is the most likely cause?
A social media app's session data stored in DynamoDB has rapidly increased, leading to higher storage costs. What is the most cost-effective solution to reduce the amount of irrelevant data without provisioning additional throughput?
A developer is setting up an AppSpec file for CodeDeploy to deploy a Lambda function. Which lifecycle event should the developer configure to run a task before the traffic is routed to the new Lambda version?
A company is implementing server-side encryption with customer-provided keys (SSE-C) for their S3 bucket. To upload an object with SSE-C, what headers must be included in the request?
A company has a web application hosted in Elastic Beanstalk using a multicontainer Docker environment. The application needs to be integrated with API Gateway, allowing the client to communicate directly with the backend after the API setup. Which integration type is the most suitable?
An ECS application is running with X-Ray Daemon enabled, but your manager requests more detailed trace data, including additional timing and downstream AWS service call information. What is the best way to provide the requested detail?
A developer is tasked with creating a GET method in API Gateway to invoke a Lambda function for returning a list of items in JSON format. Consumers must include a query string parameter to retrieve specific items. What should the developer configure to meet this requirement?
An online retail application uses an Application Load Balancer (ALB) to distribute traffic to an Auto Scaling group of EC2 instances, all of which are instrumented with the X-Ray Daemon. In this setup, how does AWS X-Ray retrieve the client’s IP address?
A developer needs access to audit deployments in the Test and Production AWS accounts. The developer should not have persistent access but must be able to assume a role temporarily. What is the best way to achieve this?
A developer is instrumenting an application hosted on an EC2 instance to capture AWS SDK calls and additional user-defined data for tracing. What are the correct considerations when working with AWS X-Ray? (Select TWO.)
A developer is tasked with optimizing the cost of a prototype ECS application by minimizing the number of EC2 instances in use while ensuring tasks are placed efficiently. Which ECS task placement strategy should be used?
A small company's internal application needs a cost-effective, elastic architecture to handle fluctuations in demand. What AWS services would provide the most elasticity? (Select TWO.)
A company’s online magazine is experiencing performance issues due to high read traffic on its RDS MySQL database. What is the best solution to reduce the load on the database with minimal code changes?
A developer is working on an application in Elastic Beanstalk and needs to deploy code changes frequently for testing. What deployment method would allow the quickest deployment time?
A developer has a set of EC2 instances running an application that uses the Kinesis Client Library (KCL) to process data from a Kinesis stream. The application is experiencing high CPU utilization, and the current number of Kinesis shards is insufficient to handle the incoming data rate. What is the best solution to address the CPU and shard capacity issues?
You are hosting a static website in an Amazon S3 bucket, but users cannot make authenticated requests to the bucket using JavaScript due to browser restrictions. How can you resolve this issue and allow cross-origin requests?
A company is using AWS Amplify with Amazon Cognito for user authentication. After a recent security breach on a popular website, the company wants to enable multi-factor authentication (MFA) only for users with suspicious login activity. What is the most efficient way to implement this?
A serverless application using AWS SAM, DynamoDB, and Kinesis has started returning ProvisionedThroughputExceeded errors due to a sudden increase in read capacity usage. How can the developer optimize the application to minimize the read capacity usage while retrieving data?
A real-time application is utilizing Amazon Kinesis Data Streams for high-frequency data ingestion. To handle fluctuating data flow rates, the team needs to adjust the number of shards. What must the team keep in mind when resharding the Kinesis stream? (Select TWO.)