ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 309 - SCS-C01 discussion

Report
Export

You are trying to use the AWS Systems Manager run command on a set of Instances. The run command on a set of Instances. What can you do to diagnose the issue? Choose 2 answers from the options given Please select:

A.
Ensure that the SSM agent is running on the target machine
Answers
A.
Ensure that the SSM agent is running on the target machine
B.
Check the /var/log/amazon/ssm/errors.log file
Answers
B.
Check the /var/log/amazon/ssm/errors.log file
C.
Ensure the right AMI is used for the Instance
Answers
C.
Ensure the right AMI is used for the Instance
D.
Ensure the security groups allow outbound communication for the instance
Answers
D.
Ensure the security groups allow outbound communication for the instance
Suggested answer: A, B

Explanation:

The AWS Documentation mentions the following

If you experience problems executing commands using Run Command, there might be a problem with the SSM Agent. Use the following information to help you troubleshoot the agent View Agent Logs The SSM Agent logs information in the following files. The information in these files can help you troubleshoot problems.

On Windows

%PROGRAMDATA%\Amazon\SSM\Logs\amazon-ssm-agent.log

%PROGRAMDATA%\Amazon\SSM\Logs\error.log

The default filename of the seelog is seelog-xml.template. If you modify a seelog, you must rename the file to seelog.xml. On Linux

/var/log/amazon/ssm/amazon-ssm-agentlog /var/log/amazon/ssm/errors.log

Option C is invalid because the right AMI has nothing to do with the issues. The agent which is used to execute run commands can run on a variety of AMI'S Option D is invalid because security groups does not come into the picture with the communication between the agent and the SSM service For more information on troubleshooting AWS SSM, please visit the following URL:

https://docs.aws.amazon.com/systems-manaeer/latest/userguide/troubleshootine-remotecommands.htmllThe correct answers are: Ensure that the SSM agent is running on the target machine. Check the /var/log/amazon/ssm/errors.log file

Submit your Feedback/Queries to our Experts

asked 16/09/2024
najim faryabi
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first