Module2: Introduction to Cloud Architecting Flashcards

1
Q

Role of the cloud architect

A

Apply best practice for a cloud service aiming at meeting technical and business needs through the application of the AWS well architected framework

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

Cloud Architect mindset

A

Backward: From the business need to the architecture

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

Year of Commercial appearance of AWS

A

2006

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

First AWS services

A

Amazon Simple Queue Services (SQS)
Simple Storage Services (S3)
Amazon Elastic Cloud Compute (EC2)

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

Cloud architecting lifecycle

A

Plan: Set technical strategies with business leads
Analyse solution to business need

Research: Investigate cloud services and workload requirement
Review existing architectures
Design prototype solutions

Build: Design the roadmap with milestones work streams and owner
Manage adoption and migration

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

6 Pillars of the AWS well architected framework

A
  • Operational Excellence
  • Security
  • Reliability
  • Performance Efficiency
  • Cost optimisation
  • Sustainability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The operational Excellence pillar

A
  • Run and Monitor systems that deliver business value
  • Continually improve supporting processes and procedures
  • View the entire workload as code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The security pillar

A

*Strong identity foundation (who has a key)
*Traceability (who opened a door)
*Security at all layers (Not because you enter the building that you can go into the safe)
*Risk assessment and mitigation strategies (if fire where are extinguishers, exit routes)

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

The Reliability pillar

A

*Recover quickly
*Dynamically meet demande
*Mitigate disruptions

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

The Performance efficiency pillar

A

*Choose and maintain efficient resources
*Democratize advanced technologies
*Employ mechanical Sympathy (use a tool with the knowledge of how it operates best)

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

The cost optimization pillar

A

*Measure efficiency
*Elimiate uneeded expense
*Adopt the right consumption model
*Consider using managed services

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

The sustainability pillar

A

*Establish sustainability goals
*Maximize utilisation
*Choose efficient hardware and software
*Reduce downstream impact

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

The AWS WA Tool

A

Review your workload and compare to best practices.
Delivers action plan
Provide a step by step guidance
consistent process to review and measure the architecture
Accessible in the management console

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

What is a trade off?

A

what you prioritoze depending on your need. But what you gain on one side, you may loose in the other:
Cost vs performance
Consistency and durability vs latency

Base your trade on empirical data and testing

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

What are anti patterns?

A

Bad solution design

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

Where should we be scalable ?

A

At every layer (everywhere)

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

How to be scalable?

A

Amazon CloudWatch can detect the load on the server CPU. A certain load for a certain period can trigger the increase or decrease of capacity through an alarm.
The alarm will trigger EC2 Auto Scaling.
Should go both ways (Up and down)

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

What is being elastic

A

Capacity to adjust resources up and downward to the workload

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

Best practice 1 :

A

Scalability

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

How are scalability and automation linked

A

With automation, you save time in being reactive to the workload

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

Best practice 2:

A

Automation

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

How to automate

A

CloudWatch => EC2 auto scaling => Automatic alarms => Log and tracking

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

Best Practice 3:

A

Use IaC

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

What’s IaC

A

infrastructure as Code: Provision your infrastructure as code (programmatically) instead of doing it manually.
Deploy duplicate, reduce config error, propagate changes…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Common use of IAC
Build test and deploy applications
26
Best practice 4:
Treat ressources as disposable. Automate, test, stop, replace, update. Don't get attached. Ressources are kleenex. Good hygiene is to replace,
27
Best practice 5:
Loosely coupled components
28
What does loosely coupled components mean
Don't make your infrastructure too rigid by tighing components togethers. Use tool like Elastic Load balancing to dynamically engage ressources, handle failures and scale components.
29
Two solutions to decouple components?
*Load balancer *Message queues
30
Best practice 6:
Design services not servers
31
Design services not servers: meaning?
EC2 let's you design your server. But!! Don't rely only on that. Use Container or serverless solutions when appropriate. Message queues to communicate Web assets can be stored off server (S3) Authentification can be handled by aws.
32
Services supporting best practice 6:
Lambda functions SQS messaging DynamoDB (no sql database) ELB (Loa balancer) SES (Simple email) Cognito (Identification)
33
Best practice 7:
Choose the right database
34
How to choose the right database?
Read and write neeeds Storage requirements Object size and nature Durability requirements Latency requirements # of users nature of queries strength of integrity control
35
Best practice 8:
Avoid single points of failure
36
How to think to avod single points of failure?
Assume everything fails. Then design backwards
37
How to avoid single point of failure?
Duplicate when needed to min. downtime depending on your SLAs. Common practice is to have a secondary database server provisionned with an image of the primary at regular intervals. If the primary goes offline then secondary takes over
38
Best practice 9:
Optimize for cost
39
How to optimize for cost
WHAT METRICS SHOULD I MONITOR RIGHT SIZING TURN OFF HOW FREQUENT DO I NEED THIS RESSOURCE CAN I REPLACE WITH MANAGED SERVICES
40
Best practice 10:
Use caching
41
What is caching
technique where upon first request, data is temporarily stored closer to the user, and reused for the subsequent request. Allows to make dat available more quickly
42
What does caching rely on?
Cloud Front and edge location
43
Benefits of caching
Quicker (Low latency) but also cheaper because not pulled from S3 anymore when cached.
44
Best practice 11:
Secure the entire infrastructure
45
How to secure the entire infrastructure?
Use managed ressources Log Isolate Encrypt at rest and in transit Granular access control MFA Automate deployments to keep security consistent
46
Key takeaways: Best practices for building solutions on AWS
As you design solutions, evaluate trade-offs and base your decisions on empirical data Follow these best practices when building solutions on AWS: *Implement scalability .*Automate your environment. *Treat resources as disposable .*Use loosely-coupled components. *Design services, not servers. *Choose the right database solution .*Avoid single points of failure.*Optimize for cost .*Use caching. *Secure your entire infrastructure
47
Regions
32
48
AZ
102
49
Data centers
200
50
What geographical feature for low latency ?
PoPs (Point of presence) Regional Edge Caches => Edgel locations
51
Why choose a spcific region
Regulation and conformity to laws applicable to org
52
Why choose a specific Availability Zone
To keep close to user and reduce latency
53
Why choose multiple AZ
To mitigate risks
54
AWS Gov CLoud
Restricted access for sensitive data requires special authorization
55
Are regions isolated
YES
56
Several AZ in region can one fail without impacting the others?
Yes. Built for failure independance. Located low risk site with power supply. Plan for disaster and distribute accross AZ
57
Local Zones
Exist close to areas wher no region exists to lower latency
58
Define Operational Excellence in the context of the Well-Architected Framework.
The ability to run and monitor systems to deliver business value and continually improve processes and procedures.
59
Explain Reliability in the AWS Well-Architected Framework.
The ability of a system to recover from failures and meet customer demands.
60
What are Well-Architected Tool’s main functions?
To assess workloads against the Well-Architected Framework and provide recommendations.
61
What is the importance of "failover" in Reliability?
Ensuring that applications can automatically switch to a backup system in case of failure.
62
How does AWS CloudTrail contribute to security?
By logging and monitoring account activity to track changes and detect anomalies.
63
Define “decoupling” in system architecture.
Designing systems so that components are independent, reducing the impact of failures.
64
What is the significance of Auto Scaling in Performance Efficiency?
Automatically adjusts resources to maintain performance and minimize costs.
65
What is Amazon CloudFront?
Content Delivery Network (CDN) that speeds up the distribution of static and dynamic web content.
66
How many Availability Zones are typically found in an AWS Region? A) At least one B) Two or more C) Five
B
67
Which AWS service helps monitor resource utilization? A) CloudWatch B) CloudFormation C) IAM
A
68
What is the primary function of AWS Auto Scaling? A) Load balancing B) Cost allocation C) Dynamic resource adjustment
C
69
What is the main purpose of Edge Locations? A) Hosting databases B) Providing low-latency content delivery C) Managing User identitites
B
70
What does AWS Config help with? A) Performance metrics B) Tracking resource compliance and changes C) User management
B
71
What is a common strategy for improving Reliability? A) Reducing redundancy B) Implementing failover solutions C) Increasing costs
B
72
In the context of the Well-Architected Framework, what is "decoupling"? A) Combining services for efficiency B) Isolating components to improve resilience C) Reducing costs by eliminating services
B
73
Which service is used to create a secure network infrastructure? A) VPC B) S3 C) EC2
A