AWS-SysOps Premium Bundle

AWS-SysOps Premium Bundle

AWS Certified SysOps Administrator Associate Certification Exam

4.5 
(17865 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Amazon AWS-SysOps Free Practice Questions

Q1. - (Topic 3) 

A user runs the command “dd if=/dev/zero of=/dev/xvdfbs=1M” on a fresh blank EBS volume attached to a Linux instance. Which of the below mentioned activities is the user performing with the command given above? 

A. Creating a file system on the EBS volume 

B. Mounting the device to the instance 

C. Pre warming the EBS volume 

D. Formatting the EBS volume 

Answer:

Explanation: 

When the user creates a new EBS volume and is trying to access it for the first time it will encounter reduced IOPS due to wiping or initiating of the block storage. To avoid this as well as achieve the best performance it is required to pre warm the EBS volume. For a blank volume attached with a Linux OS, the “dd” command is used to write to all the blocks on the device. In the command “dd if=/dev/zero of=/dev/xvdfbs=1M” the parameter “if =import file” should be set to one of the Linux virtual devices, such as /dev/zero. The “of=output file” parameter should be set to the drive that the user wishes to warm. The “bs” parameter sets the block size of the write operation; for optimal performance, this should be set to 1 MB. 

Q2. - (Topic 3) 

A user has setup an Auto Scaling group. The group has failed to launch a single instance for more than 24 hours. What will happen to Auto Scaling in this condition? 

A. Auto Scaling will keep trying to launch the instance for 72 hours 

B. Auto Scaling will suspend the scaling process 

C. Auto Scaling will start an instance in a separate region 

D. The Auto Scaling group will be terminated automatically 

Answer:

Explanation: 

If Auto Scaling is trying to launch an instance and if the launching of the instance fails continuously, it will suspend the processes for the Auto Scaling groups since it repeatedly failed to launch an instance. This is known as an administrative suspension. It commonly applies to the Auto Scaling group that has no running instances which is trying to launch instances for more than 24 hours, and has not succeeded in that to do so. 

Q3. - (Topic 2) 

A user has setup a CloudWatch alarm on an EC2 action when the CPU utilization is above 75%. The alarm sends a notification to SNS on the alarm state. If the user wants to simulate the alarm action how can he achieve this? 

A. Run activities on the CPU such that its utilization reaches above 75% 

B. From the AWS console change the state to ‘Alarm’ 

C. The user can set the alarm state to ‘Alarm’ using CLI 

D. Run the SNS action manually 

Answer:

Explanation: 

Amazon CloudWatch alarms watch a single metric over a time period that the user specifies and performs one or more actions based on the value of the metric relative to a given threshold over a number of time periods.The user can test an alarm by setting it to any state using the SetAlarmState API (mon-set-alarm-state command.. This temporary state change lasts only until the next alarm comparison occurs. 

Q4. - (Topic 3) 

A user has created a Cloudformation stack. The stack creates AWS services, such as EC2 instances, ELB, AutoScaling, and RDS. While creating the stack it created EC2, ELB and AutoScaling but failed to create RDS. What will Cloudformation do in this scenario? 

A. Cloudformation can never throw an error after launching a few services since it verifies all the steps before launching 

B. It will warn the user about the error and ask the user to manually create RDS 

C. Rollback all the changes and terminate all the created services 

D. It will wait for the user’s input about the error and correct the mistake after the input 

Answer:

Explanation: 

AWS Cloudformation is an application management tool which provides application modelling, deployment, configuration, management and related activities. The AWS Cloudformation stack is a collection of AWS resources which are created and managed as a single unit when AWS CloudFormation instantiates a template. If any of the services fails Amazon AWS-SysOps : Practice Test 

to launch, Cloudformation will rollback all the changes and terminate or delete all the created services. 

Q5. - (Topic 2) 

A user is launching an instance. He is on the “Tag the instance” screen. Which of the below mentioned 

information will not help the user understand the functionality of an AWS tag? 

A. Each tag will have a key and value 

B. The user can apply tags to the S3 bucket 

C. The maximum value of the tag key length is 64 unicode characters 

D. AWS tags are used to find the cost distribution of various resources 

Answer:

Explanation: 

AWS provides cost allocation tags to categorize and track the AWS costs. When the user applies tags to his AWS resources, AWS generates a cost allocation report as a comma-separated value (CSV file. with the usage and costs aggregated by those tags. Each tag will have a key-value and can be applied to services, such as EC2, S3, RDS, EMR, etc. The maximum size of a tag key is 128 unicode characters. 

Q6. - (Topic 2) 

An admin is planning to monitor the ELB. Which of the below mentioned services does not help the admin capture the monitoring information about the ELB activity? 

A. ELB Access logs 

B. ELB health check 

C. CloudWatch metrics 

D. ELB API calls with CloudTrail 

Answer:

Explanation: 

The admin can capture information about Elastic Load Balancer using either: CloudWatch Metrics ELB Logs files which are stored in the S3 bucket CloudTrail with API calls which can notify the user as well generate logs for each API calls The health check is internally performed by ELB and does not help the admin get the ELB activity. 

Q7. - (Topic 2) 

An organization has created 5 IAM users. The organization wants to give them the same login ID but different passwords. How can the organization achieve this? 

A. The organization should create a separate login ID but give the IAM users the same alias so that each one can login with their alias 

B. The organization should create each user in a separate region so that they have their own URL to login 

C. It is not possible to have the same login ID for multiple IAM users of the same account 

D. The organization should create various groups and add each user with the same login ID to different groups. The user can login with their own group ID 

Answer:

Explanation: 

AWS Identity and Access Management is a web service which allows organizations to manage users and user permissions for various AWS services. Whenever the organization is creating an IAM user, there should be a unique ID for each user. It is not possible to have the same login ID for multiple users. The names of users,groups, roles, instance profiles must be alphanumeric, including the following common characters: plus (+., equal (=., comma (,., period (.., at (@., and dash (-.. 

Q8. - (Topic 2) 

A user has enabled the Multi AZ feature with the MS SQL RDS database server. Which of the below 

mentioned statements will help the user understand the Multi AZ feature better? 

A. In a Multi AZ, AWS runs two DBs in parallel and copies the data asynchronously to the replica copy 

B. In a Multi AZ, AWS runs two DBs in parallel and copies the data synchronously to the replica copy 

C. In a Multi AZ, AWS runs just one DB but copies the data synchronously to the standby replica 

D. AWS MS SQL does not support the Multi AZ feature 

Answer:

Explanation: 

Amazon RDS provides high availability and failover support for DB instances using Multi-AZ deployments. In a Multi-AZ deployment, Amazon RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone. The primary DB instance is synchronously replicated across Availability Zones to a standby replica to provide data redundancy, eliminate I/O freezes, and minimize latency spikes during system backups. Running a DB instance with high availability can enhance availability during planned system maintenance, and help protect your databases against DB instance failure and Availability Zone disruption.Note that the high-availability feature is not a scaling solution for read-only scenarios; you cannot use a standby replica to serve read traffic. To service read-only traffic, you should use a read replica. 

Q9. - (Topic 3) 

A user has launched an EC2 instance. However, due to some reason the instance was terminated. If the user wants to find out the reason for termination, where can he find the details? 

A. It is not possible to find the details after the instance is terminated 

B. The user can get information from the AWS console, by checking the Instance description under the State transition reason label 

C. The user can get information from the AWS console, by checking the Instance description under the Instance Status Change reason label 

D. The user can get information from the AWS console, by checking the Instance description under the Instance Termination reason label 

Answer:

Explanation: 

An EC2 instance, once terminated, may be available in the AWS console for a while after termination. The user can find the details about the termination from the description tab under the label State transition reason. If the instance is still running, there will be no reason listed. If the user has explicitly stopped or terminated the instance, the reason will be “User initiated shutdown”. 

Q10. - (Topic 3) 

A sys admin is planning to subscribe to the RDS event notifications. For which of the below mentioned source categories the subscription cannot be configured? 

A. DB security group 

B. DB snapshot 

C. DB options group 

D. DB parameter group 

Answer:

Explanation: 

Amazon RDS uses the Amazon Simple Notification Service (SNS. to provide a notification when an Amazon RDS event occurs. These events can be configured for source categories, such as DB instance, DB security group, DB snapshot and DB parameter group. 

Q11. - (Topic 3) 

A user has launched an EC2 instance from an instance store backed AMI. The infrastructure team wants to create an AMI from the running instance. Which of the below mentioned credentials is not required while creating the AMI? 

A. AWS account ID 

B. X.509 certificate and private key 

C. AWS login ID to login to the console 

D. Access key and secret access key 

Answer:

Explanation: 

When the user has launched an EC2 instance from an instance store backed AMI and the admin team wants to create an AMI from it, the user needs to setup the AWS AMI or the API tools first. Once the tool is setup the user will need the following credentials: 

AWS account ID; 

AWS access and secret access key; 

X.509 certificate with private key. 

Q12. - (Topic 2) 

A user has setup an RDS DB with Oracle. The user wants to get notifications when someone modifies the 

security group of that DB. How can the user configure that? 

A. It is not possible to get the notifications on a change in the security group 

B. Configure SNS to monitor security group changes 

C. Configure event notification on the DB security group 

D. Configure the CloudWatch alarm on the DB for a change in the security group 

Answer:

Explanation: 

Amazon RDS uses the Amazon Simple Notification Service to provide a notification when an Amazon RDS event occurs. These events can be configured for source categories, such as DB instance, DB security group, DB snapshot and DB parameter group. If the user is subscribed to a Configuration Change category for a DB security group, he will be notified when the DB security group is changed. 

Q13. - (Topic 2) 

A user has created a queue named “myqueue” with SQS. There are four messages published to queue which are not received by the consumer yet. If the user tries to delete the queue, what will happen? 

A. A user can never delete a queue manually. AWS deletes it after 30 days of inactivity on queue 

B. It will delete the queue 

C. It will initiate the delete but wait for four days before deleting until all messages are deleted automatically. 

D. I t will ask user to delete the messages first 

Answer:

Explanation: 

SQS allows the user to move data between distributed components of applications so they can perform different tasks without losing messages or requiring each component to be always available. The user can delete a queue at any time, whether it is empty or not. It is important to note that queues retain messages for a set period of time. By default, a queue retains messages for four days. 

Q14. - (Topic 1) 

When an EC2 instance that is backed by an S3-based AMI Is terminated, what happens to the data on me root volume? 

A. Data is automatically saved as an E8S volume. 

B. Data is automatically saved as an ESS snapshot. 

C. Data is automatically deleted. 

D. Data is unavailable until the instance is restarted. 

Answer:

Explanation: Reference: 

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html 

Q15. - (Topic 3) 

Which services allow the customer to retain run administrative privileges or the undertying EC2 instances? Choose 2 answers 

A. AWS Elastic Beanstalk 

B. Amazon Elastic Map Reduce 

C. Elastic Load Balancing 

D. Amazon Relational Database Service 

E. Amazon Elasti Cache 

Answer: A,B 

Q16. - (Topic 3) 

An organization has setup multiple IAM users. The organization wants that each IAM user accesses the IAM console only within the organization and not from outside. How can it achieve this? 

A. Create an IAM policy with the security group and use that security group for AWS console login 

B. Create an IAM policy with a condition which denies access when the IP address range is not from the organization 

C. Configure the EC2 instance security group which allows traffic only from the organization’s IP range 

D. Create an IAM policy with VPC and allow a secure gateway between the organization and AWS Console 

Answer:

Explanation: 

AWS Identity and Access Management is a web service which allows organizations to manage users and user permissions for various AWS services. The user can add conditions as a part of the IAM policies. The condition can be set on AWS Tags, Time, and Client IP as well as on many other parameters. If the organization wants the user to access only from a specific IP range, they should set an IAM policy condition which denies access when the IP is not in a certain range. E.g. The sample policy given below denies all traffic when the IP is not in a certain range. 

"Statement": [{ 

"Effect": "Deny", 

"Action": "*", 

"Resource": "*", 

"Condition": { 

"NotIpAddress": { 

"aws:SourceIp": ["10.10.10.0/24", "20.20.30.0/24"] 

}] 

START AWS-SysOps EXAM