Last Updated on October 3, 2021 by Admin 2

SOA-C01 : AWS-SysOps ​​​​​: Part 22

  1. Which of the following services can receive an alert from CloudWatch?

    • AWS Elastic Block Store
    • AWS Relational Database Service
    • AWS Auto Scaling
    • AWS Elastic Load Balancing

    Explanation:
    AWS Auto Scaling and Simple Notification Service (SNS) work in conjunction with CloudWatch.
    CloudWatch can send alerts to the AS policy or to the SNS end points.

  2. A user creates an Auto Scaling group from the Amazon AWS Console and assigned a tag with a key of “environment” and a value of “Prod”. Can the user assign tags to instances launched in the Auto Scaling group, to organize and manage them?

    • Yes, this is possible only if the tags are configured at the launch configuration with a maximum length of 300 characters.
    • Yes
    • Yes, this is possible only if the tags are in the same AZ and the tag names are uppercase.
    • No
    Explanation:
    You can organize and manage your Auto Scaling groups by assigning your own metadata to each group in the form of tags. You specify a key and a value for each tag. A key can be a general cate-gory, such as “project”, “owner”, or “environment”, with specific associated values.
    By default, the instance will have a tag with the key as “aws:autoscaling:groupName” and the value as the name of the group.
  3. How many metrics are supported by CloudWatch for Auto Scaling?

    • 8 metrics and 1 dimension
    • 7 metrics and 5 dimension
    • 5 metrics and 1 dimension
    • 1 metric and 5 dimensions
    Explanation:
    AWS Auto Scaling supports both detailed as well as basic monitoring of the CloudWatch metrics.
    Basic monitoring happens every 5 minutes, while detailed monitoring happens every minute. It sup-ports 8 metrics and 1 dimension.
    The metrics are:
    GroupMinSize
    GroupMaxSize
    GroupDesiredCapacity
    GroupInServiceInstances
    GroupPendingInstances
    GroupStandbyInstances
    GroupTerminatingInstances
    GroupTotalInstances
    The dimension is AutoScalingGroupName
  4. A user is aware that a huge download is occurring on his instance. He has already set the Auto Scal-ing policy to increase the instance count when the network I/O increases beyond a certain limit. How can the user ensure that this temporary event does not result in scaling?

    • The policy cannot be set on the network I/O
    • There is no way the user can stop scaling as it is already configured
    • The network I/O are not affected during data download
    • He can suspend scaling temporarily
    Explanation:
    The user may want to stop the automated scaling processes on the Auto Scaling groups either to
    perform manual operations or during emergency situations. To perform this, the user can suspend one or more scaling processes at any time. Once it is completed, the user can resume all the suspend-ed processes.
  5. In the ‘Detailed’ monitoring data available for your Amazon EBS volumes, Provisioned IOPS

    volumes automatically send _____ minute metrics to Amazon CloudWatch.

    • 4
    • 2
    • 1
    • 5
    Explanation:
    In the ‘Detailed’ monitoring data available for your Amazon EBS volumes, Provisioned IOPS vol-umes automatically send 1-minute metrics to Amazon CloudWatch.
  6. Which of the following is true of Amazon CloudWatch?

    • Amazon CloudWatch monitors Amazon Web Services (AWS) resources and the applications that run on AWS in real-time.
    • Amazon CloudWatch is a web service that gives businesses an easy and cost effective way to distribute content with low latency and high data transfer speeds.
    • Amazon CloudWatch runs code without provisioning or managing servers.
    • Amazon CloudWatch runs code without provisioning or managing servers.
    Explanation:
    Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real-time.
    You can use CloudWatch to collect and track metrics, which are variables you can measure for your resources and applications. CloudWatch alarms send notifications or automatically make changes to the resources you are monitoring based on rules that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2 instances and then use this data to de-termine whether you should launch additional instances to handle increased load. You can also use this data to stop under-used instances to save money. In addition to monitoring the built-in metrics that come with AWS, you can monitor your own custom metrics.
    With CloudWatch, you gain system-wide visibility into resource utilization, application perfor-mance, and operational health.
  7. What is the minimum duration when setting an alarm on a detailed monitoring metric in Cloud-Watch?

    • 1 minute
    • 1 day 
    • 5 minute
    • 30 seconds

    Explanation:
    Statistics represents data aggregation of the metric data values over a specific period of time. The user can specify the start and end times that CloudWatch will use for the data aggregation of the statistics. The starting and ending points can be as close together as 60 seconds or as far apart as two weeks.

  8. In the AWS Storage Gateway, using the ____________, you can cost-effectively and durably ar-chive backup data in Amazon Glacier.

    • Gateway-virtual tape library (Gateway-VTL)
    • Gateway-stored volume
    • Gateway-cached volume
    • Volume gateway
    Explanation:
    In AWS Storage Gateway, using Gateway virtual tape library (VTL), you can cost-effectively and durably store archive and long-term backup data in Amazon Glacier. Gateway-VTL provides virtual tape infrastructure that scales seamlessly with your business needs and eliminates the operational burden of provisioning, scaling and maintaining a physical tape infrastructure.
  9. What are the benefits of CloudTrail integration with CloudWatch Logs?

    • It delivers API activity captured by CloudTrail to an S3 bucket.
    • It doesn’t exist
    • It delivers SDK activity captured by CloudTrail to a CloudWatch Logs log stream.
    • It delivers API activity captured by CloudTrail to a CloudWatch Logs log stream.
    Explanation:
    CloudTrail integration with CloudWatch Logs delivers API activity captured by CloudTrail to a CloudWatch Logs log stream in the CloudWatch Logs log group you specify.
  10. Security groups in VPC operate at the ______.

    • data transport layer level
    • subnet level
    • instance level
    • gateway level
    Explanation:
    You can secure your VPC instances using only security groups. When you launch an instance in
    a VPC, you can associate one or more security groups that you’ve created. The security groups act as a firewall for associated Amazon EC2 instances, controlling both inbound and outbound traffic at the instance level.
  11. Network ACLs are _______.

    • stateful
    • stateless
    • asynchronous
    • synchronous
    Explanation:
    Network ACLs are stateless; responses to allowed inbound traffic are subject to the rules for out-bound traffic (and vice versa).
  12. Is it possible to publish your own metrics to CloudWatch?

    • Yes, but only if the data is aggregated.
    • No, it is not possible.
    • No, metrics are in-built and cannot be defined explicitly.
    • Yes, it can be done by using the put-metric-data command.
    Explanation:
    You can publish your own metrics to CloudWatch using the AWS CLI or an API. You can view statistical graphs of your published metrics with the AWS Management Console. CloudWatch stores data about a metric as a series of data points. Each data point has an associated time stamp. You can even publish an aggregated set of data points called a statistic set.
  13. Can you use CloudWatch to monitor memory and disk utilization usage for your Amazon EC2 Linux instances?

    • CloudWatch can only measure memory usage.
    • CloudWatch can only collect memory and disk usage metrics when an instance is running.
    • It is possible only on Linux EC2 instances using the CloudWatch Monitoring scripts for Linux.
    • CloudWatch can only measure disk usage.
    Explanation:
    Using the Cloudwatch Monitoring scripts for Linux, you can measure memory and disk usage of your Linux EC2 instances.
  14. An Auto Scaling group is running at the desired capacity of 5 instances and receives a trigger from the Cloudwatch Alarm to increase the capacity by 1. The cool down period is 5 minutes.

    Cloudwatch sends another trigger after 2 minutes to decrease the desired capacity by 1. What will be the count of instances at the end of 4 minutes?

    • 7
    • 6
    • 4
    • 5
    Explanation:
    The cool down period is the time difference between the end of one scaling activity (can be start or terminate) and the start of another one (can be start or terminate). During the cool down period, Au-to Scaling does not allow the desired capacity of the Auto Scaling group to be changed by any other CloudWatch alarm. Thus, in this case the trigger from the second alarm will have no effect.
  15. An instance has enabled basic monitoring only for CloudWatch. What is the minimum time period available for basic monitoring?

    • 60 seconds
    • 360 seconds
    • 300 seconds
    • 240 seconds
    Explanation:
    When a user is setting up an alarm on the EC2 instance metric, the time period should be equal to or more than the metric frequency. For basic monitoring, the metric is monitored at every 5 minutes (300 seconds).
  16. Which of the following statements describes launch configuration in Auto Scaling?

    • A launch configuration is a template that an Auto Scaling group uses to launch EC2 instances.
    • A launch configuration is a template that an Auto Scaling group uses to define the max/minimum of instances.
    • A launch configuration is a template that an Auto Scaling group uses to schedule the scaling ac-tivity.
    • A launch configuration is a template that an Auto Scaling group uses to define the instance count.
    Explanation:
    A launch configuration represents a template that the Auto Scaling group uses to launch the Ama-zon EC2 instances. When you create a launch configuration, you specify information for the in-stances such as the ID of the Amazon Machine Image (AMI), the instance type, a key pair, one or more security groups, and a block device mapping.
  17. A user is collecting 1000 records per second. The user wants to send the data to CloudWatch

    using a custom namespace. Which of the below mentioned options is recommended for this activi-ty?

    • Create one csv file of all the data and send a single file to CloudWatch
    • Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch
    • It is not possible to send all the data in one call. Thus, it should be sent one by one. CloudWatch will aggregate the data automatically
    • Send all the data values to CloudWatch in a single command by separating them with a comma.
      CloudWatch will parse automatically
    Explanation:
    AWS CloudWatch supports the custom metrics. The user can always capture the custom data and upload the data to CloudWatch using CLI or APIs. The user can publish data to CloudWatch as single data points or as an aggregated set of data points called a statistic set using the command put-metric-data. It is recommended that when the user is having multiple data points per minute, he should aggregate the data so that it will minimize the number of calls to put-metric-data. In this case it will be single call to CloudWatch instead of 1000 calls if the data is aggregated.
  18. Amazon RDS provides Amazon CloudWatch metrics for your DB Instance deployments at no ad-ditional charge. You can use the AWS Management Console to view key operational metrics for your DB Instance deployments, including ____.

    • I/O activity, DB Instance connections, and number of users
    • DB Engine Version Management
    • username, I/O activity, and DB Instance connections
    • compute/memory/storage capacity utilization, I/O activity, and DB Instance connections
    Explanation:
    Amazon RDS provides Amazon CloudWatch metrics for you DB Instance deployments at no addi-tional charge. You can use the AWS Management Console to view key operational metrics for your DB Instance deployments, including compute/memory/storage capacity utilization, I/O activity, and DB Instance connections.
    Reference: https://aws.amazon.com/rds/postgresql/
  19. A custom network ACL that you create ____ until you add rules, and is not associated with a sub-net until you explicitly associate it with one.

    • blocks only inbound traffic by default
    • allows outbound traffic by default
    • allows all inbound and outbound traffic by default
    • blocks all inbound and outbound traffic by default
    Explanation:
    You can create a custom network ACL for your VPC. By default, a network ACL that you create blocks all inbound and outbound traffic until you add rules, and is not associated with a subnet until you explicitly associate it with one.
    The default NACL that is created with your VPC allows all inbound and outbound traffic by de-fault.
  20. What does Amazon ELB stand for?

    • Elastic Load Balancing
    • Elastic Linux Box
    • Encrypted Load Balancing
    • Encrypted Linux Box
    Explanation:
    Amazon ELB stands for Elastic Load Balancing. Elastic Load Balancing distributes incoming appli-cation traffic across multiple EC2 instances, in multiple Availability Zones. This increases the fault tolerance of your applications.