Best Practices Flashcards

1
Q

What is the advantage of the AWS-recommended practice of decoupling applications?

A

1) Reduces inter-dependencies so that failures do not impact other components of the application.
2) As application complexity increases, a desirable attribute of an IT system is that it can be broken into smaller, loosely coupled components. This means that IT systems should be designed in a way that reduces inter-dependencies—a change or a failure in one component should not cascade to other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is horizontal scaling in the AWS Cloud?

A

1) Adding more EC2 instances to handle an increase in traffic.
2) Scaling horizontally takes place through an increase in the number of resources (e.g., adding more hard drives to a storage array or adding more servers to support an application).
3) This is a great way to build Internet-scale applications that leverage the elasticity of cloud computing.
4) With horizontal-scaling it is often easier to scale dynamically by adding more machines in parallel. Hence, in most cases, horizontal-scaling is recommended over vertical-scaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Vertical scaling in the AWS Cloud?

A

1) Scaling vertically takes place through an increase in the specifications of an individual resource (e.g., upgrading a server with a larger hard drive, adding more memory, or provisioning a faster CPU).
2) On Amazon EC2, this can easily be achieved by stopping an instance and resizing it to an instance type that has more RAM, CPU, I/O,or networking capabilities. This way of scaling can eventually hit a limit and it is not always a cost efficient or highly available approach. However, it is very easy to implement and can be sufficient for many use cases especially as a short term solution.
3) Vertical-scaling is often limited to the capacity constraints of a single machine, scaling beyond that capacity often involves downtime and comes with an upper limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the “Principle of Least Privilege” refer to?

A

1) The principle of least privilege is one of the most important security practices and it means granting users the required permissions to perform the tasks entrusted to them and nothing more.
2) The security administrator determines what tasks users need to perform and then attaches the policies that allow them to perform only those tasks.
3) You should start with a minimum set of permissions and grant additional permissions when necessary. Doing so is more secure than starting with permissions that are too lenient and then trying to tighten them down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

List the 6 practices of AWS Well-Architected Framework

A

1- Stop guessing your capacity needs: Eliminate guessing about your infrastructure capacity needs
2- Test systems at production scale: In the cloud, you can create a production-scale test environment on demand, complete your testing, and then decommission the resources.
3- Automate to make architectural experimentation easier: Automation allows you to create and replicate your systems at low cost and avoid the expense of manual effort.
4- Allow for evolutionary architectures: In the cloud, the capability to automate and test on demand lowers the risk of impact from design changes. This allows systems to evolve over time so that businesses can take advantage of innovations as a standard practice.
5- Drive architectures using data: In the cloud you can collect data on how your architectural choices affect the behavior of your workload. This lets you make fact-based decisions on how to improve your workload.
6- Improve through game days: Test how your architecture and processes perform by regularly scheduling game days to simulate events in production.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A company has developed an eCommerce web application in AWS. What should they do to ensure that the application has the highest level of availability?

A

1) Deploy the application across multiple Regions and Availability Zones
2) The AWS Global infrastructure is built around Regions and Availability Zones (AZs).
3) Each AWS Region is a separate geographic area.
4) Each AWS Region has multiple, isolated locations known as Availability Zones.
5) Availability Zones in a region are connected with low latency, high throughput, and highly redundant networking. These Availability Zones offer AWS customers an easier and more effective way to design and operate applications and databases, making them more highly available, fault tolerant, and scalable than traditional single datacenter infrastructures or multi-datacenter infrastructures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

One of the most important AWS best-practices to follow is the cloud architecture principle of elasticity. How does following this principle improve your architecture’s design?

A

1) By automatically provisioning the required AWS resources based on changes in demand.
2) The concept of Elasticity involves the ability of a service to automatically scale its resources up or down based on changes in demand. For example, Amazon EC2 Autoscaling can help automate the process of adding or removing Amazon EC2 instances as demand increases or decreases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Adjusting compute capacity dynamically to reduce cost is an implementation of which AWS cloud best practice?

A

1) Implement elasticity
2) In the cloud, resources are elastic, meaning they can instantly grow ( to maintain performance) or shrink ( to reduce costs).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The principle “design for failure and nothing will fail” is very important when designing your AWS Cloud architecture. What AWS strategies or services adhere to this principle?

A

1) Availability zones - When designing your AWS Cloud architecture, you should make sure that your system will continue to run even if failures happen. You can achieve this by deploying your AWS resources in multiple Availability zones.
2) AWS Elastic Load Balancer - you can use the Elastic Load Balancer to regularly perform health checks and distribute traffic only to the healthy instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In order to implement best practices when dealing with a “Single Point of Failure,” you should aim to build as much automation as possible in both detecting and reacting to failure. What AWS services would help with that?

A

1) You should aim to build as much automation as possible in both detecting and reacting to failure.
2) You can use services like ELB and Amazon Route53 to configure health checks and mask failure by only routing traffic to healthy endpoints.
3) In addition, Auto Scaling can be configured to automatically replace unhealthy nodes.
4) You can also replace unhealthy nodes using the Amazon EC2 auto-recovery feature or services such as AWS OpsWorks and AWS Elastic Beanstalk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A company is introducing a new product to their customers, and is expecting a surge in traffic to their web application. As part of their Enterprise Support plan, what plan provides the company with architectural and scaling guidance?

A

1) AWS Infrastructure Event Management (IEM) is a short-term engagement with AWS Support, included in the Enterprise-level Support product offering, and available for additional purchase for Business-level Support subscribers.
2) AWS Infrastructure Event Management partners with your technical and project resources to gain a deep understanding of your use case and provide architectural and scaling guidance for an event.
3) Common use-case examples for AWS Event Management include advertising launches, new product launches, and infrastructure migrations to AWS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You have discovered that some AWS resources are being used in malicious activities that could compromise your data. What should you do?

A

Contact the AWS Abuse Team. The AWS Abuse team can assist you when AWS resources are being used to engage in the following types of abusive behavior:

1) Spam: You are receiving unwanted emails from an AWS-owned IP address, or AWS resources are being used to spam websites or forums.
2) Port scanning: Your logs show that one or more AWS-owned IP addresses are sending packets to multiple ports on your server, and you believe this is an attempt to discover unsecured ports.
3) Denial of service attacks (DdOS): Your logs show that one or more AWS-owned IP addresses are being used to flood ports on your resources with packets, and you believe this is an attempt to overwhelm or crash your server or software running on your server.
4) Intrusion attempts: Your logs show that one or more AWS-owned IP addresses are being used to attempt to log in to your resources.
5) Hosting objectionable or copyrighted content: You have evidence that AWS resources are being used to host or distribute illegal content or distribute copyrighted content without the consent of the copyright holder.
6) Distributing malware: You have evidence that AWS resources are being used to distribute software that was knowingly created to compromise or cause harm to computers or machines on which it is installed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the AWS Security team responsible for?

A

The AWS Security team is responsible for the security of services offered by AWS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the AWS Customer Service team responsible for?

A

1) The AWS Customer Service team is at the forefront of this transformational technology assisting a global list of customers that are taking advantage of a growing set of services and features to run their mission-critical applications.
2) The team helps AWS customers understand what Cloud Computing is all about, and whether it can be useful for their business needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

As part of the Enterprise support plan, who is the primary point of contact for ongoing support needs?

A

1) For Enterprise-level customers, a TAM (Technical Account Manager) provides technical expertise for the full range of AWS services and obtains a detailed understanding of your use case and technology architecture.
2) TAMs work with AWS Solution Architects to help you launch new projects and give best practices recommendations throughout the implementation life cycle.
3) Your TAM is the primary point of contact for ongoing support needs, and you have a direct telephone line to your TAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does AWS Support API provide?

A

The AWS Support API provides programmatic access to AWS Support Center features to create, manage, and close your support cases, and operationally manage your Trusted Advisor check requests and status.

17
Q

What does AWS Operations Support provide?

A

AWS Operations Support is an Enterprise support program that provides operations assessments and analysis to identify gaps across the operations lifecycle, as well as recommendations based on best practices.

18
Q

What service is used to ensure that messages between software components are not lost if one or more components fail?

A

1) Amazon Simple Queue Service (SQS)

19
Q

What is Amazon Simple Queue Service (SQS)?

A

1) Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available.
2) SQS lets you decouple application components so that they run independently, increasing the overall fault tolerance of the system.
3) Multiple copies of every message are stored redundantly across multiple availability zones so that they are available whenever needed.

20
Q

What is Amazon Simple Email Service (SES)?

A

Amazon SES (Amazon Simple Email Service) is a flexible, affordable, and highly-scalable email messaging platform for businesses and developers.

21
Q

What is Amazon Connect?

A

Amazon Connect is a cloud-based contact center service that makes it easy for businesses to deliver customer service at low cost.

22
Q

What is Amazon Direct Conect?

A

AWS Direct Connect is a cloud service solution that is used to establish a dedicated network connection between your premises and AWS.

23
Q

What does AWS provide to deploy popular technologies - such as IBM MQ - on AWS with the least amount of effort and time?

A

AWS Quick Start reference deployments

24
Q

What is AWS Quick Start?

A

1) AWS Quick Start Reference Deployments outline the architectures for popular enterprise solutions on AWS and provide AWS CloudFormation templates to automate their deployment.
2) Each Quick Start launches, configures, and runs the AWS compute, network, storage, and other services required to deploy a specific workload on AWS, using AWS best practices for security and availability.
3) Quick Starts are built by AWS solutions architects and partners to help you deploy popular technologies on AWS, based on AWS best practices.
3) These accelerators reduce hundreds of manual installation and configuration procedures into just a few steps, so you can build your production environment quickly and start using it immediately.

25
Q

What is the AWS Well Architected Framework?

A
It's a set of 5 guiding principles used to evaluate how well an architecture is aligned to AWS best practices. Five Pillars are: CORPS
  C: Cost Optimization
  O: Operational Excellence
  R: Reliability
  P: Performance Efficiency
  S: Security