Exam4Training

Amazon AWS-SysOps AWS Certified SysOps Administrator – Associate Online Training

Question #1

You are currently hosting multiple applications in a VPC and have logged numerous port scans coming in from a specific IP address block. Your security team has requested that all access from the offending IP address block be denied for the next 24 hours.

Which of the following is the best method to quickly and temporarily deny access from the specified IP address block?

  • A . Create an AD policy to modify Windows Firewall settings on all hosts in the VPC to deny access from the IP address block
  • B . Modify the Network ACLs associated with all public subnets in the VPC to deny access from the IP address block
  • C . Add a rule to all of the VPC 5 Security Groups to deny access from the IP address block
  • D . Modify the Windows Firewall settings on all Amazon Machine Images (AMIs) that your organization uses in that VPC to deny access from the IP address block

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html

Question #2

When preparing for a compliance assessment of your system built inside of AWS.

What are three best-practices for you to prepare for an audit? (Choose three.)

  • A . Gather evidence of your IT operational controls
  • B . Request and obtain applicable third-party audited AWS compliance reports and certifications
  • C . Request and obtain a compliance and security tour of an AWS data center for a pre-assessment security review
  • D . Request and obtain approval from AWS to perform relevant network scans and in-depth penetration tests of your system’s Instances and endpoints
  • E . Schedule meetings with AWS’s third-party auditors to provide evidence of AWS compliance that maps to your control objectives

Reveal Solution Hide Solution

Correct Answer: ABD
Question #3

You have started a new job and are reviewing your company’s infrastructure on AWS You notice one web application where they have an Elastic Load Balancer (&B) in front of web instances in an Auto Scaling Group When you check the metrics for the ELB in CloudWatch you see four healthy instances in Availability Zone (AZ) A and zero in AZ B There are zero unhealthy instances.

What do you need to fix to balance the instances across AZs?

  • A . Set the ELB to only be attached to another AZ
  • B . Make sure Auto Scaling is configured to launch in both AZs
  • C . Make sure your AMI is available in both AZs
  • D . Make sure the maximum size of the Auto Scaling Group is greater than 4

Reveal Solution Hide Solution

Correct Answer: B
Question #4

You have been asked to leverage Amazon VPC BC2 and SOS to implement an application that submits and receives millions of messages per second to a message queue. You want to ensure your application has sufficient bandwidth between your EC2 instances and SQS

Which option will provide the most scalable solution for communicating between the application and SQS?

  • A . Ensure the application instances are properly configured with an Elastic Load Balancer
  • B . Ensure the application instances are launched in private subnets with the EBS-optimized option enabled
  • C . Ensure the application instances are launched in public subnets with the associate-public-IP­address=true option enabled
  • D . Launch application instances in private subnets with an Auto Scaling group and Auto Scaling triggers configured to watch the SQS queue size

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Bandwidth literally means network not IO Bandwidth. Having alerts to scale the Autoscaling is most sophisticated option.

Question #5

You have identified network throughput as a bottleneck on your m1.small EC2 instance when uploading data Into Amazon S3 In the same region.

How do you remedy this situation?

  • A . Add an additional ENI
  • B . Change to a larger Instance
  • C . Use DirectConnect between EC2 and S3
  • D . Use EBS PIOPS on the local volume

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

https://media.amazonwebservices.com/AWS_Amazon_EMR_Best_Practices.pdf

Question #6

When attached to an Amazon VPC, which two components provide connectivity with external networks? (Choose two.)

  • A . Elastic IPS (EIP)
  • B . NAT Gateway (NAT)
  • C . Internet Gateway {IGW)
  • D . Virtual Private Gateway (VGW)

Reveal Solution Hide Solution

Correct Answer: CD
Question #7

Your application currently leverages AWS Auto Scaling to grow and shrink as load Increases/decreases and has been performing well. Your marketing team expects a steady ramp up in traffic to follow an upcoming campaign that will result in a 20x growth in traffic over 4 weeks. Your forecast for the approximate number of Amazon EC2 instances necessary to meet the peak demand is 175.

What should you do to avoid potential service disruptions during the ramp up in traffic?

  • A . Ensure that you have pre-allocated 175 Elastic IP addresses so that each server will be able to obtain one as it launches
  • B . Check the service limits in Trusted Advisor and adjust as necessary so the forecasted count remains within limits.
  • C . Change your Auto Scaling configuration to set a desired capacity of 175 prior to the launch of the marketing campaign
  • D . Pre-warm your Elastic Load Balancer to match the requests per second anticipated during peak demand prior to the marketing campaign

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Amazon ELB is able to handle the vast majority of use cases for our customers without requiring “pre­warming” (configuring the load balancer to have the appropriate level of capacity based on expected traffic).

Reference: https://aws.amazon.com/articles/1636185810492479#pre-warming

Question #8

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

Reveal Solution Hide Solution

Correct Answer: A
Question #9

Which two AWS services provide out-of-the-box user configurable automatic backup-as-a-service and backup rotation options? (Choose two.)

  • A . Amazon S3
  • B . Amazon RDS
  • C . Amazon EBS
  • D . Amazon Red shift

Reveal Solution Hide Solution

Correct Answer: BD
BD

Explanation:

By default, and at no additional charge, Amazon RDS enables automated backups of your DB Instance with a 1-day retention period.

By default, Amazon Redshift enables automated backups of your data warehouse cluster with a 1-day retention period.

Question #10

An organization has configured a VPC with an Internet Gateway (IGW). pairs of public and private subnets (each with one subnet per Availability Zone), and an Elastic Load Balancer (ELB) configured to use the public subnets. The application s web tier leverages the ELB. Auto Scaling and a mum-AZ RDS database instance The organization would like to eliminate any potential single points ft failure in this design.

What step should you take to achieve this organization’s objective?

  • A . Nothing, there are no single points of failure in this architecture.
  • B . Create and attach a second IGW to provide redundant internet connectivity.
  • C . Create and configure a second Elastic Load Balancer to provide a redundant load balancer.
  • D . Create a second multi-AZ RDS instance in another Availability Zone and configure replication to provide a redundant database.

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

You need multiple ELB if you want HA across regions. “AWS Load Balancer CCross Network Many times it happens that after setting up your ELB, you experience significant drops in your performance. The best way to handle this situation is to start with identifying whether your ELB is single AZ or multiple AZ, as single AZ ELB is also considered as one of the Single Points of Failures on AWS Cloud. Once you identify your ELB, it is necessary to make sure ELB loads are kept cross regions.”

Reference: https://www.botmetric.com/blog/eliminating-single-points-of-failures-on-aws-cloud/

Question #11

Which of the following are characteristics of Amazon VPC subnets? (Choose two.)

  • A . Each subnet maps to a single Availability Zone
  • B . A CIDR block mask of /25 is the smallest range supported
  • C . Instances in a private subnet can communicate with the internet only if they have an Elastic IP.
  • D . By default, all subnets can route between each other, whether they are private or public
  • E . V Each subnet spans at least 2 Availability zones to provide a high-availability environment

Reveal Solution Hide Solution

Correct Answer: AD
AD

Explanation:

“Each subnet must reside entirely within one Availability Zone and cannot span zones.” “Every subnet that you create is automatically associated with the main route table for the VPC.”

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html

Question #12

You are creating an Auto Scaling group whose Instances need to insert a custom metric into CloudWatch.

Which method would be the best way to authenticate your CloudWatch PUT request?

  • A . Create an IAM role with the Put MetricData permission and modify the Auto Scaling launch configuration to launch instances in that role
  • B . Create an IAM user with the PutMetricData permission and modify the Auto Scaling launch configuration to inject the userscredentials into the instance User Data
  • C . Modify the appropriate Cloud Watch metric policies to allow the Put MetricData permission to instances from the Auto Scaling group
  • D . Create an IAM user with the PutMetricData permission and put the credentials in a private repository and have applications on the server pull the credentials as needed

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

Creates an IAM role is always the best practice to give permissions to EC2 instances in order to interact with other AWS services

Question #13

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.

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

We recommend that you use AMIs backed by Amazon EBS, because they launch faster and use persistent storage.

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/RootDeviceStorage.html#choose-an-ami-by-root­device

Question #14

You have a web application leveraging an Elastic Load Balancer (ELB) In front of the web servers deployed using an Auto Scaling Group Your database is running on Relational Database Service (RDS) The application serves out technical articles and responses to them in general there are more views of an article than there are responses to the article. On occasion, an article on the site becomes extremely popular resulting in significant traffic Increases that causes the site to go down.

What could you do to help alleviate the pressure on the infrastructure while maintaining availability during these events? (Choose three.)

  • A . Leverage CloudFront for the delivery of the articles.
  • B . Add RDS read-replicas for the read traffic going to your relational database
  • C . Leverage ElastiCache for caching the most frequently used data.
  • D . Use SOS to queue up the requests for the technical posts and deliver them out of the queue.
  • E . Use Route53 health checks to fail over to an S3 bucket for an error page.

Reveal Solution Hide Solution

Correct Answer: ABC
Question #15

The majority of your Infrastructure is on premises and you have a small footprint on AWS Your company has decided to roll out a new application that is heavily dependent on low latency connectivity to LOAP for authentication Your security policy requires minimal changes to the company’s existing application user management processes.

What option would you implement to successfully launch this application1?

  • A . Create a second, independent LOAP server in AWS for your application to use for authentication
  • B . Establish a VPN connection so your applications can authenticate against your existing on-premises LDAP servers
  • C . Establish a VPN connection between your data center and AWS create a LDAP replica on AWS and configure your application to use the LDAP replica for authentication
  • D . Create a second LDAP domain on AWS establish a VPN connection to establish a trust relationship between your new and existing domains and use the new domain for authentication

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

Create read replica(RODC) of main LDAP server so that LDAP read replica or RODC can authenticate with application locally. Creating new domain and trust relationship would require lot of work and changes in exiting ldap configuration so D cannot be answer here.

Question #16

You need to design a VPC for a web-application consisting of an Elastic Load Balancer (ELB). a fleet of web/application servers, and an RDS database. The entire Infrastructure must be distributed over 2 availability zones.

Which VPC configuration works while assuring the database is not available from the Internet?

  • A . One public subnet for ELB one public subnet for the web-servers, and one private subnet for the database
  • B . One public subnet for ELB two private subnets for the web-servers, two private subnets for RDS
  • C . Two public subnets for ELB two private subnets for the web-servers and two private subnets for RDS
  • D . Two public subnets for ELB two public subnets for the web-servers, and two public subnets for RDS

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

While using ELB for web applications, ensure that you place all other EC2 instances in private subnets wherever possible. Except where there is an explicit requirement for instances requiring outside world access and Elastic IP attached, place all the instances in private subnets only. In the Amazon VPC environment, only ELBs must be in the public subnet as secure practice. You will need to select a Subnet for each Availability Zone where you wish traffic to be routed by your load balancer. If you have instances in only one Availability Zone, please select at least two Subnets in different Availability Zones to provide higher availability for your load balance

Question #17

An application that you are managing has EC2 instances & Dynamo OB tables deployed to several AWS Regions in order to monitor the performance of the application globally, you would like to see two graphs:

1) Avg CPU Utilization across all EC2 instances

2) Number of Throttled Requests for all DynamoDB tables.

How can you accomplish this?

  • A . Tag your resources with the application name, and select the tag name as the dimension in the Cloudwatch Management console to view the respective graphs
  • B . Use the Cloud Watch CLI tools to pull the respective metrics from each regional endpoint Aggregate the data offline & store it for graphing in CloudWatch.
  • C . Add SNMP traps to each instance and DynamoDB table Leverage a central monitoring server to capture data from each instance and table Put the aggregate data into Cloud Watch for graphing.
  • D . Add a CloudWatch agent to each instance and attach one to each DynamoDB table. When configuring the agent set the appropriate application name & view the graphs in CloudWatch.

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.CLI.html

Question #18

When assessing an organization s use of AWS API access credentials which of the following three credentials should be evaluated? (Choose three.)

  • A . Key pairs
  • B . Console passwords
  • C . Access keys
  • D . Signing certificates
  • E . Security Group memberships

Reveal Solution Hide Solution

Correct Answer: BCD
BCD

Explanation:

AWS provides a number of authentication mechanisms including a console, account IDs and secret keys,

X.509 certificates, and MFA devices to control access to AWS APIs. Console authentication is the most appropriate for administrative or manual activities, account IDs and secret keys for accessing REST-based interfaces or tools, and X.509 certificates for SOAP-based interfaces and tools. Your organization should consider the circumstances under which it will leverage access keys, x.509certificates, console passwords, or MFA devices

Question #19

You have a Linux EC2 web server instance running inside a VPC The instance is In a public subnet and has an EIP associated with it so you can connect to It over the Internet via HTTP or SSH The instance was also fully accessible when you last logged in via SSH. and was also serving web requests on port 80. Now you are not able to SSH into the host nor does it respond to web requests on port 80 that were working fine last time you checked You have double-checked that all networking configuration parameters (security groups route tables. IGW’EIP. NACLs etc) are properly configured {and you haven’t made any changes to those anyway since you were last able to reach the Instance). You look at the EC2 console and notice that system status check shows "impaired."

Which should be your next step in troubleshooting and attempting to get the instance back to a healthy state so that you can log in again?

  • A . Stop and start the instance so that it will be able to be redeployed on a healthy host system that most likely will fix the "impaired" system status
  • B . Reboot your instance so that the operating system will have a chance to boot in a clean healthy state that most likely will fix the ‘impaired" system status
  • C . Add another dynamic private IP address to me instance and try to connect via mat new path, since the networking stack of the OS may be locked up causing the “impaired” system status.
  • D . Add another Elastic Network Interface to the instance and try to connect via that new path since the networking stack of the OS may be locked up causing the "impaired" system status
  • E . un-map and then re-map the EIP to the instance, since the IGWVNAT gateway may not be working properly, causing the "impaired" system status

Reveal Solution Hide Solution

Correct Answer: A
Question #20

What is a placement group?

  • A . A collection of Auto Scaling groups in the same Region
  • B . Feature that enables EC2 instances to interact with each other via nigh bandwidth, low latency connections
  • C . A collection of Elastic Load Balancers in the same Region or Availability Zone
  • D . A collection of authorized Cloud Front edge locations for a distribution

Reveal Solution Hide Solution

Correct Answer: B

Question #21

Your entire AWS infrastructure lives inside of one Amazon VPC. You have an Infrastructure monitoring application running on an Amazon instance in Availability Zone (AZ) A of the region, and another application instance running in AZ

B. The monitoring application needs to make use of ICMP ping to confirm network reachability of the instance hosting the application.

Can you configure the security groups for these instances to only allow the ICMP ping to pass from the monitoring instance to the application instance and nothing else? If so how?

  • A . No, two instances in two different AZ’s can’t talk directly to each other via ICMP ping as that protocol is not allowed across subnet (iebroadcast) boundaries
  • B . Yes, both the monitoring instance and the application instance have to be a part of the same security group, and that security group needs to allow inbound ICMP
  • C . Yes, the security group for the monitoring instance needs to allow outbound ICMP and the application instance’s security group needs to allow Inbound ICMP
  • D . Yes, both the monitoring instance’s security group and the application instance’s security group need to allow both inbound and outbound ICMP ping packets since ICMP is not a connection-oriented protocol

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

Even though ICMP is not a connection-oriented protocol, Security Groups are stateful. “Security groups are stateful ― responses to allowed inbound traffic are allowed to flow outbound regardless of outbound rules, and vice versa”.

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html

Question #22

You have two Elastic Compute Cloud (EC2) instances inside a Virtual Private Cloud (VPC) in the same Availability Zone (AZ) but in different subnets. One instance is running a database and the other instance an application that will interface with the database. You want to confirm that they can talk to each other for your application to work properly.

Which two things do we need to confirm in the VPC settings so that these EC2 instances can communicate inside the VPC? (Choose two.)

  • A . A network ACL that allows communication between the two subnets.
  • B . Both instances are the same instance class and using the same Key-pair.
  • C . That the default route is set to a NAT instance or internet Gateway (IGW) for them to communicate.
  • D . Security groups are set to allow the application host to talk to the database on the right port/protocol.

Reveal Solution Hide Solution

Correct Answer: AD
Question #23

Which services allow the customer to retain full administrative privileges of the underlying EC2 instances? (Choose two.)

  • A . Amazon Elastic Map Reduce
  • B . Elastic Load Balancing
  • C . AWS Elastic Beanstalk
  • D . Amazon Elasticache
  • E . Amazon Relational Database service

Reveal Solution Hide Solution

Correct Answer: AC
AC

Explanation:

Only the below services provide Root level access

– EC2

– Elastic Beanstalk

– Elastic MapReduce C Master Node

– Opswork

Question #24

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

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

DynamoDB is automatically available across three facilities in an AWS Region. So moving in to a same AZ is not possible /necessary. In this case the DB layer is not the issue, the EC2 8xlarge is the issue; so add another one with a ELB in-front of it. See also: https://aws.amazon.com/dynamodb/faqs/

Question #25

You are managing a legacy application Inside VPC with hard coded IP addresses in its configuration.

Which two mechanisms will allow the application to failover to new instances without the need for reconfiguration? (Choose two.)

  • A . Create an ELB to reroute traffic to a failover instance
  • B . Create a secondary ENI that can be moved to a failover instance
  • C . Use Route53 health checks to fail traffic over to a failover instance
  • D . Assign a secondary private IP address to the primary ENIO that can be moved to a failover instance

Reveal Solution Hide Solution

Correct Answer: BD
Question #26

You are designing a system that has a Bastion host. This component needs to be highly available without human intervention.

Which of the following approaches would you select?

  • A . Run the bastion on two instances one in each AZ
  • B . Run the bastion on an active Instance in one AZ and have an AMI ready to boot up in the event of failure
  • C . Configure the bastion instance in an Auto Scaling group. Specify the Auto Scaling group to include multiple AZs but have a min-size of 1 and max-size of 1
  • D . Configure an ELB in front of the bastion instance

Reveal Solution Hide Solution

Correct Answer: C
Question #27

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

  • A . Denies the server with the IP address 192 168 100 0 full access to the "mybucket" bucket
  • B . Denies the server with the IP address 192 168 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

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html

http://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html

Question #28

Which of the following requires a custom CloudWatch metric to monitor?

  • A . Data transfer of an EC2 instance
  • B . Disk usage activity of an EC2 instance
  • C . Memory Utilization of an EC2 instance
  • D . CPU Utilization of an EC2 instance

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/ec2-metricscollected.html

CPU, Disk I/O, Data Transfer are default metrics. Memory is not mentioned.

Question #29

You run a web application where web servers on EC2 Instances are in an Auto Scaling group. Monitoring over the last 6 months shows that 6 web servers are necessary to handle the minimum load During the day up to 12 servers are needed five to six days per year, the number of web servers required might go up to 15.

What would you recommend to minimize costs while being able to provide hill availability?

  • A . 6 Reserved instances (heavy utilization).
    6 Reserved instances {medium utilization), rest covered by On-Demand instances
  • B . 6 Reserved instances (heavy utilization).
    6 On-Demand instances, rest covered by Spot Instances
  • C . 6 Reserved instances (heavy utilization)
    6 Spot instances, rest covered by On-Demand instances
  • D . 6 Reserved instances (heavy utilization)
    6 Reserved instances (medium utilization) rest covered by Spot instances

Reveal Solution Hide Solution

Correct Answer: B
Question #30

You have been asked to propose a multi-region deployment of a web-facing application where a controlled portion of your traffic is being processed by an alternate region.

Which configuration would achieve that goal?

  • A . Route53 record sets with weighted routing policy
  • B . Route53 record sets with latency based routing policy
  • C . Auto Scaling with scheduled scaling actions set
  • D . Elastic Load Balancing with health checks enabled

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html

Question #31

You have set up Individual AWS accounts for each project. You have been asked to make sure your AWS Infrastructure costs do not exceed the budget set per project for each month.

Which of the following approaches can help ensure that you do not exceed the budget each month?

  • A . Consolidate your accounts so you have a single bill for all accounts and projects
  • B . Set up auto scaling with CloudWatch alarms using SNS to notify you when you are running too many Instances in a given account
  • C . Set up CloudWatch billing alerts for all AWS resources used by each project, with a notification occurring when the amount for each resource tagged to a particular project matches the budget allocated to the project.
  • D . Set up CloudWatch billing alerts for all AWS resources used by each account, with email notifications when it hits 50%. 80% and 90% of its budgeted monthly spend

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Consolidate your accounts so you have a single bill for all accounts and projects (Consolidation will not help limit per account)

Set up auto scaling with CloudWatch alarms using SNS to notify you when you are running too many Instances in a given account (many instances do not directly map to cost and would not give exact cost).

Set up CloudWatch billing alerts for all AWS resources used by each project, with a notification occurring when the amount for each resource tagged to a particular project matches the budget allocated to the project. (as each project already has an account, no need for resource tagging).

Question #32

When creation of an EBS snapshot Is initiated but not completed the EBS volume?

  • A . Cannot De detached or attached to an EC2 instance until me snapshot completes
  • B . Can be used in read-only mode while me snapshot is in progress
  • C . Can be used while me snapshot Is in progress
  • D . Cannot be used until the snapshot completes

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html

Question #33

You are using ElastiCache Memcached to store session state and cache database queries in your infrastructure. You notice in CloudWatch that Evictions and GetMisses are Doth very high.

What two actions could you take to rectify this? (Choose two.)

  • A . Increase the number of nodes in your cluster
  • B . Tweak the max_item_size parameter
  • C . Shrink the number of nodes in your cluster
  • D . Increase the size of the nodes in the duster

Reveal Solution Hide Solution

Correct Answer: AD
AD

Explanation:

https://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheMetrics.WhichShouldIMonitor.html

Question #34

You are running a database on an EC2 instance, with the data stored on Elastic Block Store (EBS) for persistence. At times throughout the day, you are seeing large variance in the response times of the database queries Looking into the instance with the isolate command you see a lot of wait time on the disk volume that the database’s data is stored on.

What two ways can you improve the performance of the database’s storage while maintaining the current persistence of the data? (Choose two.)

  • A . Move to an SSD backed instance
  • B . Move the database to an EBS-Optimized Instance
  • C . T Use Provisioned IOPs EBS
  • D . Use the ephemeral storage on an m2 4xiarge Instance Instead

Reveal Solution Hide Solution

Correct Answer: BC
Question #35

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 team should 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 have 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 another backup monitoring instance and assume (he role of the previous monitoring instance and beginning adding messages to the SQSqueue.

Reveal Solution Hide Solution

Correct Answer: B
Question #36

You have decided to change the Instance type for instances running in your application tier that are using Auto Scaling.

In which area below would you change the instance type definition?

  • A . Auto Scaling launch configuration
  • B . Auto Scaling group
  • C . Auto Scaling policy
  • D . Auto Scaling tags

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/WhatIsAutoScaling.html

Question #37

You are attempting to connect to an instance in Amazon VPC without success. You have already verified that the VPC has an Internet Gateway (IGW) the instance has an associated Elastic IP (EIP) and correct security group rules are in place.

Which VPC component should you evaluate next?

  • A . The configuration of a NAT instance
  • B . The configuration of the Routing Table
  • C . The configuration of the internet Gateway (IGW)
  • D . The configuration of SRC/DST checking

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/UserScenariosForVPC.html

Question #38

You are tasked with the migration of a highly trafficked Node JS application to AWS in order to comply with organizational standards Chef recipes must be used to configure the application servers that host this application and to support application lifecycle events.

Which deployment option meets these requirements while minimizing administrative burden?

  • A . Create a new stack within Opsworks add the appropriate layers to the stack and deploy the application
  • B . Create a new application within Elastic Beanstalk and deploy this application to a new environment
  • C . Launch a Mode JS server from a community AMI and manually deploy the application to the launched EC2 instance
  • D . Launch and configure Chef Server on an EC2 instance and leverage the AWS CLI to launch application servers and configure those instances using Chef.

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

OpsWorks has integrated support for Chef and lifecycle events.

http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html

Question #39

You have been asked to automate many routine systems administrator backup and recovery activities. Your current plan is to leverage AWS-managed solutions as much as possible and automate the rest with the AWS CLI and scripts.

Which task would be best accomplished with a script?

  • A . Creating daily EBS snapshots with a monthly rotation of snapshots
  • B . Creating daily RDS snapshots with a monthly rotation of snapshots
  • C . Automatically detect and stop unused or underutilized EC2 instances
  • D . Automatically add Auto Scaled EC2 instances to an Amazon Elastic Load Balancer

Reveal Solution Hide Solution

Correct Answer: A
Question #40

Your organization’s security policy requires that all privileged users either use frequently rotated passwords or one-time access credentials in addition to username/password.

Which two of the following options would allow an organization to enforce this policy for AWS users? (Choose two.)

  • A . Configure multi-factor authentication for privileged 1AM users
  • B . Create 1AM users for privileged accounts
  • C . Implement identity federation between your organization’s Identity provider leveraging the 1AM Security Token Service
  • D . Enable the 1AM single-use password policy option for privileged users

Reveal Solution Hide Solution

Correct Answer: AB

Question #41

What are characteristics of Amazon S3? (Choose two.)

  • A . Objects are directly accessible via a URL
  • B . S3 should be used to host a relational database
  • C . S3 allows you to store objects or virtually unlimited size
  • D . S3 allows you to store virtually unlimited amounts of data
  • E . S3 offers Provisioned IOPS

Reveal Solution Hide Solution

Correct Answer: AD
AD

Explanation:

The total volume of data and number of objects you can store are unlimited. Individual Amazon S3 objects can range in size from a minimum of 0 bytes to a maximum of 5 terabytes. The largest object that can be uploaded in a single PUT is 5 gigabytes. For objects larger than 100 megabytes, customers should consider using the Multipart Upload capability.

Reference: https://aws.amazon.com/s3/faqs/

Question #42

You receive a frantic call from a new DBA who accidentally dropped a table containing all your customers.

Which Amazon RDS feature will allow you to reliably restore your database to within 5 minutes of when the mistake was made?

  • A . Multi-AZ RDS
  • B . RDS snapshots
  • C . RDS read replicas
  • D . RDS automated backup

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

https://aws.amazon.com/rds/details/#ha

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIT.html

Question #43

A media company produces new video files on-premises every day with a total size of around 100 GBS after compression All files have a size of 1 -2 GB and need to be uploaded to Amazon S3 every night in a fixed time window between 3am and 5am Current upload takes almost 3 hours, although less than half of the available bandwidth is used.

What step(s) would ensure that the file uploads are able to complete in the allotted time window?

  • A . Increase your network bandwidth to provide faster throughput to S3
  • B . Upload the files in parallel to S3
  • C . Pack all files into a single archive, upload it to S3, then extract the files in AWS
  • D . Use AWS Import/Export to transfer the video files

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

https://aws.amazon.com/blogs/aws/amazon-s3-multipart-upload/

Question #44

You are running a web-application on AWS consisting of the following components an Elastic Load Balancer (ELB) an Auto-Scaling Group of EC2 instances running Linux/PHP/Apache, and Relational DataBase Service (RDS) MySQL.

Which security measures fall into AWS’s responsibility?

  • A . Protect the EC2 instances against unsolicited access by enforcing the principle of least-privilege access
  • B . Protect against IP spoofing or packet sniffing
  • C . Assure all communication between EC2 instances and ELB is encrypted
  • D . Install latest security patches on ELB. RDS and EC2 instances

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

https://d0.awsstatic.com/whitepapers/aws-security-whitepaper.pdf

Question #45

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 two.)

  • 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

Reveal Solution Hide Solution

Correct Answer: AB
AB

Explanation:

Versioning allows easy recovery of previous file version.

MFA delete requires additional MFA authentication to delete files.

Won’t impact the users current access.

Reference:

http://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html

http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html

Question #46

An organization’s security policy requires multiple copies of all critical data to be replicated across at least a primary and backup data center. The organization has decided to store some critical data on Amazon S3.

Which option should you implement to ensure this requirement is met?

  • A . Use the S3 copy API to replicate data between two S3 buckets in different regions
  • B . You do not need to implement anything since S3 data is automatically replicated between regions
  • C . Use the S3 copy API to replicate data between two S3 buckets in different facilities within an AWS Region
  • D . You do not need to implement anything since S3 data is automatically replicated between multiple facilities within an AWS Region

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

You specify a region when you create your Amazon S3 bucket. Within that region, your objects are redundantly stored on multiple devices across multiple facilities. Please refer to Regional Products and Services for details of Amazon S3 service availability by region.

Reference: https://aws.amazon.com/s3/faqs/

Question #47

You are tasked with setting up a cluster of EC2 Instances for a NoSQL database. The database requires random read I/O disk performance up to a 100,000 IOPS at 4KB block side per node.

Which of the following EC2 instances will perform the best for this workload?

  • A . A High-Memory Quadruple Extra Large (m2.4xlarge) with EBS-Optimized set to true and a PIOPs EBS volume
  • B . A Cluster Compute Eight Extra Large (cc2.8xlarge) using instance storage
  • C . High I/O Quadruple Extra Large (hi1.4xlarge) using instance storage
  • D . A Cluster GPU Quadruple Extra Large (cg1.4xlarge) using four separate 4000 PIOPS EBS volumes in a RAID 0 configuration

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

The SSD storage is local to the instance. Using PV virtualization, you can expect 120,000 random read IOPS (Input/Output Operations Per Second) and between 10,000 and 85,000 random write IOPS, both with 4K blocks.

For HVM and Windows AMIs, you can expect 90,000 random read IOPS and 9,000 to 75,000 random write IOPS.

Reference: https://aws.amazon.com/blogs/aws/new-high-io-ec2-instance-type-hi14xlarge/

Question #48

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

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

However, data in the instance store is lost under the following circumstances:

The underlying disk drive fails

The instance stops

The instance terminates

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-lifetime

Question #49

Your team Is excited about the use of AWS because now they have access to programmable Infrastructure" You have been asked to manage your AWS infrastructure in a manner similar to the way you might manage application code You want to be able to deploy exact copies of different versions of your infrastructure, stage changes into different environments, revert back to previous versions, and identify what versions are running at any particular time (development test QA. production).

Which approach addresses this requirement?

  • A . Use cost allocation reports and AWS Opsworks to deploy and manage your infrastructure.
  • B . Use AWS CloudWatch metrics and alerts along with resource tagging to deploy and manage your infrastructure.
  • C . Use AWS Beanstalk and a version control system like GIT to deploy and manage your infrastructure.
  • D . Use AWS CloudFormation and a version control system like GIT to deploy and manage your infrastructure.

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

OpsWorks for Chef Automate automatically performs updates for new Chef minor versions.

OpsWorks for Chef Automate does not perform major platform version updates automatically (for example, a major new platform version such as Chef Automate 13) because these updates might include backward-incompatible changes and require additional testing. In these cases, you must manually initiate the update.

Reference: https://aws.amazon.com/opsworks/chefautomate/faqs/

Question #50

You have a server with a 5O0GB Amazon EBS data volume. The volume is 80% full. You need to back up the volume at regular intervals and be able to re-create the volume in a new Availability Zone in the shortest time possible. All applications using the volume can be paused for a period of a few minutes with no discernible user impact.

Which of the following backup methods will best fulfill your requirements?

  • A . Take periodic snapshots of the EBS volume
  • B . Use a third party Incremental backup application to back up to Amazon Glacier
  • C . Periodically back up all data to a single compressed archive and archive to Amazon S3 using a parallelized multi-part upload
  • D . Create another EBS volume in the second Availability Zone attach it to the Amazon EC2 instance, and use a disk manager to mirror me two disks

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

EBS volumes can only be attached to EC2 instances within the same Availability Zone.

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html

Question #51

Your company Is moving towards tracking web page users with a small tracking Image loaded on each page Currently you are serving this image out of US-East, but are starting to get concerned about the time It takes to load the image for users on the west coast.

What are the two best ways to speed up serving this image? (Choose two.)

  • A . Use Route 53’s Latency Based Routing and serve the image out of US-West-2 as well as US-East-1
  • B . Serve the image out through CloudFront
  • C . Serve the image out of S3 so that it isn’t being served oft of your web application tier
  • D . Use EBS PIOPs to serve the image faster out of your EC2 instances

Reveal Solution Hide Solution

Correct Answer: AB
AB

Explanation:

Cloudfront gets the image closer to the user and Route53 ensures the best connection based on network latency.

Question #52

If you want to launch Amazon Elastic Compute Cloud (EC2) Instances and assign each Instance a predetermined private IP address you should:

  • A . Assign a group or sequential Elastic IP address to the instances
  • B . Launch the instances in a Placement Group
  • C . Launch the instances in the Amazon virtual Private Cloud (VPC).
  • D . Use standard EC2 instances since each instance gets a private Domain Name Service (DNS) already
  • E . Launch the Instance from a private Amazon Machine image (Mil)

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html

Question #53

A customer has a web application that uses cookie Based sessions to track logged in users. It is deployed on AWS using ELB and Auto Scaling. The customer observes that when load increases. Auto Scaling launches new Instances but the load on the easting Instances does not decrease, causing all existing users have a sluggish experience.

Which two answer choices independently describe a behavior that could be the cause of the sluggish user experience? (Choose two.)

  • A . ELB’s normal behavior sends requests from the same user to the same backend instance
  • B . ELB’s behavior when sticky sessions are enabled causes ELB to send requests in the same session to the same backend instance
  • C . A faulty browser is not honoring the TTL of the ELB DNS name
  • D . The web application uses long polling such as comet or websockets. Thereby keeping a connection open to a web server tor a long time

Reveal Solution Hide Solution

Correct Answer: BD
Question #54

How can the domain’s zone apex for example "myzoneapexdomain com" be pointed towards an Elastic Load Balancer?

  • A . By using an AAAA record
  • B . By using an A record
  • C . By using an Amazon Route 53 CNAME record
  • D . By using an Amazon Route 53 Alias record

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Alias resource record sets are virtual records that work like CNAME records. But they differ from CNAME records in that they are not visible to resolvers. Resolvers only see the A record and the resulting IP address of the target record. As such, unlike CNAME records, alias resource record sets are available to configure a zone apex (also known as a root domain or naked domain) in a dynamic environment.

Reference: http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/setting-up-route53-zoneapex­elb.html

Question #55

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

Reveal Solution Hide Solution

Correct Answer: C
C

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

Question #56

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

Reveal Solution Hide Solution

Correct Answer: D
D

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 up to 30 GB. PIOPS is not part of free usage tier.

Question #57

A user has developed an application which is required to send the data to a NoSQL database. The user wants to decouple the data sending such that the application keeps processing and sending data but does not wait for an acknowledgement of DB.

Which of the below mentioned applications helps in this scenario?

  • A . AWS Simple Notification Service
  • B . AWS Simple Workflow
  • C . AWS Simple Queue Service
  • D . AWS Simple Query Service

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

Amazon Simple Queue Service (SQS. is a fast, reliable, scalable, and fully managed message queuing service. SQS provides a simple and cost-effective way to decouple the components of an application. In this case, the user can use AWS SQS to send messages which are received from an application and sent to DB. The application can continue processing data without waiting for any acknowledgement from DB. The user can use SQS to transmit any volume of data without losing messages or requiring other services to always be available.

Question #58

An organization has created 50 IAM users. The organization has introduced a new policy which will change the access of an IAM user.

How can the organization implement this effectively so that there is no need to apply the policy at the individual user level?

  • A . Use the IAM groups and add users as per their role to different groups and apply policy to group
  • B . The user can create a policy and apply it to multiple users in a single go with the AWS CLI
  • C . Add each user to the IAM role as per their organization role to achieve effective policy setup
  • D . Use the IAM role and implement access at the role level

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

With AWS IAM, a group is a collection of IAM users. A group allows the user to specify permissions for a collection of users, which can make it easier to manage the permissions for those users. A group helps an organization manage access in a better way; instead of applying at the individual level, the organization can apply at the group level which is applicable to all the users who are a part of that group.

Question #59

A user is planning to use AWS Cloud formation for his automatic deployment requirements.

Which of the below mentioned components are required as a part of the template?

  • A . Parameters
  • B . Outputs
  • C . Template version
  • D . Resources

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

AWS Cloud formation is an application management tool which provides application modelling, deployment, configuration, management and related activities. The template is a JSON-format, text-based file that describes all the AWS resources required to deploy and run an application. It can have option fields, such as Template Parameters, Output, Data tables, and Template file format version. The only mandatory value is Resource. The user can define the AWS services which will be used/created by this template inside the Resource section

Question #60

A user has recently started using EC2. The user launched one EC2 instance in the default subnet in EC2­VPC

Which of the below mentioned options is not attached or available with the EC2 instance when it is launched?

  • A . Public IP address
  • B . Internet gateway
  • C . Elastic IP
  • D . Private IP address

Reveal Solution Hide Solution

Correct Answer: C
C

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 (default subnet. A default VPC has all the benefits of EC2-VPC and the ease of use of EC2-Classic. Each instance that the user launches into a default subnet has a private IP address and a public IP address. These instances can communicate with the internet through an internet gateway. An internet gateway enables the EC2 instances to connect to the internet through the Amazon EC2 network edge.

Question #61

A user has launched an EC2 instance. The user is planning to setup the CloudWatch alarm.

Which of the below mentioned actions is not supported by the CloudWatch alarm?

  • A . Notify the Auto Scaling launch config to scale up
  • B . Send an SMS using SNS
  • C . Notify the Auto Scaling group to scale down
  • D . Stop the EC2 instance

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

Q: What actions can I take from a CloudWatch Alarm?

When you create an alarm, you can configure it to perform one or more automated actions when the metric you chose to monitor exceeds a threshold you define. For example, you can set an alarm that sends you an email, publishes to an SQS queue, stops or terminates an Amazon EC2 instance, or executes an Auto Scaling policy.

Since Amazon CloudWatch alarms are integrated with answer is A.

https://aws.amazon.com/cloudwatch/faqs/

Amazon Simple Notification Service, you can also use any notification type supported by SNS

Question #62

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

Reveal Solution Hide Solution

Correct Answer: C
C

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.

Question #63

An organization is planning to create 5 different AWS accounts considering various security requirements. The organization wants to use a single payee account by using the consolidated billing option.

Which of the below mentioned statements is true with respect to the above information?

  • A . Master (Payee. account will get only the total bill and cannot see the cost incurred by each account
  • B . Master (Payee. account can view only the AWS billing details of the linked accounts
  • C . It is not recommended to use consolidated billing since the payee account will have access to the linked accounts
  • D . Each AWS account needs to create an AWS billing policy to provide permission to the payee account

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

AWS consolidated billing enables the organization to consolidate payments for multiple Amazon Web Services (AWS. accounts within a single organization by making a single paying account. Consolidated billing enables the organization to see a combined view of the AWS charges incurred by each account as well as obtain a detailed cost report for each of the individual AWS accounts associated with the paying account. The payee account will not have any other access than billing data of linked accounts.

Question #64

A user has deployed an application on his private cloud. The user is using his own monitoring tool. He wants to configure that whenever there is an error, the monitoring tool should notify him via SMS.

Which of the below mentioned AWS services will help in this scenario?

  • A . None because the user infrastructure is in the private cloud/
  • B . AWS SNS
  • C . AWS SES
  • D . AWS SMS

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

Amazon Simple Notification Service (Amazon SNS. is a fast, flexible, and fully managed push messaging service. Amazon SNS can be used to make push notifications to mobile devices. Amazon SNS can deliver notifications by SMS text message or email to the Amazon Simple Queue Service (SQS. queues or to any HTTP endpoint. In this case user can use the SNS apis to send SMS.

Question #65

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 an instance by 8 AM and remove it by Friday 6 PM

Reveal Solution Hide Solution

Correct Answer: B
B

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.

Question #66

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

Reveal Solution Hide Solution

Correct Answer: C
C

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.

Question #67

A user is trying to setup a scheduled scaling activity using Auto Scaling. The user wants to setup the recurring schedule.

Which of the below mentioned parameters is not required in this case?

  • A . Maximum size
  • B . Auto Scaling group name
  • C . End time
  • D . Recurrence value

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

When you update a stack with an Auto Scaling group and scheduled action, AWS CloudFormation always sets the min size, max size, and desired capacity properties of your Auto Scaling group to the values that are defined in the AWS::AutoScaling::AutoScalingGroup resource of your template, even if a scheduled action is in effect.

Auto Scaling based on a schedule allows the user to scale the application in response to predictable load changes. The user can also configure the recurring schedule action which will follow the Linux cron format. If the user is setting a recurring event, it is required that the user specifies the Recurrence value (in a cron format., end time (not compulsory but recurrence will stop after this. and the Auto Scaling group for which the scaling activity is to be scheduled.

Reference: http://docs.aws.amazon.com/es_es/AWSCloudFormation/latest/UserGuide/aws-resource-as­scheduledaction.html

Question #68

A user has setup a billing alarm using CloudWatch for $200. The usage of AWS exceeded $200 after some days. The user wants to increase the limit from $200 to $400? What should the user do?

  • A . Create a new alarm of $400 and link it with the first alarm
  • B . It is not possible to modify the alarm once it has crossed the usage limit
  • C . Update the alarm to set the limit at $400 instead of $200
  • D . Create a new alarm for the additional $200 amount

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

AWS CloudWatch supports enabling the billing alarm on the total AWS charges. The estimated charges are calculated and sent several times daily to CloudWatch in the form of metric data. This data will be stored for 14 days. This data also includes the estimated charges for every service in AWS used by the user, as well as the estimated overall AWS charges. If the user wants to increase the limit, the user can modify the alarm and specify a new threshold.

Question #69

A sys admin has created the below mentioned policy and applied to an S3 object named aws.jpg. The aws.jpg is inside a bucket named cloudacademy.

What does this policy define?

  • A . It is not possible to define a policy at the object level
  • B . It will make all the objects of the bucket cloudacademy as public
  • C . It will make the bucket cloudacademy as public
  • D . the aws.jpg object as public

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

A system admin can grant permission to the S3 objects or buckets to any user or make objects public using the bucket policy and user policy. Both use the JSON-based access policy language. Generally, if the user is defining the ACL on the bucket, the objects in the bucket do not inherit it and vice a versa. The bucket policy can be defined at the bucket level which allows the objects as well as the bucket to be public with a single policy applied to that bucket. It cannot be applied at the object level.

Question #70

A user is trying to save some cost on the AWS services.

Which of the below mentioned options will not help him save cost?

  • A . Delete the unutilized EBS volumes once the instance is terminated
  • B . Delete the AutoScaling launch configuration after the instances are terminated
  • C . Release the elastic IP if not required once the instance is terminated
  • D . Delete the AWS ELB after the instances are terminated

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

AWS bills the user on as pay as you go model. AWS will charge the user once the AWS resource is allocated. Even though the user is not using the resource, AWS will charge if it is in service or allocated. Thus, it is advised that once the user’s work is completed he should: Terminate the EC2 instance Delete the EBS volumes Release the unutilized Elastic IPs Delete ELB The AutoScaling launch configuration does not cost the user. Thus, it will not make any difference to the cost whether it is deleted or not.

Question #71

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

Reveal Solution Hide Solution

Correct Answer: A
A

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.

Question #72

An organization is planning to use AWS for their production roll out. The organization wants to implement automation for deployment such that it will automatically create a LAMP stack, download the latest PHP installable from S3 and setup the ELB.

Which of the below mentioned AWS services meets the requirement for making an orderly deployment of the software?

  • A . AWS Elastic Beanstalk
  • B . AWS Cloudfront
  • C . AWS Cloudformation
  • D . AWS DevOps

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

AWS Cloudformation is an application management tool which provides application modelling, deployment, configuration, management and related activities. Cloudformation provides an easy way to create and delete the collection of related AWS resources and provision them in an orderly way. AWS CloudFormation automates and simplifies the task of repeatedly and predictably creating groups of related resources that power the user’s applications. AWS Cloudfront is a CDN; Elastic Beanstalk does quite a few of the required tasks.

However, it is a PAAS which uses a ready AMI. AWS Elastic Beanstalk provides an environment to easily develop and run applications in the cloud.

Question #73

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 . Internet gateway

Reveal Solution Hide Solution

Correct Answer: B
B

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.

Question #74

An organization is setting up programmatic billing access for their AWS account.

Which of the below mentioned services is not required or enabled when the organization wants to use programmatic access?

  • A . Programmatic access
  • B . AWS bucket to hold the billing report
  • C . AWS billing alerts
  • D . Monthly Billing report

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

AWS provides an option to have programmatic access to billing. Programmatic Billing Access leverages the existing Amazon Simple Storage Service (Amazon S3. APIs. Thus, the user can build applications that reference his billing data from a CSV (comma-separated value. file stored in an Amazon S3 bucket. To enable programmatic access, the user has to first enable the monthly billing report. Then the user needs to provide an AWS bucket name where the billing CSV will be uploaded. The user should also enable the Programmatic access option.

Question #75

A user has configured the Auto Scaling group with the minimum capacity as 3 and the maximum capacity as 5. When the user configures the AS group, how many instances will Auto Scaling launch?

  • A . 3
  • B . 0
  • C . 5
  • D . 2

Reveal Solution Hide Solution

Correct Answer: A
Question #76

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

Reveal Solution Hide Solution

Correct Answer: B
B

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.

Question #77

A user is planning to use AWS Cloudformation.

Which of the below mentioned functionalities does not help him to correctly understand Cloudfromation?

  • A . Cloudformation follows the DevOps model for the creation of Dev & Test
  • B . AWS Cloudfromation does not charge the user for its service but only charges for the AWS resources created with it
  • C . Cloudformation works with a wide variety of AWS services, such as EC2, EBS, VPC, IAM, S3, RDS, ELB, etc.
  • D . CloudFormation provides a set of application bootstrapping scripts which enables the user to install Software

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

AWS Cloudformation is an application management tool which provides application modelling, deployment, configuration, management and related activities. It supports a wide variety of AWS services, such as EC2, EBS, AS, ELB, RDS, VPC, etc. It also provides application bootstrapping scripts which enable the user to install software packages or create folders. It is free of the cost and only charges the user for the services created with it. The only challenge is that it does not follow any model, such as DevOps; instead customers can define templates and use them to provision and manage the AWS resources in an orderly way.

Question #78

A user has launched 10 instances from the same AMI ID using Auto Scaling. The user is trying to see the average CPU utilization across all instances of the last 2 weeks under the CloudWatch console.

How can the user achieve this?

  • A . View the Auto Scaling CPU metrics
  • B . Aggregate the data over the instance AMI ID
  • C . The user has to use the CloudWatchanalyser to find the average data across instances
  • D . It is not possible to see the average CPU utilization of the same AMI ID since the instance ID is different

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

You can aggregate statistics for the EC2 instances in an Auto Scaling group. Note that Amazon CloudWatch cannot aggregate data across regions. Metrics are completely separate between regions.

http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/GetMetricAutoScalingGroup.html

Question #79

A user is trying to understand AWS SNS. To which of the below mentioned end points is SNS unable to send a notification?

  • A . Email JSON
  • B . HTTP
  • C . AWS SQS
  • D . AWS SES

Reveal Solution Hide Solution

Correct Answer: D
D

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 select one the following transports as part of the subscription requests: “HTTP”, “HTTPS”, ”Email”, “Email-JSON”, “SQS”, “and SMS”.

Question #80

A user has configured an Auto Scaling group with ELB. The user has enabled detailed CloudWatch monitoring on Auto Scaling.

Which of the below mentioned statements will help the user understand the functionality better?

  • A . It is not possible to setup detailed monitoring for Auto Scaling
  • B . In this case, Auto Scaling will send data every minute and will charge the user extra
  • C . Detailed monitoring will send data every minute without additional charges
  • D . Auto Scaling sends data every minute only and does not charge the user

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

CloudWatch is used to monitor AWS as well as the custom services. It provides either basic or detailed monitoring for the supported AWS products. In basic monitoring, a service sends data points to CloudWatch every five minutes, while in detailed monitoring a service sends data points to CloudWatch every minute. Auto Scaling includes 7 metrics and 1 dimension, and sends data to CloudWatch every 5 minutes by default. The user can enable detailed monitoring for Auto Scaling, which sends data to CloudWatch every minute.

However, this will have some extra-costs.

Question #81

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

Reveal Solution Hide Solution

Correct Answer: D
D

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

Question #82

You are building an online store on AWS that uses SQS to process your customer orders. Your backend system needs those messages in the same sequence the customer orders have been put in.

How can you achieve that?

  • A . It is not possible to do this with SQS
  • B . You can use sequencing information on each message
  • C . You can do this with SQS but you also need to use SWF
  • D . Messages will arrive in the same order by default

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

Amazon SQS is engineered to always be available and deliver messages. One of the resulting tradeoffs is that SQS does not guarantee first in, first out delivery of messages. For many distributed applications, each message can stand on its own, and as long as all messages are delivered, the order is not important. If your system requires that order be preserved, you can place sequencing information in each message, so that you can reorder the messages when the queue returns them.

Question #83

An organization wants to move to Cloud. They are looking for a secure encrypted database storage option.

Which of the below mentioned AWS functionalities helps them to achieve this?

  • A . AWS MFA with EBS
  • B . AWS EBS encryption
  • C . Multi-tier encryption with Redshift
  • D . AWS S3 server side storage

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

AWS EBS supports encryption of the volume while creating new volumes. 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 EBS will be encrypted. The encryption occurs on the servers that host the EC2 instances, providing encryption of data as it moves between the EC2 instances and EBS storage. EBS encryption is based on the AES-256 cryptographic algorithm, which is the industry standard

Question #84

A user wants to disable connection draining on an existing ELB.

Which of the below mentioned statements helps the user disable connection draining on the ELB?

  • A . The user can only disable connection draining from CLI
  • B . It is not possible to disable the connection draining feature once enabled
  • C . The user can disable the connection draining feature from EC2 -> ELB console or from CLI
  • D . The user needs to stop all instances before disabling connection draining

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

The Elastic Load Balancer connection draining feature causes the load balancer to stop sending new requests to the back-end instances when the instances are deregistering or become unhealthy, while ensuring that inflight requests continue to be served. The user can enable or disable connection draining from the AWS EC2 console -> ELB or using CLI.

Question #85

A user has a refrigerator plant. The user is measuring the temperature of the plant every 15 minutes. If the user wants to send the data to CloudWatch to view the data visually, which of the below mentioned statements is true with respect to the information given above?

  • A . The user needs to use AWS CLI or API to upload the data
  • B . The user can use the AWS Import Export facility to import data to CloudWatch
  • C . The user will upload data from the AWS console
  • D . The user cannot upload data to CloudWatch since it is not an AWS service metric

Reveal Solution Hide Solution

Correct Answer: A
A

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. While sending the data the user has to include the metric name, namespace and timezone as part of the request.

Question #86

A system admin is managing buckets, objects and folders with AWS S3.

Which of the below mentioned statements is true and should be taken in consideration by the sysadmin?

  • A . The folders support only ACL
  • B . Both the object and bucket can have an Access Policy but folder cannot have policy
  • C . Folders can have a policy
  • D . Both the object and bucket can have ACL but folders cannot have ACL

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Amazon S3 Access Control Lists (ACLs) enable you to manage access to buckets and objects. Each bucket and object has an ACL attached to it as a subresource. It defines which AWS accounts or groups are granted access and the type of access. When a request is received against a resource, Amazon S3 checks the corresponding ACL to verify the requester has the necessary access permissions.

Reference: http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html

Question #87

A user has created an ELB with three instances.

How many security groups will ELB create by default?

  • A . 3
  • B . 5
  • C . 2
  • D . 1

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

Elastic Load Balancing provides a special Amazon EC2 source security group that the user can use to ensure that back-end EC2 instances receive traffic only from Elastic Load Balancing. This feature needs two security groups: the source security group and a security group that defines the ingress rules for the back-end instances. To ensure that traffic only flows between the load balancer and the back-end instances, the user can add or modify a rule to the back-end security group which can limit the ingress traffic. Thus, it can come only from the source security group provided by Elastic Load Balancing.

Question #88

An organization has created 50 IAM users. The organization wants that each user can change their password but cannot change their access keys.

How can the organization achieve this?

  • A . The organization has to create a special password policy and attach it to each user
  • B . The root account owner has to use CLI which forces each IAM user to change their password on first login
  • C . By default each IAM user can modify their passwords
  • D . The root account owner can set the policy from the IAM console under the password policy screen

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

With AWS IAM, organizations can use the AWS Management Console to display, create, change or delete a password policy. As a part of managing the password policy, the user can enable all users to manage their own passwords. If the user has selected the option which allows the IAM users to modify their password, he does not need to set a separate policy for the users. This option in the AWS console allows changing only the password.

Question #89

A user has created a photo editing software and hosted it on EC2. The software accepts requests from the user about the photo format and resolution and sends a message to S3 to enhance the picture accordingly.

Which of the below mentioned AWS services will help make a scalable software with the AWS infrastructure in this scenario?

  • A . AWS Glacier
  • B . AWS Elastic Transcoder
  • C . AWS Simple Notification Service
  • D . AWS Simple Queue Service

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

Amazon Simple Queue Service (SQS. is a fast, reliable, scalable, and fully managed message queuing service. SQS provides a simple and cost-effective way to decouple the components of an application. The user can configure SQS, which will decouple the call between the EC2 application and S3. Thus, the application does not keep waiting for S3 to provide the data.

Question #90

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

Reveal Solution Hide Solution

Correct Answer: D
D

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.

Question #91

A user has created a VPC with CIDR 20.0.0.0/24. The user has created a public subnet with CIDR 20.0.0.0/25. The user is trying to create the private subnet with CIDR 20.0.0.128/25.

Which of the below mentioned statements is true in this scenario?

  • A . It will not allow the user to create the private subnet due to a CIDR overlap
  • B . It will allow the user to create a private subnet with CIDR as 20.0.0.128/25
  • C . This statement is wrong as AWS does not allow CIDR 20.0.0.0/25
  • D . It will not allow the user to create a private subnet due to a wrong CIDR range

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

When the user creates a subnet in VPC, he specifies the CIDR block for the subnet. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC., or a subset (to enable multiple subnets. If the user creates more than one subnet in a VPC, the CIDR blocks of the subnets must not overlap. Thus, in this case the user has created a VPC with the CIDR block 20.0.0.0/24, which supports 256 IP addresses (20.0.0.0 to 20.0.0.255. The user can break this CIDR block into two subnets, each supporting 128 IP addresses. One subnet uses the CIDR block 20.0.0.0/25 (for addresses

Question #91

A user has created a VPC with CIDR 20.0.0.0/24. The user has created a public subnet with CIDR 20.0.0.0/25. The user is trying to create the private subnet with CIDR 20.0.0.128/25.

Which of the below mentioned statements is true in this scenario?

  • A . It will not allow the user to create the private subnet due to a CIDR overlap
  • B . It will allow the user to create a private subnet with CIDR as 20.0.0.128/25
  • C . This statement is wrong as AWS does not allow CIDR 20.0.0.0/25
  • D . It will not allow the user to create a private subnet due to a wrong CIDR range

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

When the user creates a subnet in VPC, he specifies the CIDR block for the subnet. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC., or a subset (to enable multiple subnets. If the user creates more than one subnet in a VPC, the CIDR blocks of the subnets must not overlap. Thus, in this case the user has created a VPC with the CIDR block 20.0.0.0/24, which supports 256 IP addresses (20.0.0.0 to 20.0.0.255. The user can break this CIDR block into two subnets, each supporting 128 IP addresses. One subnet uses the CIDR block 20.0.0.0/25 (for addresses

Question #91

A user has created a VPC with CIDR 20.0.0.0/24. The user has created a public subnet with CIDR 20.0.0.0/25. The user is trying to create the private subnet with CIDR 20.0.0.128/25.

Which of the below mentioned statements is true in this scenario?

  • A . It will not allow the user to create the private subnet due to a CIDR overlap
  • B . It will allow the user to create a private subnet with CIDR as 20.0.0.128/25
  • C . This statement is wrong as AWS does not allow CIDR 20.0.0.0/25
  • D . It will not allow the user to create a private subnet due to a wrong CIDR range

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

When the user creates a subnet in VPC, he specifies the CIDR block for the subnet. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC., or a subset (to enable multiple subnets. If the user creates more than one subnet in a VPC, the CIDR blocks of the subnets must not overlap. Thus, in this case the user has created a VPC with the CIDR block 20.0.0.0/24, which supports 256 IP addresses (20.0.0.0 to 20.0.0.255. The user can break this CIDR block into two subnets, each supporting 128 IP addresses. One subnet uses the CIDR block 20.0.0.0/25 (for addresses

Question #94

A user has created an S3 bucket which is not publicly accessible. The bucket is having thirty objects which are also private.

If the user wants to make the objects public, how can he configure this with minimal efforts?

  • A . The user should select all objects from the console and apply a single policy to mark them public
  • B . The user can write a program which programmatically makes all objects public using S3 SDK
  • C . Set the AWS bucket policy which marks all objects as public
  • D . Make the bucket ACL as public so it will also mark all objects as public

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

A system admin can grant permission of the S3 objects or buckets to any user or make the objects public using the bucket policy and user policy. Both use the JSON-based access policy language. Generally, if the user is defining the ACL on the bucket, the objects in the bucket do not inherit it and vice a versa. The bucket policy can be defined at the bucket level which allows the objects as well as the bucket to be public with a single policy applied to that bucket.

Question #95

A sys admin is maintaining an application on AWS. The application is installed on EC2 and user has configured ELB and Auto Scaling. Considering future load increase, the user is planning to launch new servers proactively so that they get registered with ELB.

How can the user add these instances with Auto Scaling?

  • A . Increase the desired capacity of the Auto Scaling group
  • B . Increase the maximum limit of the Auto Scaling group
  • C . Launch an instance manually and register it with ELB on the fly
  • D . Decrease the minimum limit of the Auto Scaling group

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

A user can increase the desired capacity of the Auto Scaling group and Auto Scaling will launch a new instance as per the new capacity. The newly launched instances will be registered with ELB if Auto Scaling group is configured with ELB. If the user decreases the minimum size the instances will be removed from Auto Scaling. Increasing the maximum size will not add instances but only set the maximum instance cap.

Question #96

An organization, which has the AWS account ID as 999988887777, has created 50 IAM users. All the users are added to the same group cloudacademy.

If the organization has enabled that each IAM user can login with the AWS console, which AWS login URL will the IAM users use?

  • A . https://999988887777.signin.aws.amazon.com/console/
  • B . https://signin.aws.amazon.com/cloudacademy/
  • C . https://cloudacademy.signin.aws.amazon.com/999988887777/console/
  • D . https://999988887777.aws.amazon.com/cloudacademy/

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

AWS Identity and Access Management is a web service which allows organizations to manage users and user permissions for various AWS services. Once the organization has created the IAM users, they will have a separate AWS console URL to login to the AWS console. The console login URL for the IAM user will be https://AWS_Account_ID.signin.aws.amazon.com/console/. It uses only the AWS account ID and does not depend on the group or user ID.

Question #97

A user has setup connection draining with ELB to allow in-flight requests to continue while the instance is being deregistered through Auto Scaling.

If the user has not specified the draining time, how long will ELB allow inflight requests traffic to continue?

  • A . 600 seconds
  • B . 3600 seconds
  • C . 300 seconds
  • D . 0 seconds

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

The Elastic Load Balancer connection draining feature causes the load balancer to stop sending new requests to the back-end instances when the instances are deregistering or become unhealthy, while ensuring that inflight requests continue to be served. The user can specify a maximum time (3600 seconds. for the load balancer to keep the connections alive before reporting the instance as deregistered. If the user does not specify the maximum timeout period, by default, the load balancer will close the connections to the deregistering instance after 300 seconds.

Question #98

A root AWS account owner is trying to understand various options to set the permission to AWS S3.

Which of the below mentioned options is not the right option to grant permission for S3?

  • A . User Access Policy
  • B . S3 Object Access Policy
  • C . S3 Bucket Access Policy
  • D . S3 ACL

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

Amazon S3 provides a set of operations to work with the Amazon S3 resources. Managing S3 resource access refers to granting others permissions to work with S3. There are three ways the root account owner can define access with S3: S3 ACL: The user can use ACLs to grant basic read/write permissions to other AWS accounts. S3 Bucket Policy: The policy is used to grant other AWS accounts or IAM users permissions for the bucket and the objects in it.

User Access Policy: Define an IAM user and assign him the IAM policy which grants him access to S3.

Question #99

A sys admin has created a shopping cart application and hosted it on EC2. The EC2 instances are running behind ELB. The admin wants to ensure that the end user request will always go to the EC2 instance where the user session has been created.

How can the admin configure this?

  • A . Enable ELB cross zone load balancing
  • B . Enable ELB cookie setup
  • C . Enable ELB sticky session
  • D . Enable ELB connection draining

Reveal Solution Hide Solution

Correct Answer: C
C

Explanation:

Generally, AWS ELB routes each request to a zone with the minimum load. The Elastic Load Balancer provides a feature called sticky session which binds the user’s session with a specific EC2 instance. If the sticky session is enabled the first request from the user will be redirected to any of the EC2 instances. But, henceforth, all requests from the same user will be redirected to the same EC2 instance. This ensures that all requests coming from the user during the session will be sent to the same application instance.

Question #100

A user has configured ELB with three instances. The user wants to achieve High Availability as well as redundancy with ELB.

Which of the below mentioned AWS services helps the user achieve this for ELB?

  • A . Route 53
  • B . AWS Mechanical Turk
  • C . Auto Scaling
  • D . AWS EMR

Reveal Solution Hide Solution

Correct Answer: A
A

Explanation:

The user can provide high availability and redundancy for applications running behind Elastic Load Balancer by enabling the Amazon Route 53 Domain Name System (DNS. failover for the load balancers. Amazon Route 53 is a DNS service that provides reliable routing to the user’s infrastructure.

Question #101

An organization is using AWS since a few months. The finance team wants to visualize the pattern of AWS spending.

Which of the below AWS tool will help for this requirement?

  • A . AWS Cost Manager
  • B . AWS Cost Explorer
  • C . AWS CloudWatch
  • D . AWS Consolidated Billing

Reveal Solution Hide Solution

Correct Answer: B
B

Explanation:

The AWS Billing and Cost Management console includes the Cost Explorer tool for viewing AWS cost data as a graph. It does not charge extra to user for this service. With Cost Explorer the user can filter graphs using resource tags or with services in AWS. If the organization is using Consolidated Billing, it helps generate report based on linked accounts. This will help organization to identify areas that require further inquiry. The organization can view trends and use that to understand spend and to predict future costs.

Question #102

A user has launched an ELB which has 5 instances registered with it. The user deletes the ELB by mistake.

What will happen to the instances?

  • A . ELB will ask the user whether to delete the instances or not
  • B . Instances will be terminated
  • C . ELB cannot be deleted if it has running instances registered with it
  • D . Instances will keep running

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

When the user deletes the Elastic Load Balancer, all the registered instances will be deregistered.

However, they will continue to run. The user will incur charges if he does not take any action on those instances.

Exit mobile version