Which of The Following Enables You To Monitor and Collect Log Files From Your Amazon EC2 Instances?
Which of The Following Enables You To Monitor and Collect Log Files From Your Amazon EC2 Instances?
Which of the following enables you to monitor and collect log files from your Amazon EC2
instances?
CloudWatch Logs
(Correct)
Amazon Inspector
AWS CloudTrail
Explanation
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon
Elastic Compute Cloud (Amazon EC2) instances, AWS CloudTrail, Route 53, and other sources.
CloudWatch Logs enables you to centralize the logs from all of your systems, applications, and AWS
services that you use, in a single, highly scalable service. You can then easily view them, search them for
specific error codes or patterns, filter them based on specific fields, or archive them securely for future
analysis. By default, logs are kept indefinitely and never expire. You can adjust the retention policy for
each log group, keeping the indefinite retention, or choosing a retention periods between 10 years and
one day.
"AWS CloudTrail" is incorrect. CloudTrail is used to log, continuously monitor user activity and API
usage.
"Amazon Inspector" is incorrect. Amazon Inspector is an automated security assessment service that
helps improve the security and compliance of applications deployed on AWS.
"AWS Storage Gateway" is incorrect. AWS Storage Gateway is a hybrid cloud storage service.
References:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
Question 22: Correct
Jessica is managing an e-commerce web application in AWS. The application is hosted on six EC2
instances. One day, three of the instances crashed; but none of her customers were affected. What
has Jessica done correctly in this scenario?
(Correct)
Explanation
Fault tolerance is the property that enables a system to continue operating properly in the event of
the failure of some (one or more faults within) of its components. Visitors to a website expect the website
to be available irrespective of when they visit. For example, when someone wants to visit Jessica’s website
to purchase a product, whether it is at 9:00 AM on a Monday or 3:00 PM on holiday, he expects that the
website will be available and ready to accept his purchase. Failing to meet these expectations can cause
loss of business and contribute to the development of a negative reputation for the website owner,
resulting in lost revenue.
"She has properly built a scalable system" is incorrect. Scalability is the ability of a system to
accommodate larger loads just by adding resources, either making hardware larger (scaling vertically) or
adding additional nodes (scaling horizontally).
"She has properly built an encrypted system" is incorrect. Encryption is much more related to data
protection, not fault-tolerance.
References:
https://d1.awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf
Question 23: Correct
A company needs to host a database in Amazon RDS for at least three years. Which of the
following options would be the most cost-effective solution?
Spot Instances
On-Demand instances
(Correct)
Explanation
Since the database server will be hosted for a period of at least three years, then it is better to use
the RDS Reserved Instances as it provides you with a significant discount compared to the On-Demand
Instance pricing for the DB instance.
With the Partial Upfront option, you make a low upfront payment and are then charged a
discounted hourly rate for the instance for the duration of the Reserved Instance term. The Partial Upfront
option is more cost-effective than the No upfront option (The more you spend upfront the more you
save).
"Spot Instances" is incorrect. Spot Instances is an option for EC2; there is no Spot option for RDS.
"Reserved instances - No Upfront" is incorrect. The No Upfront option does not require any upfront
payment and provides a discounted hourly rate for the durat