Quiz 1 of 0
AWS Developer Associate (DVA-C01) Practice Exam #1
Anastasia-Instructor September 3, 2022
Time limit: 0
Quiz Summary
0 of 50 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Quiz complete. Results are being recorded.
Results
0 of 50 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
-
Unfortunately, you didn’t pass the practice exam, but hey, you have unlimited access.😎
Practice makes you perfect! 👊 -
Congratulations! 🥳
You have passed the practice exam successfully! You are one step closer to pass the real exam!
We hope to see you again on another certification path.✌️
Good luck with the exam! Stay strong.👊
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 50
1. Question
Given the JSON-formatted template fragment below, which of the following sections is required in order to build your template?
CorrectIncorrect -
Question 2 of 50
2. Question
You are deploying a serverless application using CloudFormation that consists of CloudFront, and DynamoDB. The AWS SAM syntax should be used to declare resources in your template which requires you to specify the version of the AWS Serverless Application Model (AWS SAM).
Which of the following sections is required to use AWS SAM syntax to declare resources in your template?
CorrectIncorrect -
Question 3 of 50
3. Question
You are developing an online educational APP that will be hosted in an ECS Cluster. You need to let Amazon ECS selects tasks to terminate in order to maintain a balance across Availability Zones.
Which of the following task placement strategies will you implement?
CorrectIncorrect -
Question 4 of 50
4. Question
You have enabled DynamoDB Streams on a table, then you have associated the stream Amazon Resource Name (ARN) with an AWS Lambda function that you wrote. A new updated version of that function needs to be deployed using CodeDeploy where the traffic must be shifted in equal increments with an equal number of minutes between each increment.
Which of the following deployment configurations will you choose to meet the requirement?
CorrectIncorrect -
Question 5 of 50
5. Question
You have just completed building your first serverless application and now you are ready to deploy the app on the AWS. You need to create a ZIP file of your code with dependencies to upload it to Amazon S3.
Which of the following commands will you use to create the ZIP file and upload it to Amazon S3?
CorrectIncorrect -
Question 6 of 50
6. Question
Which of the following policy terms is not considered a deployment policy in AWS Elastic Beanstalk?
CorrectIncorrect -
Question 7 of 50
7. Question
You want to split the environment’s Amazon EC2 instances into batches and deploys the new version of the application to one batch at a time. Which deployment option will you choose in the Elastic Beanstalk?
CorrectIncorrect -
Question 8 of 50
8. Question
You are using AWS Serverless Application Model (AWS SAM) to build and deploy applications in your serverless infrastructure. Now, you need to create a CloudFormation template that includes your SAM scripts. The template will be used to launch an identical infrastructure in multiple regions.
Which of the following actions will you perform to complete the task?
CorrectIncorrect -
Question 9 of 50
9. Question
Which of the following helper scripts should you use to dynamically install packages, create files, and start services on your EC2 instances upon the deployment of the application stack using CloudFormation?
CorrectIncorrect -
Question 10 of 50
10. Question
You have created a Lambda function written in Java that counts the number of daily visitors from your web app and sends you an email notification via Amazon SNS. However, after testing you identify that the function is not working as expected.
Which of the following AWS service will you use to analyze and debug your application?
CorrectIncorrect -
Question 11 of 50
11. Question
You just noticed that some of your requests that your application makes to the database and HTTP web API take an enormous amount of time without affecting other aspects of your app.
Which of the following AWS service should you use to troubleshoot the issue?
CorrectIncorrect -
Question 12 of 50
12. Question
Your project manager instructs you to collect all the segments generated by the POST and GET requests that travel through a load balancer, hits your application code, and generates downstream calls to other AWS services. Then he will be able to track the latency of the requests.
Which of the following AWS X-Ray tools should you use to meet the requirement?
CorrectIncorrect -
Question 13 of 50
13. Question
You are developing an Amazon Kinesis Data Streams that performs calculations on the stream of stock data. You need to adjust the number of shards in your stream to adapt to changes in the rate of data flow through the stream.
Which of the following resharding operation should you use to double the stream’s capacity?
CorrectIncorrect -
Question 14 of 50
14. Question
Your company just migrated to AWS due to the limitations of the on-premises data center. Your manager then assigned you a task to build a new serverless architecture to automate the building, testing, and deployment of the serverless applications.
Which of the following AWS service should you use to meet the requirements?
CorrectIncorrect -
Question 15 of 50
15. Question
The manager instructs you to use Amazon RDS on AWS Outposts to automated maintenance, backups, and upgrades of DB instances.
Which of the following features are NOT supported on Amazon RDS with AWS Outposts? (Choose all that apply.)
CorrectIncorrect -
Question 16 of 50
16. Question
You need to create a workflow that runs a group of Lambda functions (steps) in a specific order. One Lambda function’s output passes to the next Lambda function’s input. The last step in your workflow gives a result.
Which of the following AWS services should you use to see how each step in your workflow interacts with one another, so you can make sure that each step performs its intended function?
CorrectIncorrect -
Question 17 of 50
17. Question
You have just developed a new social media web application using NodeJS and ReactJS. Now you are in the process of developing a native mobile application for the social media web-app using React Native.
Which of the following services should you use to synchronize user profile data across mobile devices and web applications?
CorrectIncorrect -
Question 18 of 50
18. Question
Which of the following Cluster query expressions selects instances in the us-east-1a or us-east-1b Availability Zone?
CorrectIncorrect -
Question 19 of 50
19. Question
On ExamsDigest we are using Amazon DynamoDB to store all the courses as it is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.
Which of the following AWS CLI commands shows how to read an item from the ExamsDigestCourses table?
CorrectIncorrect -
Question 20 of 50
20. Question
Consider a table named GameScores that tracks users and scores for a mobile gaming application. Each item in GameScores is identified by a partition key (UserId) and a sort key (GameTitle). The following diagram shows how the items in the table would be organized. (Not all of the attributes are shown.)
Now suppose that you wanted to write a leaderboard application to display top scores for each game. What you can do to speed up the queries?CorrectIncorrect -
Question 21 of 50
21. Question
You are developing an app using the X-Ray SDK for Java and you encounter the following error. What does this error indicate?
Error: Exception in thread "Thread-1" com.amazonaws.xray.exceptions.SegmentNotFoundException: Failed to begin subsegment named 'AmazonSNS': segment cannot be found.
CorrectIncorrect -
Question 22 of 50
22. Question
You are using CloudWatch Logs, to monitor the number of client-side errors captured in a given period and find out how often your site visitors do not find the resource they are looking for.
Which of the following CloudWatch metric should you use to troubleshoot the issue?
CorrectIncorrect -
Question 23 of 50
23. Question
You are working on a REST API in API Gateway which is integrated with backend HTTP endpoints. You have enabled the gateway response for all the supported response types at the API level. The gateway response for an invalid API configuration.
Which of the following codes is the default status code for the API_CONFIGURATION_ERROR gateway response type?
CorrectIncorrect -
Question 24 of 50
24. Question
You have configured an Amazon API Gateway proxy integration named ExamsDigestAPI to work with a Lambda function. However, when the API is being called, the API Gateway returns the following error.
502 Bad Gateway error response
Which of the following options caused this error?
CorrectIncorrect -
Question 25 of 50
25. Question
You have been tasked to monitor the traffic that is reaching your instance by capturing information about the IP traffic going to and from the network interfaces in your VPC.
Which of the following tools will you use to meet the requirement?
CorrectIncorrect -
Question 26 of 50
26. Question
You are working in a bootstrapping start-up and you need to keep the operational expenses as low as possible. The most cost-effective and viable solution at this stage is to automatically stop the EC2 instances after some predefined thresholds are met.
Which of the following services can help the start-up to reduce billing overages?
CorrectIncorrect -
Question 27 of 50
27. Question
When you enable anomaly detection for a metric, CloudWatch applies statistical and machine learning algorithms that continuously analyze metrics of applications and determine normal baselines with minimal user intervention.
CorrectIncorrect -
Question 28 of 50
28. Question
You have enabled the CloudWatch Agent to collect more system-level metrics from Amazon EC2 Linux instances such as cpu_time_guest and cpu_time_idle. The CloudWatch agent fails to start due to an issue in your configuration and now you are responsible to troubleshoot it by checking the configuration-validation.log file.
Where is this file located on the Linux server?
CorrectIncorrect -
Question 29 of 50
29. Question
You have already created the monitoring plan and established a baseline to maintain the reliability, availability, and performance of the AWS Web Application Firewall (WAF). Now you have been instructed to view and monitor the metrics using the AWS CLI to identify normal performance patterns and performance anomalies.
Which command should you use to meet the requirement?
CorrectIncorrect -
Question 30 of 50
30. Question
You are developing a new app using Amazon EC2 Auto Scaling and Elastic Load Balancing to manage incoming requests by optimally routing traffic so that no one instance is overwhelmed. Your EC2 instances fail to launch due to issues with the load balancer associated with your Auto Scaling group, and you get “Cannot find Load Balancer < your launch environment > . Validating load balancer configuration failed” error messages.
What might be the primary cause of this error message?
CorrectIncorrect -
Question 31 of 50
31. Question
You are developing an application that uses CloudFront to speed up the distribution of the web content and to keep the content secure while in transit.
Which of the following ways you can use CloudFront to secure and restrict access to content? (Choose all that apply.)
CorrectIncorrect -
Question 32 of 50
32. Question
You are building AWS Lambda applications as it makes your Lambda projects portable and enables you to integrate with additional developer tools, such as AWS CodePipeline and AWS CodeBuild.
Which of the following best practices allows you to make a more unit-testable AWS Lambda function?
CorrectIncorrect -
Question 33 of 50
33. Question
You have built a community-based app like Reddit that has millions of visitors per month. The tech stack of the app includes NodeJS, React, Redis, Amazon EC2, Amazon S3, Hadoop, Underscore, and MariaDB. Some of the community-members are complaining that the performance of the app is slowing down when the posts have engagement.
Which of the following actions you can follow to resolve the issue as fast as possible with no extra cost?
CorrectIncorrect -
Question 34 of 50
34. Question
You are building a distributed peer-to-peer file sharing application that requires low latency and scalability. The app uses a disk-based database, therefore the data retrieval speed from disk plus the added query processing times generally will put your query response times in double-digit millisecond speeds.
Which of the following strategies can improve your overall application performance and reduce your database costs.
CorrectIncorrect -
Question 35 of 50
35. Question
You have created a trail to enable continuous delivery of CloudTrail events to an S3 bucket, including events for CloudWatch. The Amazon S3 bucket contains more than 3,500 objects but you need to fetch and return only the first 1,000 objects in the final output without creating pagination.
Which of the following options will you use to run the command
aws s3api list-objects
to meet the requirement?CorrectIncorrect -
Question 36 of 50
36. Question
You have created an Amazon Kinesis Data Analytics Application that process and analyze streaming data using standard SQL. When Amazon Kinesis Data Analytics inserts a row in the application stream it stores a timestamp.
Which of the following types of times reflects the timestamp that is stored when a record was added to the streaming source?
CorrectIncorrect -
Question 37 of 50
37. Question
You are using the extension of AWS Lambda, Lambda@Edge, as it lets you execute functions that customize the content that CloudFront delivers. You have written a Node.js function in one Region, US-East-1 (N. Virginia), and then execute this function in AWS locations globally that are closer to your viewer.
Which of the following CloudFront events have to occur in order to execute the Lambda function? (Choose all that apply.)
CorrectIncorrect -
Question 38 of 50
38. Question
You are developing a static code using Lambda functions to automate backups and send the backups to an S3 bucket.
In which of the following Init phases, the Lambda function runs the static code?
CorrectIncorrect -
Question 39 of 50
39. Question
You have an existing application that uses standard queues and you want to take advantage of the ordering and exactly-once processing features of FIFO queues.
Which of the following actions needs to be done in order to convert an existing standard queue into a FIFO queue?
CorrectIncorrect -
Question 40 of 50
40. Question
You are working on AWS Command Line Interface (AWS CLI) version 1 to list all objects of a given bucket. You have been noticed that when you run list commands on a large number of resources this causes calls to AWS services to exceed the maximum allowed time and generate a “timed out” errors.
What action you can take to resolve this issue?
CorrectIncorrect -
Question 41 of 50
41. Question
AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data management and secrets management.
Which of the following Parameter Store features can benefit your organization? (Choose all that apply.)
CorrectIncorrect -
Question 42 of 50
42. Question
You are using a Lambda authorizer (formerly known as a custom authorizer) to control access to your API. You need to implement a custom authorization scheme that uses a bearer token authentication strategy such as OAuth to determine the caller’s identity.
Which of the following methods should you implement to meet the requirement?
CorrectIncorrect -
Question 43 of 50
43. Question
You are using the AWS Key Management Service (KMS) to create and manage encryption keys across a wide range of AWS services, and also to add an extra layer of security in your application.
Which of the following types of Customer master keys (CMKs) would you choose to have full control over these CMKs, including establishing and maintaining their key policies?
CorrectIncorrect -
Question 44 of 50
44. Question
One of the most important things you can do as a customer to ensure the security of your resources is to maintain careful control over who has access to them. This is especially true if any of your AWS users have programmatic access. Programmatic access allows you to invoke actions on your AWS resources either through an application that you write or through a third-party tool.
Which of the following actions are considered best practices to help you protect your account and prevent accidental or malicious account activity? (Choose all that apply.)
CorrectIncorrect -
Question 45 of 50
45. Question
Which of the following is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key?
CorrectIncorrect -
Question 46 of 50
46. Question
You are building the cloud architecture of an application that will be hosted in an EC2 instance. The application will process the data and it will upload the results to an S3 bucket.
Which of the following is the best approach to implement this architecture?
CorrectIncorrect -
Question 47 of 50
47. Question
You want to add multi-factor authentication (MFA) to increase the security of your app by adding another authentication method, and not relying solely on user name and password.
Which of the following step is a prerequisite before starting the configuration?
CorrectIncorrect -
Question 48 of 50
48. Question
Many companies that distribute content over the internet want to restrict access to documents, business data, media streams, or content that is intended for selected users, such as users who have paid a fee.
What they can do to securely serve this private content over the internet?
CorrectIncorrect -
Question 49 of 50
49. Question
Which of the following AWS Services enables you to replace hardcoded credentials in your code with an API to ensure that the secret can’t be compromised by someone examining your code?
CorrectIncorrect -
Question 50 of 50
50. Question
You are developing an application that uses Amazon S3. During development, you use your testing-only AWS account to create a bucket named my-data-test, and configures your application to make requests to my-data-test. You are deploying your application, but you forgot to reconfigure the application to use a bucket in your production AWS account. In production, your application makes requests to my-data-test, which succeeds. This results in production data being written to the bucket in your test account.
Which of the following features should you use in order to prevent this scenario from happening again?
CorrectIncorrect