Premium

AWS Certified SysOps Administrator - Associate Questions and Answers (Dumps and Practice Questions)



Question : A user has deployed an application on an EBS backed EC instance. For a better performance of application, it requires dedicated EC to EBS
traffic. How can the user achieve this?
  : A user has deployed an application on an EBS backed EC instance. For a better performance of application, it requires dedicated EC to EBS
1. Launch the EC2 instance as EBS dedicated with PIOPS EBS
2. Launch the EC2 instance as EBS enhanced with PIOPS EBS
3. Launch the EC2 instance as EBS provisioned with PIOPS EBS
4. Launch the EC2 instance as EBS optimized with PIOPS EBS


Correct Answer : 4

Explanation: Amazon EBS General Purpose (SSD) volumes and Amazon EBS Provisioned IOPS (SSD) volumes deliver low-latency through SSD technology and consistent I/O performance scaled to the
needs of your application. Stripe multiple volumes together to achieve even higher I/O performance.

Any application which has performance sensitive workloads and requires minimal variability with dedicated EC2 to EBS traffic should use provisioned IOPS EBS volumes, which are
attached to an EBS-optimized EC2 instance or it should use an instance with 10 Gigabit network connectivity. Launching an instance that is EBSoptimized provides the user with a
dedicated connection between the EC2 instance and the EBS volume.








Question : A user has launched a Windows based EC 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 user has launched a Windows based EC instance. However, the instance has some issues and the user wants to check the log. When the user
1. All the event logs since instance boot
2. The last 10 system event log error
3. The Windows instance does not support the console output
4. The last three system events' log errors


Correct Answer : 4
Explanation: 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





Question : A user has launched an EBS backed instance with EC-Classic. The user stops and starts the instance.
Which of the below mentioned statements is not true with respect to the stop/start action?
  : A user has launched an EBS backed instance with EC-Classic. The user stops and starts the instance.
1. The instance gets new private and public IP addresses
2. The volume is preserved
3. The Elastic IP remains associated with the instance
4. The instance may run on a anew host computer



Correct Answer : 3
Explanation: You can stop and restart your instance if it has an Amazon EBS volume as its root device. The instance retains its instance ID, but can change as described
in the Overview section. When you stop an instance, or shut it down. We don't charge hourly usage for a stopped instance, or data transfer fees, but we do charge for the storage for
any Amazon EBS volumes. Each time you start a stopped instance we charge a full instance hour, even if you make this transition multiple times within a single hour. While the
instance is stopped, you can treat its root volume like any other volume, and modify it (for example, repair file system problems or update software). You just detach the volume from
the stopped instance, attach it to a running instance, make your changes, detach it from the running instance, and then reattach it to the stopped instance. Make sure that you
reattach it using the storage device name that's specified as the root device in the block device mapping for the instance.
A user can always stop/start an EBS backed EC2 instance. When the user stops the instance, it first enters the stopping state, and then the stopped state. AWS does not charge the
running cost but charges only for the EBS storage cost. If the instance is running in EC2-Classic, it receives a new private IP address; as the Elastic IP address (EIP. associated
with the instance is no longer associated with that instance.
When you stop a running instance, the following happens: The instance performs a normal shutdown and stops running; its status changes to stopping and then stopped.
Any Amazon EBS volumes remain attached to the instance, and their data persists.
Any data stored in the RAM of the host computer or the instance store volumes of the host computer is gone.
EC2-Classic: We release the public and private IP addresses for the instance when you stop the instance, and assign new ones when you restart it.
EC2-VPC: The instance retains its private IP addresses when stopped and restarted. We release the public IP address and assign a new one when you restart it.
EC2-Classic: We disassociate any Elastic IP address (EIP) that's associated with the instance. You're charged for Elastic IP addresses that aren't associated with an instance. When
you restart the instance, you must associate the Elastic IP address with the instance; we don't do this automatically.
EC2-VPC: The instance retains its associated Elastic IP addresses (EIP). You're charged for any Elastic IP addresses associated with a stopped instance.

If you've registered the instance with a load balancer, it's likely that the load balancer won't be able to route traffic to your instance after you've stopped and restarted it. You
must de-register the instance from the load balancer after stopping the instance, and then re-register after starting the instance. For more information, see De-Registering and
Registering Amazon EC2 Instances in the Elastic Load Balancing Developer Guide.
When you stop a ClassicLink instance, it's unlinked from the VPC to which it was linked. You must link the instance to the VPC again after restarting it. For more information about
ClassicLink, see ClassicLink.
For more information, see Differences Between Reboot, Stop, and Terminate.
You can modify the following attributes of an instance only when it is stopped:
Instance type
User data
Kernel
RAM disk

If you try to modify these attributes while the instance is running, Amazon EC2 returns the IncorrectInstanceState error.


Related Questions


Question : A user has launched two EBS backed EC instances in the US-East-a region. The user wants to change the zone of one of the instances. How
can the user change it?
  :   A user has launched two EBS backed EC instances in the US-East-a region. The user wants to change the zone of one of the instances. How
1. The zone can only be modified using the AWS CLI
2. It is not possible to change the zone of an instance after it is launched
3. Stop one of the instances and change the availability zone
4. From the AWS EC2 console, select the Actions - > Change zones and specify the new zone


Question : An organization (account ID . has configured the IAM policy to allow the user to modify his
credentials. What will the below mentioned statement allow the user to perform?
{"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"iam:AddUserToGroup",
"iam:RemoveUserFromGroup",
"iam:GetGroup"
],
"Resource": "arn:aws:iam:: 777777777777:group/TestingGroup"
}]
 :  An organization (account ID . has configured the IAM policy to allow the user to modify his
1. The IAM policy will throw an error due to an invalid resource name

2. The IAM policy will allow the user to subscribe to any IAM group
3. Allow the IAM user to update the membership of the group called TestingGroup

4. Allow the IAM user to delete the TestingGroup


Question : HadoopExam Sysadmin has configured ELB with two EBS backed instances (for backup). The user has stopped the instances for week to save costs. The user restarts the
instances after 1 week. Which of the below mentioned statements will help the user to understand the ELB and instance registration better?
 :  HadoopExam Sysadmin has configured ELB with two EBS backed instances (for backup). The user has stopped the instances for  week to save costs. The user restarts the
1. There is no way to register the stopped instances with ELB
2. The user cannot stop the instances if they are registered with ELB
3. If the instances have the same Elastic IP assigned after reboot they will be registered with ELB
4. The instances will automatically get registered with ELB



Question : Sysadmin is trying to connect to a running EC instance using SSH. However, the user gets a Host key not found error. Which of the below
mentioned options is a possible reason for rejection?
 :  Sysadmin is trying to connect to a running EC instance using SSH. However, the user gets a Host key not found error. Which of the below
1. The user has provided the wrong user name for the OS login
2. The instance CPU is heavily loaded
3. The security group is not configured properly
4. The access key to connect to the instance is wrong


Question : : A user has hosted an application on EC instances. The EC instances are configured with ELB and Auto Scaling. The application server session
time out is 2 hours. The user wants to configure connection draining to ensure that all in-flight requests are supported by ELB even though the
instance is being deregistered. What time out period should the user specify for connection draining?
 :  : A user has hosted an application on EC instances. The EC instances are configured with ELB and Auto Scaling. The application server session
1. 5 minutes
2. 1 hour
3. 30 minutes
4. 2 hours


Question : A user is using the AWS EC. The user wants to have setup as such that when there is an issue in the EC server,
such as instance status failed, it should start a new instance in the user's private cloud.
Which AWS service helps to achieve this automation?
 :  A user is using the AWS EC. The user wants to have setup as such that when there is an issue in the EC server,
1. AWS CloudWatch + Cloudformation
2. AWS CloudWatch + AWS AutoScaling + AWS ELB
3. AWS CloudWatch + AWS VPC
4. AWS CloudWatch + AWS SNS