ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 622 - SAP-C01 discussion

Report
Export

For Amazon EC2 issues, while troubleshooting AWS CloudFormation, you need to view the cloud-init and cfn logs for more information. Identify a directory to which these logs are published.

A.
/var/opt/log/ec2
Answers
A.
/var/opt/log/ec2
B.
/var/log/lastlog
Answers
B.
/var/log/lastlog
C.
/var/log/
Answers
C.
/var/log/
D.
/var/log/ec2
Answers
D.
/var/log/ec2
Suggested answer: C

Explanation:

When you use AWS CloudFormation, you might encounter issues when you create, update, or delete AWS CloudFormation stacks. For Amazon EC2 issues, view the cloud-init and cfn logs. These logs are published on the Amazon EC2 instance in the /var/log/ directory. These logs capture processes and command outputs while AWS CloudFormation is setting up your instance. For Windows, view the EC2Configure service and cfn logs in %ProgramFiles%\Amazon\EC2ConfigService and C:\cfn\log. You can also configure your AWS CloudFormation template so that the logs are published to Amazon CloudWatch, which displays logs in the AWS Management Console so you don't have to connect to your Amazon EC2 instance.

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html

asked 16/09/2024
IGNACIO CHICO TORRES
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first