Monitoring and Troubleshooting – Part A
0 of 20 Questions completed
You have already completed the simulator before. Hence you can not start it again.
Simulator is loading…
You must sign in or sign up to start the simulator.
You must first complete the following:
0 of 20 Questions answered correctly
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)
Unfortunately, you didn’t pass the quiz, but hey, you have unlimited access.😎
Practice makes you perfect! 👊
You have passed the quiz 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.👊
Question 1 of 20
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 2 of 20
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 3 of 20
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 4 of 20
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 5 of 20
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 6 of 20
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 7 of 20
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 8 of 20
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 9 of 20
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 10 of 20
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 11 of 20
You have been tasked to find a solution to monitor your endpoints and APIs using scripted canaries (configurable scripts that run on a schedule) that run 24 hours per day, once per minute.
Which of the following services should you use to complete the task?CorrectIncorrect
Question 12 of 20
You have just finalized the process of hosting your WordPress blog on a new Amazon EC2 Linux instance. After trying to connect to your instance you get the following error message:
Network error: Connection timed out or Error connecting
Which of the following actions should you take in order to troubleshoot the issue? (Choose all that apply.)CorrectIncorrect
Question 13 of 20
You are developing a new app using Amazon CloudFront from the early stage to speed up the distribution of your static and dynamic web content. Now you have been tasked to use your own domain name to your distribution, such as www.examsdigest.com, instead of the cloudfront.net domain name by adding an alternate domain name (CNAME). When you try to add an alternate domain name (CNAME) to your distribution, CloudFront returns an InvalidViewerCertificate error.
Which of the following options might be the root cause of this issue?CorrectIncorrect
Question 14 of 20
You have been noticed that each time CloudFront requests an object from your origin, the origin returns an HTTP 504 status code.
What does the HTTP 504 status code (Gateway Timeout) indicate?CorrectIncorrect
Question 15 of 20
A company that has a MySQL on Amazon Relational Database Service they discover common attack patterns, such as SQL injection and cross-site scripting. You have been hired to implement a solution to improve web traffic visibility by monitoring the entire inbound traffic and improve the security against web attacks.
Which of the following services should you implement to meet the requirements?CorrectIncorrect
Question 16 of 20
Each time you are trying to create a new instance your get the following error.
What’s the cause and the solution of this error?CorrectIncorrect
Question 17 of 20
You are using Amazon CloudWatch to monitor metrics for Amazon S3 as it helps you understand and improve the performance of your application that uses Amazon S3.
Which of the following is NOT a way that you can use CloudWatch with Amazon S3.CorrectIncorrect
Question 18 of 20
You are working with AWS X-Ray to collect data about requests that your application serves, and gain insights into that data to identify issues and opportunities for optimization. Your coworker named Bruce tries to use the console to perform an action in X-Ray but he gets the following error:
User: arn:aws:iam::123456789012:user/bruce is not authorized to perform: iam:PassRole
Which of the following actions will solve the issue?CorrectIncorrect
Question 19 of 20
An Auto Scaling Group is unable to respond quickly enough to load changes, resulting in lost messages from another application tier. The messages are typically around 78KB in size.
Which of the following solutions will you implement to prevent messages from being lost?CorrectIncorrect
Question 20 of 20
You are working as a site reliability engineer (SRE) for a large US-based IT company. You have been tasked to find an automated way to monitor and resolve issues with their on-demand EC2 instances.
Which of the following option can be used to automatically monitor the EC2 instances and notify you for any possible incident?CorrectIncorrect