AWS-SysOps Premium Bundle

AWS-SysOps Premium Bundle

AWS Certified SysOps Administrator Associate Certification Exam

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

Amazon AWS-SysOps Free Practice Questions

Q1. - (Topic 1) 

What would happen to an RDS (Relational Database Service) multi-Availability Zone deployment of the primary OB instance fails? 

A. The IP of the primary DB instance is switched to the standby OB instance 

B. The RDS (Relational Database Service) DB instance reboots 

C. A new DB instance is created in the standby availability zone 

D. The canonical name record (CNAME) is changed from primary to standby 

Answer:

Q2. - (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. 

Q3. - (Topic 3) 

An organization has created 10 IAM users. The organization wants each of the IAM users to have access to a separate DyanmoDB table. All the users are added to the same group and the organization wants to setup a group level policy for this. How can the organization achieve this? 

A. Define the group policy and add a condition which allows the access based on the IAM name 

B. Create a DynamoDB table with the same name as the IAM user name and define the policy rule which grants access based on the DynamoDB ARN using a variable 

C. Create a separate DynamoDB database for each user and configure a policy in the group based on the DB variable 

D. It is not possible to have a group level policy which allows different IAM users to different DynamoDB Tables 

Answer:

Explanation: 

AWS Identity and Access Management is a web service which allows organizations to manage users and user permissions for various AWS services. AWS DynamoDB has only tables and the organization cannot makeseparate databases. The organization should create a table with the same name as the IAM user name and use the ARN of DynamoDB as part of the group policy. The sample policy is shown below: 

"Version": "2012-10-17", 

"Statement": [{ 

"Effect": "Allow", 

"Action": ["dynamodb:*"], 

"Resource": "arn:aws:dynamodb:region:account-number-without-hyphens:table/${aws:username}" 

Q4. - (Topic 3) 

A user has configured ELB with two EBS backed instances. The user has stopped the instances for 1 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? 

A. There is no way to register the stopped instances with ELB 

B. The user cannot stop the instances if they are registered with ELB 

C. If the instances have the same Elastic IP assigned after reboot they will be registered with ELB 

D. The instances will automatically get registered with ELB 

Answer:

Explanation: 

Elastic Load Balancing registers the user’s load balancer with his EC2 instance using the associated IP address. When the instances are stopped and started back they will have a different IP address. Thus, they will not get registered with ELB unless the user manually registers them. If the instances are assigned the same Elastic IP after reboot they will automatically get registered with ELB. 

Q5. - (Topic 1) 

Your EC2-Based Multi-tier application includes a monitoring instance that periodically makes application -level read only requests of various application components and if any of those fail more than three times 30 seconds calls CloudWatch lo fire an alarm, and the alarm notifies your operations team by email and SMS of a possible application health problem. However, you also need to watch the watcher -the monitoring instance itself - and be notified if it becomes unhealthy. 

Which of the following is a simple way to achieve that goal? 

A. Run another monitoring instance that pings the monitoring instance and fires a could watch alarm mat notifies your operations teamshould the primary monitoring instance become unhealthy. 

B. Set a CloudWatch alarm based on EC2 system and instance status checks and have the alarm notify your operations team of any detected problem with the monitoring instance. 

C. Set a CloudWatch alarm based on the CPU utilization of the monitoring instance and nave the alarm notify your operations team if C r the CPU usage exceeds 50% few more than one minute: then have your monitoring application go into a CPU-bound loop should it Detect any application problems. 

D. Have the monitoring instances post messages to an SOS queue and then dequeue those messages on another instance should the queue cease to have new messages, the second instance should first terminate the original monitoring instance start anotherbackup monitoring instance and assume (he role of the previous monitoring instance and beginning adding messages to the SQSqueue. 

Answer:

Q6. - (Topic 2) 

A user is trying to aggregate all the CloudWatch metric data of the last 1 week. Which of the below mentioned statistics is not available for the user as a part of data aggregation? 

A. Aggregate 

B. Sum 

C. Sample data 

D. Average 

Answer:

Explanation: 

Amazon CloudWatch is basically a metrics repository. Either the user can send the custom data or an AWS product can put metrics into the repository, and the user can retrieve the statistics based on those metrics. The statistics are metric data aggregations over specified periods of time. Aggregations are made using the namespace, metric name, dimensions, and the data point unit of measure, within the time period that is specified by the user. CloudWatch supports Sum, Min, Max, Sample Data and Average statistics aggregation. 

Q7. - (Topic 2) 

A user has created a VPC with CIDR 20.0.0.0/16. The user has created public and VPN only subnets along with hardware VPN access to connect to the user’s datacenter. The user wants to make so that all traffic coming to the public subnet follows the organization’s proxy policy. How can the user make this happen? 

A. Setting up a NAT with the proxy protocol and configure that the public subnet receives traffic from NAT 

B. Settin up a proxy policy in the internet gateway connected with the public subnet 

C. It is not possible to setup the proxy policy for a public subnet 

D. Setting the route table and security group of the public subnet which receives traffic from a virtual private gateway 

Answer:

Explanation: 

The user can create subnets within a VPC. If the user wants to connect to VPC from his own data centre, he can setup public and VPN only subnets which uses hardware VPN access to connect with his data centre. When the user has configured this setup, it will update the main route table used with the VPN-only subnet, create a custom route table and associate it with the public subnet. It also creates an internet gateway for the public subnet. By default the internet traffic of the VPN subnet is routed to a virtual private gateway while the internet traffic of the public subnet is routed through the internet gateway. The user can set up the route and security group rules. These rules enable the traffic to come from the organization’s network over the virtual private gateway to the public subnet to allow proxy settings on that public subnet. 

Q8. - (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. 

Q9. - (Topic 3) 

A user has created a launch configuration for Auto Scaling where CloudWatch detailed monitoring is disabled. The user wants to now enable detailed monitoring. How can the user achieve this? 

A. Update the Launch config with CLI to set InstanceMonitoringDisabled = false 

B. The user should change the Auto Scaling group from the AWS console to enable detailed monitoring 

C. Update the Launch config with CLI to set InstanceMonitoring.Enabled = true 

D. Create a new Launch Config with detail monitoring enabled and update the Auto Scaling group 

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 the AutoScaling launch config as the first step for creating an Auto Scaling group, each launch configuration contains a flag named InstanceMonitoring.Enabled. The default value of this flag is true. When the user has created a launch configuration with InstanceMonitoring.Enabled = false it will involve multiple steps to enable detail monitoring. The steps are: Create a new Launch config with detailed monitoring enabled Update the Auto Scaling group with a new launch config Enable detail monitoring on each EC2 instance 

Q10. - (Topic 2) 

A user has created a web application with Auto Scaling. The user is regularly monitoring the application and he observed that the traffic is highest on Thursday and Friday between 8 AM to 6 PM. What is the best solution to handle scaling in this case? 

A. Add a new instance manually by 8 AM Thursday and terminate the same by 6 PM Friday 

B. Schedule Auto Scaling to scale up by 8 AM Thursday and scale down after 6 PM on Friday 

C. Schedule a policy which may scale up every day at 8 AM and scales down by 6 PM 

D. Configure a batch process to add a instance by 8 AM and remove it by Friday 6 PM 

Answer:

Explanation: 

Auto Scaling based on a schedule allows the user to scale the application in response to predictable load changes. In this case the load increases by Thursday and decreases by Friday. Thus, the user can setup the scaling activity based on the predictable traffic patterns of the web application using Auto Scaling scale by Schedule. 

Q11. - (Topic 2) 

A system admin is planning to setup event notifications on RDS. Which of the below mentioned services will help the admin setup notifications? 

A. AWS SES 

B. AWS Cloudtrail 

C. AWS Cloudwatch 

D. AWS SNS 

Answer:

Explanation: 

Amazon RDS uses the Amazon Simple Notification Service to provide a notification when an Amazon RDS event occurs. These notifications can be in any notification form supported by Amazon SNS for an AWS region, such as an email, a text message or a call to an HTTP endpoint 

Q12. - (Topic 3) 

An organization has configured Auto Scaling with ELB. One of the instance health check returns the status as Impaired to Auto Scaling. What will Auto Scaling do in this scenario? 

A. Perform a health check until cool down before declaring that the instance has failed 

B. Terminate the instance and launch a new instance 

C. Notify the user using SNS for the failed state 

D. Notify ELB to stop sending traffic to the impaired instance 

Answer:

Explanation: 

The Auto Scaling group determines the health state of each instance periodically by checking the results of the Amazon EC2 instance status checks. If the instance status description shows any other state other than “running” or the system status description shows impaired, Auto Scaling considers the instance to be unhealthy. Thus, it terminates the instance and launches a replacement. 

Q13. - (Topic 3) 

A user has created a VPC with public and private subnets. The VPC has CIDR 20.0.0.0/16. The private subnet uses CIDR 20.0.1.0/24 and the public subnet uses CIDR 20.0.0.0/24. The user is planning to host a web server in the public subnet (port 80. and a DB server in the private subnet (port 3306.. The user is configuring a security group of the NAT instance. Which of the below mentioned entries is not required for the NAT security group? 

A. For Inbound allow Source: 20.0.1.0/24 on port 80 

B. For Outbound allow Destination: 0.0.0.0/0 on port 80 

C. For Inbound allow Source: 20.0.0.0/24 on port 80 

D. For Outbound allow Destination: 0.0.0.0/0 on port 443 

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 to host the web server and DB server respectively, the user should configure that the instances in the private subnet can connect to the internet using the NAT instances. The user should first configure that NAT can receive traffic on ports 80 and 443 from the private subnet. Thus, allow ports 80 and 443 in Inbound for the private subnet 20.0.1.0/24. Now to route this traffic to the internet configure ports 80 and Amazon AWS-SysOps : Practice Test 

443 in Outbound with destination 0.0.0.0/0. The NAT should not have an entry for the public subnet CIDR. 

Q14. - (Topic 3) 

A user is measuring the CPU utilization of a private data centre machine every minute. The machine provides the aggregate of data every hour, such as Sum of data”, “Min value”, “Max value, and “Number of Data points”. 

The user wants to send these values to CloudWatch. How can the user achieve this? 

A. Send the data using the put-metric-data command with the aggregate-values parameter 

B. Send the data using the put-metric-data command with the average-values parameter 

C. Send the data using the put-metric-data command with the statistic-values parameter 

D. Send the data using the put-metric-data command with the aggregate –data parameter 

Answer:

Explanation: 

AWS CloudWatch supports the custom metrics. The user can always capture the custom data and upload the data to CloudWatch using CLI or APIs. The user can publish the data to CloudWatch as single data points or as an aggregated set of data points called a statistic set using the command put-metric-data. When sending the aggregate data, the user needs to send it with the parameter statistic-values: awscloudwatch put-metric-data --metric-name <Name> --namespace <Custom namespace> --timestamp <UTC Format> --statistic-values Sum=XX,Minimum=YY,Maximum=AA,SampleCount=BB --unit Milliseconds 

Q15. - (Topic 1) 

When an EC2 EBS-backed (EBS root) instance is stopped, what happens to the data on any ephemeral store volumes? 

A. Data will be deleted and win no longer be accessible 

B. Data is automatically saved in an EBS volume. 

C. Data is automatically saved as an EBS snapshot 

D. Data is unavailable until the instance is restarted 

Answer:

Q16. - (Topic 3) 

A user is configuring the Multi AZ feature of an RDS DB. The user came to know that this RDS DB does not use the AWS technology, but uses server mirroring to achieve HA. Which DB is the user using right now? 

A. My SQL 

B. Oracle 

C. MS SQL 

D. PostgreSQL 

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. Multi AZ deployments for Oracle, PostgreSQL, and MySQL DB instances use Amazon technology, while SQL Server (MS SQL. DB instances use SQL Server Mirroring. 

START AWS-SysOps EXAM