AWS Certified SysOps Administrator Exam Practice Questions Page7(Dump)
Question No:-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?
1. Notify the Auto Scaling launch config to scale up
2. Send an SMS using SNS
3. Notify the Auto Scaling group to scale down
4. Stop the EC2 instance
https://aws.amazon.com/cloudwatch/faqs/
Amazon Simple Notification Service, you can also use any notification type supported by SNS
|
|
Question No:-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?
1. Terminate the instances with the ec2-terminate-instance command
2. Terminate the Auto Scaling instances with the as-terminate-instance command
3. Set the minimum size and desired capacity to 0
4. There is no need to change the capacity. Run the as-delete-group command and it will reset all values to 0
Answer:-3. Set the minimum size and desired capacity to 0
Note:-
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 No:-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?
1. Master (Payee. account will get only the total bill and cannot see the cost incurred by each account
2. Master (Payee. account can view only the AWS billing details of the linked accounts
3. It is not recommended to use consolidated billing since the payee account will have access to the linked accounts
4. Each AWS account needs to create an AWS billing policy to provide permission to the payee account
Answer:-2. Master (Payee. account can view only the AWS billing details of the linked accounts
Note:-
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 No:-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?
1. None because the user infrastructure is in the private cloud/
2. AWS SNS
3. AWS SES
4. AWS SMS
Answer:-2. AWS SNS
Note:-
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 No:-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?
1. Add a new instance manually by 8 AM Thursday and terminate the same by 6 PM Friday
2. Schedule Auto Scaling to scale up by 8 AM Thursday and scale down after 6 PM on Friday
3. Schedule a policy which may scale up every day at 8 AM and scales down by 6 PM
4. Configure a batch process to add an instance by 8 AM and remove it by Friday 6 PM
Answer:-2. Schedule Auto Scaling to scale up by 8 AM Thursday and scale down after 6 PM on Friday
Note:-
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 No:-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?
1. Run activities on the CPU such that its utilization reaches above 75%
2. From the AWS console change the state to 'Alarm'
3. The user can set the alarm state to 'Alarm' using CLI
4. Run the SNS action manually
Answer:-3. The user can set the alarm state to 'Alarm' using CLI
Note:-
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 No:-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?
1. Maximum size
2. Auto Scaling group name
3. End time
4. Recurrence value
Answer:-1. Maximum size
Note:-
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 No:-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?
1. Create a new alarm of $400 and link it with the first alarm
2. It is not possible to modify the alarm once it has crossed the usage limit
3. Update the alarm to set the limit at $400 instead of $200
4. Create a new alarm for the additional $200 amount
Answer:-3. Update the alarm to set the limit at $400 instead of $200
Note:-
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 No:-69
|
Read the below code and select option
1. It is not possible to define a policy at the object level
2. It will make all the objects of the bucket cloudacademy as public
3. It will make the bucket cloudacademy as public [1]
Answer:-1. It is not possible to define a policy at the object level
Note:-
AWS Cloud formation is an application management tool which provides application modelling, deployment, configuratie 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 No:-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?
1. Delete the unutilized EBS volumes once the instance is terminated
2. Delete the AutoScaling launch configuration after the instances are terminated
3. Release the elastic IP if not required once the instance is terminated
4. Delete the AWS ELB after the instances are terminated
Answer:-3. Elastic IP
Note:-
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.
|
|
|