AWS-SysOps Premium Bundle

AWS-SysOps Premium Bundle

AWS Certified SysOps Administrator Associate Certification Exam

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

Amazon AWS-SysOps Free Practice Questions

Q1. - (Topic 3) 

A user has created a VPC with public and private subnets using the VPC wizard. The VPC has CIDR 

20.0.0.0/16. The private subnet uses CIDR 20.0.0.0/24 . The NAT instance ID is i-a12345. Which of the below mentioned entries are required in the main route table attached with the private subnet to allow instances to connect with the internet? 

A. Destination: 0.0.0.0/0 and Target: i-a12345 

B. Destination: 20.0.0.0/0 and Target: 80 

C. Destination: 20.0.0.0/0 and Target: i-a12345 

D. Destination: 20.0.0.0/24 and Target: i-a12345 

Answer:

Explanation: 

A user can create a subnet with VPC and launch instances inside that subnet. If the user has created a public private subnet, the instances in the public subnet can receive inbound traffic directly from the Internet, whereas the instances in the private subnet cannot. If these subnets are created with Wizard, AWS will create two route tables and attach to the subnets. The main route table will have the entry “Destination: 0.0.0.0/0 and Target: ia12345”, which allows all the instances in the private subnet to connect to the internet using NAT. 

Q2. - (Topic 3) 

A user is creating a Cloudformation stack. Which of the below mentioned limitations does not hold true for 

Cloudformation? 

A. One account by default is limited to 100 templates 

B. The user can use 60 parameters and 60 outputs in a single template 

C. The template, parameter, output, and resource description fields are limited to 4096 characters 

D. One account by default is limited to 20 stacks 

Answer:

Explanation: 

AWS Cloudformation is an application management tool which provides application modelling, deployment, configuration, management and related activities. The limitations given below apply to the Cloudformation template and stack. There are no limits to the number of templates but each AWS CloudFormation account is limited to a maximum of 20 stacks by default. The Template, Parameter, Output, and Resource description fields are limited to 4096 characters. The user can include up to 60 parameters and 60 outputs in a template. 

Q3. - (Topic 3) 

A user has configured an SSL listener at ELB as well as on the back-end instances. Which of the below 

mentioned statements helps the user understand ELB traffic handling with respect to the SSL listener? 

A. It is not possible to have the SSL listener both at ELB and back-end instances 

B. ELB will modify headers to add requestor details 

C. ELB will intercept the request to add the cookie details if sticky session is enabled 

D. ELB will not modify the headers 

Answer:

Explanation: 

When the user has configured Transmission Control Protocol (TCP. or Secure Sockets Layer (SSL. for both front-end and back-end connections of the Elastic Load Balancer, the load balancer forwards the request to the back-end instances without modifying the request headers unless the proxy header is enabled. SSL does not support sticky sessions. If the user has enabled a proxy protocol it adds the source and destination IP to the header. 

Q4. - (Topic 3) 

A user has created a subnet in VPC and launched an EC2 instance within it. The user has not selected the option to assign the IP address while launching the instance. Which of the 

below mentioned statements is true with respect to this scenario? 

A. The instance will always have a public DNS attached to the instance by default 

B. The user can directly attach an elastic IP to the instance 

C. The instance will never launch if the public IP is not assigned 

D. The user would need to create an internet gateway and then attach an elastic IP to the instance to connect from internet 

Answer:

Explanation: 

A Virtual Private Cloud (VPC. is a virtual network dedicated to the user’s AWS account. A user can create a subnet with VPC and launch instances inside that subnet. When the user is launching an instance he needs to select an option which attaches a public IP to the instance. If the user has not selected the option to attach the public IP then it will only have a private IP when launched. The user cannot connect to the instance from the internet. If the user wants an elastic IP to connect to the instance from the internet he should create an internet gateway and assign an elastic IP to instance. 

Q5. - (Topic 2) 

An organization has configured the custom metric upload with CloudWatch. The organization has given permission to its employees to upload data using CLI as well SDK. How can the user track the calls made to CloudWatch? 

A. The user can enable logging with CloudWatch which logs all the activities 

B. Use CloudTrail to monitor the API calls 

C. Create an IAM user and allow each user to log the data using the S3 bucket 

D. Enable detailed monitoring with CloudWatch 

Answer:

Explanation: 

AWS CloudTrail is a web service which will allow the user to monitor the calls made to the Amazon CloudWatch API for the organization’s account, including calls made by the AWS Management Console, Command Line Interface (CLI., and other services. When CloudTrail logging is turned on, CloudWatch will write log files into the Amazon S3 bucket, which is specified during the CloudTrail configuration. 

Q6. - (Topic 3) 

Which method can be used to prevent an IP address block from accessing public objects in an S3 bucket? 

A. Create a bucket policy and apply it to the bucket 

B. Create a NACL and attach it to the VPC of the bucket 

C. Create an ACL and apply it to all objects in the bucket 

D. Modify the IAM policies of any users that would access the bucket 

Answer:

Explanation: Reference: 

http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html 

Q7. - (Topic 2) 

A user is trying to delete an Auto Scaling group from CLI. Which of the below mentioned steps are to be performed by the user? 

A. Terminate the instances with the ec2-terminate-instance command 

B. Terminate the Auto Scaling instances with the as-terminate-instance command 

C. Set the minimum size and desired capacity to 0 

D. There is no need to change the capacity. Run the as-delete-group command and it will reset all values to 0 

Answer:

Explanation: 

If the user wants to delete the Auto Scaling group, the user should manually set the values of the minimum and desired capacity to 0. Otherwise Auto Scaling will not allow for the deletion of the group from CLI. While trying from the AWS console, the user need not set 

the values to 0 as the Auto Scaling console will automatically do so. 

Q8. - (Topic 2) 

A user has created a queue named “myqueue” in US-East region with AWS SQS. The user’s AWS account ID is 123456789012. If the user wants to perform some action on this queue, which of the below Queue URL should he use? 

A. http://sqs.us-east-1.amazonaws.com/123456789012/myqueue 

B. http://sqs.amazonaws.com/123456789012/myqueue 

C. http://sqs. 123456789012.us-east-1.amazonaws.com/myqueue 

D. http:// 123456789012.sqs. us-east-1.amazonaws.com/myqueue 

Answer:

Explanation: 

When creating a new queue in SQS, the user must provide a queue name that is unique within the scope of all queues of user’s account. If the user creates queues using both the latest WSDL and a previous version, he will have a single namespace for all his queues. Amazon SQS assigns each queue created by user an identifier called a queue URL, which includes the queue name and other components that Amazon SQS determines. Whenever the user wants to perform an action on a queue, he must provide its queue URL. The queue URL for the account id 123456789012 & queue name “myqueue” in US-East-1 region will be http:// sqs.us-east-1.amazonaws.com/123456789012/myqueue. 

Q9. - (Topic 3) 

A user is planning to schedule a backup for an EBS volume. The user wants security of the snapshot data. How can the user achieve data encryption with a snapshot? 

A. Use encrypted EBS volumes so that the snapshot will be encrypted by AWS 

B. While creating a snapshot select the snapshot with encryption 

C. By default the snapshot is encrypted by AWS 

D. Enable server side encryption for the snapshot using S3 

Answer:

Explanation: 

AWS EBS supports encryption of the volume. It also supports creating volumes from existing snapshots provided the snapshots are created from encrypted volumes. The data at rest, the I/O as well as all the snapshots of the encrypted EBS will also be encrypted. EBS encryption is based on the AES-256 cryptographic algorithm, which is the industry standard. 

Q10. - (Topic 3) 

Which of the following statements about this S3 bucket policy is true? 

A. Denies the server with the IP address 192.166 100.0 full access to the "mybucket" bucket 

B. Denies the server with the IP address 192.166 100.188 full access to the "mybucket bucket 

C. Grants all the servers within the 192 168 100 0/24 subnet full access to the "mybucket" bucket 

D. Grants all the servers within the 192 168 100 188/32 subnet full access to the "mybucket" bucket 

Answer:

Q11. - (Topic 3) 

The compliance department within your multi-national organization requires that all data for your customers that reside in the European Union (EU) must not leave the EU and also 

data for customers that reside in the US must not leave the US without explicit authorization. 

What must you do to comply with this requirement for a web based profile management application running on EC2? 

A. Run EC2 instances in multiple AWS Availability Zones in single Region and leverage an Elastic Load Balancer with session stickiness to route traffic to the appropriate zone to create their profile 

B. Run EC2 instances in multiple Regions and leverage Route 53's Latency Based Routing capabilities to route traffic to the appropriate region to create their profile 

C. Run EC2 instances in multiple Regions and leverage a third party data provider to determine if a user needs to be redirect to the appropriate region to create their profile 

D. Run EC2 instances in multiple AWS Availability Zones in a single Region and leverage a third party data provider to determine if a user needs to be redirect to the appropriate zone to create their profile 

Answer:

Q12. - (Topic 3) 

A user has launched an EC2 instance. The instance got terminated as soon as it was launched. Which of the below mentioned options is not a possible reason for this? 

A. The user account has reached the maximum EC2 instance limit 

B. The snapshot is corrupt 

C. The AMI is missing. It is the required part 

D. The user account has reached the maximum volume limit 

Answer:

Explanation: 

When the user account has reached the maximum number of EC2 instances, it will not be allowed to launch an instance. AWS will throw an ‘InstanceLimitExceeded’ error. For all other reasons, such as “AMI is missing part”, “Corrupt Snapshot” or ”Volume limit has reached” it will launch an EC2 instance and then terminate it. 

Q13. - (Topic 3) 

A user has created an Auto Scaling group with default configurations from CLI. The user wants to setup the CloudWatch alarm on the EC2 instances, which are launched by the Auto Scaling group. The user has setup an alarm to monitor the CPU utilization every minute. Which of the below mentioned statements is true? 

A. It will fetch the data at every minute but the four data points [corresponding to 4 minutes] will not have value since the EC2 basic monitoring metrics are collected every five minutes 

B. It will fetch the data at every minute as detailed monitoring on EC2 will be enabled by the default launch configuration of Auto Scaling 

C. The alarm creation will fail since the user has not enabled detailed monitoring on the EC2 instances 

D. The user has to first enable detailed monitoring on the EC2 instances to support alarm monitoring at every minute 

Answer:

Explanation: 

CloudWatch is used to monitor AWS as well as the custom services. To enable detailed instance monitoring for a new Auto Scaling group, the user does not need to take any extra steps. When the user creates an Auto Scaling launch config using CLI, each launch configuration contains a flag named InstanceMonitoring.Enabled. The default value of this flag is true. Thus, by default detailed monitoring will be enabled for Auto Scaling as well as for all the instances launched by that Auto Scaling group. 

Q14. - (Topic 3) 

An application you maintain consists of multiple EC2 instances in a default tenancy VPC. This application has undergone an internal audit and has been determined to require dedicated hardware for one instance. Your compliance team has given you a week to move this instance to single-tenant hardware. 

Which process will have minimal impact on your application while complying with this requirement? 

A. Create a new VPC with tenancy=dedicated and migrate to the new VPC 

B. Use ec2-reboot-instances command line and set the parameter "dedicated=true" 

C. Right click on the instance, select properties and check the box for dedicated tenancy 

D. Stop the instance, create an AMI, launch a new instance with tenancy=dedicated, and terminate the old instance 

Answer:

Explanation: Reference: 

http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-CreateVpc.html 

Q15. - (Topic 2) 

A user is planning to evaluate AWS for their internal use. The user does not want to incur any charge on his account during the evaluation. Which of the below mentioned AWS services would incur a charge if used? 

A. AWS S3 with 1 GB of storage 

B. AWS micro instance running 24 hours daily 

C. AWS ELB running 24 hours a day 

D. AWS PIOPS volume of 10 GB size 

Answer:

Explanation: 

AWS is introducing a free usage tier for one year to help the new AWS customers get started in Cloud. The free tier can be used for anything that the user wants to run in the Cloud. AWS offers a handful of AWS services as a part of this which includes 750 hours of free micro instances and 750 hours of ELB. It includes the AWS S3 of 5 GB and AWS EBS general purpose volume upto 30 GB. PIOPS is not part of free usage tier. 

Q16. - (Topic 2) 

An application is generating a log file every 5 minutes. The log file is not critical but may be required only for verification in case of some major issue. The file should be accessible over the internet whenever required. Which of the below mentioned options is a best possible storage solution for it? 

A. AWS S3 

B. AWS Glacier 

C. AWS RDS 

D. AWS RRS 

Answer:

Explanation: 

Amazon S3 stores objects according to their storage class. There are three major storage classes: Standard, Reduced Redundancy Storage and Glacier. Standard is for AWS S3 and provides very high durability. However, the costs are a little higher. Glacier is for archival and the files are not available over the internet. Reduced Redundancy Storage is for less critical files. Reduced Redundancy is little cheaper as it provides less durability in comparison to S3. In this case since the log files are not mission critical files, RRS will be a better option. 

START AWS-SysOps EXAM