AWS-SysOps Premium Bundle

AWS-SysOps Premium Bundle

AWS Certified SysOps Administrator Associate Certification Exam

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

Amazon AWS-SysOps Free Practice Questions

Q1. - (Topic 2) 

A user has launched an EBS backed instance. The user started the instance at 9 AM in the morning. Between 9 AM to 10 AM, the user is testing some script. Thus, he stopped the instance twice and restarted it. In the same hour the user rebooted the instance once. For how many instance hours will AWS charge the user? 

A. 3 hours 

B. 4 hours 

C. 2 hours 

D. 1 hour 

Answer:

Explanation: 

A user can stop/start or reboot an EC2 instance using the AWS console, the Amazon EC2 CLI or the Amazon EC2 API. Rebooting an instance is equivalent to rebooting an operating system. When the instance is rebooted AWS will not charge the user for the extra hours. In case the user stops the instance, AWS does not charge the running cost but charges only the EBS storage cost. If the user starts and stops the instance multiple times in a single hour, AWS will charge the user for every start and stop. In this case, since the instance was rebooted twice, it will cost the user for 3 instance hours. 

Q2. - (Topic 2) 

A root account owner has created an S3 bucket testmycloud. The account owner wants to allow everyone to upload the objects as well as enforce that the person who uploaded the object should manage the permission of those objects. Which is the easiest way to achieve this? 

A. The root account owner should create a bucket policy which allows the IAM users to upload the object 

B. The root account owner should create the bucket policy which allows the other account owners to set the object policy of that bucket 

C. The root account should use ACL with the bucket to allow everyone to upload the object 

D. The root account should create the IAM users and provide them the permission to upload content to the bucket 

Answer:

Explanation: 

Each AWS S3 bucket and object has an ACL (Access Control List. associated with it. An ACL is a list of grants identifying the grantee and the permission granted. The user can use ACLs to grant basic read/write permissions to other AWS accounts. ACLs use an Amazon S3–specific XML schema. The user cannot grant permissions to other users in his account. ACLs are suitable for specific scenarios. For example, if a bucket owner allows other AWS accounts to upload objects, permissions to these objects can only be managed using the object ACL by the AWS account that owns the object. 

Q3. - (Topic 3) 

A user has enabled session stickiness with ELB. The user does not want ELB to manage the cookie; instead he wants the application to manage the cookie. What will happen when the server instance, which is bound to a cookie, crashes? 

A. The response will have a cookie but stickiness will be deleted 

B. The session will not be sticky until a new cookie is inserted 

C. ELB will throw an error due to cookie unavailability D. The session will be sticky and ELB will route requests to another server as ELB keeps replicating the Cookie 

Answer:

Explanation: 

With Elastic Load Balancer, if the admin has enabled a sticky session with application controlled stickiness, the load balancer uses a special cookie generated by the application to associate the session with the original server which handles the request. ELB follows the lifetime of the application-generated cookie corresponding to the cookie name specified in the ELB policy configuration. The load balancer only inserts a new stickiness cookie if the application response includes a new application cookie. The load balancer stickiness cookie does not update with each request. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued. 

Q4. - (Topic 3) 

You have a proprietary data store on-premises that must be backed up daily by dumping the data store contents to a single compressed 50GB file and sending the file to AWS. Your SLAs state that any dump file backed up within the past 7 days can be retrieved within 2 hours. Your compliance department has stated that all data must be held indefinitely. The time required to restore the data store from a backup is approximately 1 hour. Your on-premise network connection is capable of sustaining 1gbps to AWS. 

Which backup methods to AWS would be most cost-effective while still meeting all of your requirements? 

A. Send the daily backup files to Glacier immediately after being generated 

B. Transfer the daily backup files to an EBS volume in AWS and take daily snapshots of the volume 

C. Transfer the daily backup files to S3 and use appropriate bucket lifecycle policies to send to Glacier 

D. Host the backup files on a Storage Gateway with Gateway-Cached Volumes and take daily snapshots 

Answer:

Explanation: Reference: 

http://aws.amazon.com/storagegateway/faqs/ 

Q5. - (Topic 3) 

A user has configured ELB with SSL using a security policy for secure negotiation between the client and load balancer. Which of the below mentioned SSL protocols is not supported by the security policy? 

A. TLS 1.3 

B. TLS 1.2 

C. SSL 2.0 

D. SSL 3.0 

Answer:

Explanation: 

Elastic Load Balancing uses a Secure Socket Layer (SSL. negotiation configuration which is known as a Security Policy. It is used to negotiate the SSL connections between a client and the load balancer. Elastic Load Balancing supports the following versions of the SSL protocol: TLS 1.2 TLS 1.1 TLS 1.0 SSL 3.0 SSL 2.0 

Q6. - (Topic 1) 

You use S3 to store critical data for your company Several users within your group currently have lull permissions to your S3 buckets You need to come up with a solution mat does not impact your users and also protect against the accidental deletion of objects. 

Which two options will address this issue? Choose 2 answers 

A. Enable versioning on your S3 Buckets 

B. Configure your S3 Buckets with MFA delete 

C. Create a Bucket policy and only allow read only permissions to all users at the bucket level 

D. Enable object life cycle policies and configure the data older than 3 months to be archived in Glacier 

Answer: A,B 

Q7. - (Topic 3) 

A user has configured ELB with a TCP listener at ELB as well as on the back-end instances. The user wants to enable a proxy protocol to capture the source and destination IP information in the header. Which of the below mentioned statements helps the user understand a proxy protocol with TCP configuration? 

A. If the end user is requesting behind a proxy server then the user should not enable a proxy protocol on ELB 

B. ELB does not support a proxy protocol when it is listening on both the load balancer and the back-end instances 

C. Whether the end user is requesting from a proxy server or directly, it does not make a difference for the proxy protocol 

D. If the end user is requesting behind the proxy then the user should add the “isproxy” flag to the ELB Configuration 

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. If the end user is requesting from a Proxy Protocol enabled proxy server, then the ELB admin should not enable the Proxy Protocol on the load balancer. If the Proxy Protocol is enabled on both the proxy server and the load balancer, the load balancer will add another header to the request which already has a header from the proxy server. This duplication may result in errors. 

Q8. - (Topic 1) 

You have a web-style application with a stateless but CPU and memory-intensive web tier running on a cc2 8xlarge EC2 instance inside of a VPC The instance when under load is having problems returning requests within the SLA as defined by your business The application maintains its state in a DynamoDB table, but the data tier is properly provisioned and responses are consistently fast. 

How can you best resolve the issue of the application responses not meeting your SLA? 

A. Add another cc2 8xlarge application instance, and put both behind an Elastic Load Balancer 

B. Move the cc2 8xlarge to the same Availability Zone as the DynamoDB table 

C. Cache the database responses in ElastiCache for more rapid access 

D. Move the database from DynamoDB to RDS MySQL in scale-out read-replica configuration 

Answer:

Explanation: Reference: 

http://aws.amazon.com/elasticmapreduce/faqs/ 

Q9. - (Topic 3) 

An organization has created a Queue named “modularqueue” with SQS. The organization is not performing any operations such as SendMessage, ReceiveMessage, DeleteMessage, GetQueueAttributes, SetQueueAttributes, AddPermission, and RemovePermission on the queue. What can happen in this scenario? 

A. AWS SQS sends notification after 15 days for inactivity on queue 

B. AWS SQS can delete queue after 30 days without notification 

C. AWS SQS marks queue inactive after 30 days 

D. AWS SQS notifies the user after 2 weeks and deletes the queue after 3 weeks. 

Answer:

Explanation: 

Amazon SQS can delete a queue without notification if one of the following actions hasn't been performed on it for 30 consecutive days: SendMessage, ReceiveMessage, DeleteMessage, GetQueueAttributes, SetQueueAttributes, AddPermission, and RemovePermission. 

Q10. - (Topic 2) 

A user has created a subnet with VPC and launched an EC2 instance in that subnet with only default settings.Which of the below mentioned options is ready to use on the EC2 

instance as soon as it is launched? 

A. Elastic IP 

B. Private IP 

C. Public IP 

D. I nternet gateway 

Answer:

Explanation: 

A Virtual Private Cloud (VPC. is a virtual network dedicated to a user’s AWS account. A subnet is a range of IP addresses in the VPC. The user can launch the AWS resources into a subnet. There are two supported platforms into which a user can launch instances: EC2-Classic and EC2-VPC. When the user launches an instance which is not a part of the non-default subnet, it will only have a private IP assigned to it. The instances part of a subnet can communicate with each other but cannot communicate over the internet or to the AWS services, such as RDS / S3. 

Q11. - (Topic 1) 

You have an Auto Scaling group associated with an Elastic Load Balancer (ELB). You have noticed that instances launched via the Auto Scaling group are being marked unhealthy due to an ELB health check, but these unhealthy instances are not being terminated 

What do you need to do to ensure trial instances marked unhealthy by the ELB will be terminated and replaced? 

A. Change the thresholds set on the Auto Scaling group health check 

B. Add an Elastic Load Balancing health check to your Auto Scaling group 

C. Increase the value for the Health check interval set on the Elastic Load Balancer 

D. Change the health check set on the Elastic Load Balancer to use TCP rather than HTTP checks 

Answer:

Explanation: Reference: 

http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-add-elb-healthcheck.html 

Add an Elastic Load Balancing Health Check to your Auto Scaling Group 

By default, an Auto Scaling group periodically reviews the results of EC2 instance status to determine the health state of each instance. However, if you have associated your Auto Scaling group with an Elastic Load Balancing load balancer, you can choose to use the Elastic Load Balancing health check. In this case, Auto Scaling determines the health status of your instances by checking the results of both the EC2 instance status check and the Elastic Load Balancing instance health check. 

For information about EC2 instance status checks, see.Monitor Instances With Status Checks.in the.Amazon EC2 User Guide for Linux Instances. For information about Elastic Load Balancing health checks, see.Health Check.in the.Elastic Load Balancing Developer Guide. 

This topic shows you how to add an Elastic Load Balancing health check to your Auto Scaling group, assuming that you have created a load balancer and have registered the load balancer with your Auto Scaling group. If you have not registered the load balancer with your Auto Scaling group, see.Set Up a Scaled and Load-Balanced Application. 

Auto Scaling marks an instance unhealthy if the calls to the Amazon EC2 action.DescribeInstanceStatus.return any state other than.running, the system status shows.impaired, or the calls to Elastic Load Balancing action.DescribeInstanceHealth.returns.OutOfService.in the instance state field. 

If there are multiple load balancers associated with your Auto Scaling group, Auto Scaling checks the health state of your EC2 instances by making health check calls to each load balancer. For each call, if the Elastic Load Balancing action returns any state other than.InService, the instance is marked as unhealthy. After Auto Scaling marks an instance as unhealthy, it remains in that state, even if subsequent calls from other load balancers return an.InService.state for the same instance. 

Q12. - (Topic 2) 

A user wants to make so that whenever the CPU utilization of the AWS EC2 instance is above 90%, the redlight of his bedroom turns on. Which of the below mentioned AWS services is helpful for this purpose? 

A. AWS CloudWatch + AWS SES 

B. AWS CloudWatch + AWS SNS 

C. None. It is not possible to configure the light with the AWS infrastructure services 

D. AWS CloudWatch and a dedicated software turning on the light 

Answer:

Explanation: 

Amazon Simple Notification Service (Amazon SNS. is a fast, flexible, and fully managed push messaging service. Amazon SNS can deliver notifications by SMS text message or email to the Amazon Simple Queue Service (SQS. queues or to any HTTP endpoint. The user can configure some sensor devices at his home which receives data on the HTTP end point (REST calls. and turn on the red light. The user can configure the CloudWatch alarm to send a notification to the AWS SNS HTTP end point (the sensor device. and it will turn the light red when there is an alarm condition. 

Q13. - (Topic 3) 

A user has granted read/write permission of his S3 bucket using ACL. Which of the below mentioned options is a valid ID to grant permission to other AWS accounts (grantee. using ACL? 

A. IAM User ID 

B. S3 Secure ID 

C. Access ID 

D. Canonical user ID 

Answer:

Explanation: 

An S3 bucket ACL grantee can be an AWS account or one of the predefined Amazon S3 groups. The user can grant permission to an AWS account by the email address of that account or by the canonical user ID. If the user provides an email in the grant request, Amazon S3 finds the canonical user ID for that account and adds it to the ACL. The resulting ACL will always contain the canonical user ID for the AWS account, and not the AWS account's email address. 

Q14. - (Topic 3) 

Amazon EBS snapshots have which of the following two characteristics? (Choose 2.) Choose 2 answers 

A. EBS snapshots only save incremental changes from snapshot to snapshot 

B. EBS snapshots can be created in real-time without stopping an EC2 instance 

C. EBS snapshots can only be restored to an EBS volume of the same size or smaller 

D. EBS snapshots can only be restored and mounted to an instance in the same Availability Zone as the original EBS volume 

Answer: A,D 

Q15. - (Topic 3) 

A user is trying to create a PIOPS EBS volume with 4000 IOPS and 100 GB size. AWS does not allow the user to create this volume. What is the possible root cause for this? 

A. The ratio between IOPS and the EBS volume is higher than 30 

B. The maximum IOPS supported by EBS is 3000 

C. The ratio between IOPS and the EBS volume is lower than 50 

D. PIOPS is supported for EBS higher than 500 GB size 

Answer:

Explanation: 

A provisioned IOPS EBS volume can range in size from 10 GB to 1 TB and the user can provision up to 4000 IOPS per volume. The ratio of IOPS provisioned to the volume size requested should be a maximum of 30; for example, a volume with 3000 IOPS must be at least 100 GB. 

Q16. - (Topic 3) 

A user has launched an RDS MySQL DB with the Multi AZ feature. The user has scheduled the scaling of 

instance storage during maintenance window. What is the correct order of events during maintenance window? 

Perform maintenance on standby 

Promote standby to primary 

Perform maintenance on original primary 

Promote original master back as primary 

A. 1, 2, 3, 4 

B. 1, 2, 3 

C. 2, 3, 1, 4 

Answer:

Explanation: 

Running MySQL on the RDS DB instance as a Multi-AZ deployment can help the user reduce the impact of a maintenance event, as the Amazon will conduct maintenance by following the steps in the below mentioned order: Perform maintenance on standby Promote standby to primary Perform maintenance on original primary, which becomes the new standby. 

START AWS-SysOps EXAM