SysOps Administrator Flashcards
(287 cards)
When configuring an Elastic Load Balancer, it is possible to register targets using…
Instance ID and a Private IP address.
How can you protect mission-critical resources deployed as a CloudFormation stack from being unintentionally updated or deleted during a stack update?
Use a Stack Policy
Load balancer best suited for load balancing of HTTP and HTTPS traffic and routing traffic based on the content of the request.
Application Load Balancer
Load Balancer designed for extreme performance and is capable of handling millions of requests per second while maintaining ultra-low latencies.
Network Load Balancer
Which EBS volume types are suitable for use as a boot volume?
Provisioned IOPS SSD (io2) and General Purpose SSD (gp2)
Which deployment strategy involves the creation of another environment to safely deploy a new version of your application without impacting your production environment?
The blue/green deployment strategy is a type of immutable deployment which also requires creation of another environment. Once the new environment is up and passed all tests, traffic is shifted to this new deployment. Crucially the old environment, that is, the “blue” environment, is kept idle in case a rollback is needed.” Reference Documentation: Immutable and Blue/Green Deployment (https://docs.aws.amazon.com/whitepapers/latest/practicing-continuous-integration-continuous-delivery/immutable-and-bluegreen-deployment.html)
Which deployment strategy allows you to deploy a new version of your application in batches?
“With rolling deployment, the fleet is divided into batches so that all of the fleet isn’t upgraded at once. During the deployment process two software versions, new and old, are running on the same fleet. This method allows a zero-downtime update. If the deployment fails, only the updated portion of the fleet will be affected.” Reference Documentation: Rolling Deployment (https://docs.aws.amazon.com/whitepapers/latest/practicing-continuous-integration-continuous-delivery/rolling-deployment.html)
You are a SysOps Administrator supporting 1000s of Linux servers. Your manager asks you to install the latest operating system and security-related patches on each server. What is the best approach to complete this task as quickly and efficiently as possible?
Use Systems Manager Patch Manager to patch the instances.
You would like to load balance traffic to your application that is running on multiple EC2 instances. Each instance has multiple private IP addresses associated with it, and you would like to load balance traffic to different IP addresses on the same instance, using the same port. How can you do this using an Application Load Balancer?
You can register the target using the private IP address that you would like to route the traffic to.
Which AWS service would you use to automate the process of creating and maintaining AMI Images?
EC2 Image Builder automates and simplifies the creation, maintenance, validation, sharing, and deployment of Linux or Windows images for use with EC2 and on-premises. Reference Documentation: EC2 Image Builder (https://aws.amazon.com/image-builder/)
You are planning to deploy a production database to EC2 and need to choose the best storage type. You anticipate that you will need a maximum of 20,000 IOPS during peak times, but an average of 8,000 - 10,000 IOPS. Which of the following storage options should you choose?
Provisioned IOPS provides high performance for mission-critical, low-latency, or high-throughput workloads, delivering a maximum of 64,000 IOPS per volume. Reference Documentation: Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html)
Which AWS service can you use to manage, configure, and provision AWS infrastructure as YAML or JSON code?
CloudFormation
Which EBS volume types CANNOT be used as a boot volume?
Cold HDD (sc1) is suitable for less frequently accessed data and Throughput Optimized HDD (st1) is suitable for Big data, data warehouses, and ETL (Extract, Transform, and Load) workloads. Both of these cannot be used as a boot volume.
Which Elastic Load Balancer status codes indicates a server-side error?
HTTP 5XX
Which EBS volume type is most suitable for boot disks and general applications, e.g., web server or application server?
General Purpose SSD (gp2) is suitable for boot disks and general applications.
You are supporting a website consisting of a number of EC2 instances behind an Elastic Load Balancer. You would like to capture detailed information relating to incoming HTTP and HTTPS requests to your Elastic Load Balancer. All of this data is highly sensitive and will need to be encrypted. Which of the following should you do?
Enable Elastic Load Balancer access logs, it capture information relating to incoming requests to your Elastic Load Balancer. Access logging is not enabled by default and you will need to enable it yourself. When you enable logging, the logs are encrypted and stored in an S3 bucket and decrypted when you access them.
You would like to find a solution to connect to private instances in your VPC from an untrusted network using SSH or RDP. Which of the following options is the best approach?
You should configure a bastion in the public subnet so that it is reachable from the internet. Then allow the bastion to SSH / RDP to your private instances. You should then be able to connect to the bastion from the untrusted network and from there, SSH / RDP to your private instances.
You are planning to deploy a big data solution that will run on EC2. You expect that the workload will be highly throughput-intensive and the data will be accessed on a daily basis by a team of data analysts. Which of the following EBS options should you choose for this solution?
Throughput Optimized HDD volumes are suitable for throughput-intensive workloads like big data, data warehouses, and log processing. These volumes are throughput-focused and are optimized for this use case. Reference Documentation: Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html#hard-disk-drives)
Which of the following can you use to protect critical CloudFormation stack resources from unintentional updates and mistakes caused by human error?
A Stack policy
You are using CloudFormation to deploy 5 new EC2 instances in us-east-1. Your stack deployment has failed with a “Resource limit exceeded” error. Which of the following options will help enable your stack to successfully deploy?
Delete any unnecessary EC2 instances in us-east-1 that are no longer required and request a limit/quota increase.
Which deployment strategy allows you to test a new version of your application with a small proportion of real customers before you roll it out to everybody, and acts as an early warning system to help surface issues with your new deployment?
Canary deployment
You are using CloudFormation to provision some new EC2 instances. Which section of the CloudFormation template enables you to input custom values like the name of an existing EC2 key pair to enable SSH access to your new EC2 instances?
The Parameters section of the CloudFormation template enables you to input custom values like the name of an existing EC2 key pair to enable SSH access to new EC2 instances.
You are the team lead for a Linux SysOps Support team. Your CTO has asked you to suggest a solution to automate the configuration management of all of your production and development EC2 instances, which are all running Amazon Linux 2. The solution needs to be compatible with Puppet because your team is already familiar with using Puppet. Which of the following would you suggest?
OpsWorks is an automated configuration management service compatible with Puppet and Chef.
What describes a bastion host?
- It provides access to a private network from an external network.
- It is used to mitigate the risk of allowing connections from external networks to instances launched in private subnets of your VPC.
- It allows you to safely administer EC2 instances without exposing them to the internet.