A user has launched a Windows based EC2 instance. However, the instance has some issues
and the user wants to check the log. When the user checks the Instance console output from the
AWS console, what will it display?
A.
All the event logs since instance boot
B.
The last 10 system event log error
C.
The Windows instance does not support the console output
D.
The last three system events’ log errors
Explanation:
The AWS EC2 console provides a useful tool called Console output for problem diagnosis. It is
useful to find out any kernel issues, termination reasons or service configuration issues. For a
Windows instance it lists the last three system event log errors. For Linux it displays the exact
console output.
D
D.
Relative doc:
http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/UsingConfig_WinAMI.html
Topic: Ec2 Service Properties
D
Correct Answer : D
Exp : Instances do not have a physical monitor through which you can view their console output. They also lack physical controls that allow you to power up, reboot, or shut them down. To allow these actions, we provide them through the Amazon EC2 API and command line interface.
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
For Linux/UNIX instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a machine. This output is buffered because the instance produces it and then posts it to a store where the instance’s owner can retrieve it.
The AWS EC2 console provides a useful tool called Console output for problem diagnosis. It is useful to find out any kernel issues, termination reasons or service configuration issues. For a Windows instance it lists the last three system event log errors. For Linux it displays the exact console output
This example command retrieves the console output for the specified Linux/UNIX instance.
PROMPT> ec2-get-console-output i-10a64379
i-10a64379
2010-04-08T09:20:29+0000
Linux version 2.6.21.7-2.ec2.v1.2.fc8xen (root@domU-12-34-56-0A-78-01) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Nov 20 19:22:36 EST 2009
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 000000006ac00000 end: 000000006ac00000 type: 1
Xen: 0000000000000000 – 000000006ac00000 (usable)
980MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
Hi guys, quick question. How close are these questions to the real question in the test?