Technology Flashcards

1
Q

How is the AWS global infrastructure organised?

A

Regions, Availability Zones and Edge locations

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

What is a region?

A

Physical geographical area consisting of 2 or more AZs

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

What is an availability zone?

A

One or more discrete data center with own redundant power, networking and connectivity, housed in separate facilities.

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

What is an edge location?

A

Endpoints for AWS used for caching content (typically CloudFront, AWS’s CDN). There are more edge locations than regions

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

Explain how an edge location works

A

If someone in London is trying to access a file stored in New York, it will query the edge location. As this is the first time, it will download it from NY. It will be cached here for TTL, meaning the next time someone needs it it will be much quicker

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

How do you choose which AWS region to select?

A

1) Data sovereignity laws: data may only be able to reside in certain countries
2) Latency to end user: where are the majority of your customers based?
3) AWS services: US East 1 has the most services, and other regions may be slower to gain access to services

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

What is the use case for developer support plan?

A

Experimenting with AWS

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

What is the use case for business support plan?

A

Production use of AWS

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

What is the use case for enterprise support plan?

A

Mission critical use of AWS

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

What is special about the enterprise support plan?

A

Receive a TAM (technical Account Manager). This is 1-1 with an account, and provides proactive guidance and best practices to help plan, develop and run your AWS solution, a support concierge who provides billing and account analysis and supports product launches and promotions

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

What is a billing alarm?

A

Sends a notification (SNS) whenever your bill goes over a certain amount. Important, as in the free tier whilst a lot is free, some services are not. Located in CloudWatch

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

How can you get automatic notifications if your account goes over £1000?

A

Set up a Billing Alarm in CloudWatch and set an SNS topic to email whenever you go over a threshold

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

What is IAM

A

Identity Access Management is a global service
Allows you to create users, groups and roles and give access to different levels
This is done from a root account
1) Activate MFA on your root account (google authenticator)
2) Create individual IAM users
3) User groups to assign permissions
4) Apply an IAM password policy (e.g. 8 letters, 1 capital)

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

What are the 3 kinds of access for IAM Users?

A

1) AWS Management Console: enables a password that allows users to sign into the console
2) Programmatic access using Command Line Interface (CLI): enables an access key ID and secret access key for AWS API, CLI, SDK and other development tools
3) SDK (software development kit)

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

What are user policies?

A

Always written in JSON format with key value pairs and version. Outlines permissions the user/group is allowed e.g. Admin Access. These can be copies from an existing user or attached directly

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

What is a root account?

A

The email address you use to set up your AWS account. This will always have full admin access to credentials should never be shared, instead create a user for each individual. Always secure the root account using MFA

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

What is a IAM group?

A

A place to store your users. These will inherit all permissions given to that group eg. HR, finance, sales

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

What is S3?

A

Simple Storage Service
One of the longest AWS services, it provides developers and IT teams with secure, durable and highly scalable object storage with a simple web interface to store and retrieve any amount of data from anywhere
Stores flat files (text, pictures, video).

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

What do objects consist of?

A
Key (name of the object) 
Value (data, made up of bytes)
Version ID
Metadata
Sub resource (access control list and Torrent)
Files can be 0 bytes - 5TB
Unlimited storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are S3 buckets and how are they stored

A

Files are stored in buckets (folder in the cloud). S3 is a universal namespace, meaning names must be unique globally.
Bucket names make up the DNS: s3.region.amazonaws.com/bucket name

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

What happens when you upload a file to S3

A

Receive a HTTP200 code if successful

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

How does data consistency work for S3?

A

Read after Write Consistency for PUTS of new objects: if you are writing another file (PUTTING it into S3) and read i immediately after, it will be available)

Eventual Consistency for overwrite PUTS and DELETES: if you update/delete an existing file and read it immediately, you may get an older version or may get new version. Takes time to propagate

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

What is the different between object based storage and block based storage

A

Object based storage (S3) allows you to upload flat files that don’t change. EBS allows you to install an OS or DB

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

What guarantees do Amazon offer for S3?

A

1) Built for 99.99% availability

2) 99.999999999 (11 9s) durability meaning you wont lose access to the file

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

What are the features of S3?

A

1) Tiered storage available
2) Lifecycle Management(manage which storage tier it goes to over time)
3) Versionining (if overwritten without authorization, can restore)
4) Encryption
5) Secure data using Access Control Lists and Bucket Policies, or via IAM policies

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

What is an Access Control List

A

Access restricted to an individual object

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

What is a Bucket Policy

A

Policy of permissions work across all objects within a bucket

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

What are the 6 S3 Storage classes

A

1) S3 standard
2) S3 Infrequently Accessed
3) S3 1 Zone IA
4) S3 Intelligent Tiering
5) S3 Glacier
6) S3 Glacier Deep Archive

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

What is S3 Standard storage class

A

Stored redundantly, access via multiple devices in multiple facilities and designed to sustain the loss of 2 facilities concurrently
99.99% availability, 11 9’s durability

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

What is S3 IA

A

For data that is accessed less frequently, but requires rapid access when needed. Lower fee than S3 but are charged a retrieval fee

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

What is S3 One Zone IA

A

For where you want a really low cost option for IA data, but do not require multi-AZ resilience

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

What is S3 intelligent tiering?

A

Designed to optimize costs by automatically moving data to the most effective access tier, without performance impact or operational overhead

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

What is S3 Glacier?

A

Secure, durable and low-cost storage class for data archiving. You can reliably store any amount of data that is competitive/cheaper than on-prem solutions. Retrieval times configurable from hours to minutes

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

What is S3 Glacier Deep Archive

A

Amazon S3 slowest cost storage. Retrieval time of 12 hours

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

Which S3 classes charge a retrieval fee per GB retrieved?

A

S3 IA, S3 One Zone IA, S3 Glacier, S3 Glacier Deep Archive

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

Which S3 classes have a minimum capacity charge per object

A

S3 IA, S3 One Zone IA, S3 Glacier, S3 Glacier Deep Archive

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

How are you charged for S3?

A

1) Storage (per GB)
2) Number of requests
3) Storage Management pricing
4) Data transfer pricing
5) S3 transfer acceleration
6) Cross region replication

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

What is S3 transfer acceleration?

A

Enables fast, easy and secure transfer of files over long distances between users and S3 buckets. Takes advantage of Amazon CloudFront’s globally distributed edge locations. As the data arrives at an edge location, data is routed to Amazon S3 over an optimized network path. Used for performance

In other words, users want to upload file to bucket hosted in London. If you have enabled Transfer acceleration, users will upload the buckets to edge location nearest to them. Edge location uses Amazons super fast network to upload this to the S3 bucket over their own internal network (not traversing the general internet). Can run a check to see how much quicker this would be (normally faster % if further away)

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

What is cross region replication?

A

Files are automatically replicated to another bucket in another region for disaster recover

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

Is S3 global or regional

A

Buckets can be viewed globally but are created in a region

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

What are the 3 ways to restrict bucket access

A

1) Bucket Policy
2) Access control List (object policy)
3) IAM policies to users and groups

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

True or False: S3 is serverless?

A

True

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

How do you create an S3 website?

A

Create a bucket and upload index.html and error.html file. Receive HTTP200 message.Ensure permissions are public. Enter into bucket properties and allow static web hosting and select index and error documents. Locate bucket policy and enter a policy. Update bucket name with ARN and access static website via the link

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

Which websites cannot be hosted on S3?

A

Websites that require DB connects (e.g. wordpress)

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

What is CloudFront?

A

Amazon’s Content Deliver Network: A system/network of distributed servers that deliver webpages and web content to a user based on the geographic location of the user, origin of the webpage and content delivery server. Can be used to deliver entire websites, including dynamic, static, streaming and interactive content. Requests for content are automatically routed to the nearest edge location to improve performance.

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

Explain the difference between accessing web content with and without CDN

A

Without: User from Australia trying to access video stored on London Server. They connect to London and download, which can take a long time depending on connection speeds

With: User from Australia trying to access video stored on London Server. First, they query and edge location for a copy of the file. As this is the first time, this will connect to the origin and download, where it is stored and streamed to the user. The second time the edge location is queried, this is cached and can be downloaded from the edge location
A file is cached for a length of time determined by the TTL (given in seconds). Typically 48 hours.

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

What does edge locations, origin and distribution mean in the context of CloudFront

A

Edge Location: Location where content is cached
Origin: origin of all the files a CDN will istribute (S3, EC2, ALB or route 53)
Distribution: Name given to CDN which consists of a collection of edge locations

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

What are the two distribution types

A

Web distribution: for websites

RTMP: Used for media streaming (Adobe flash). Not commonly used anymore

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

True or False: Edge locations are read and write

A

True: you can put and object to edge locations to be uploaded as well as download from them

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

Can you clear cached objects from edge location?

A

Yes, but you will be charged

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

What is EC2

A

Elastic Cloud Compute. One of the older services, it is a virtual server/s in the cloud and is compute based (not serverless). It is a web service that provides resizable compute capacity in the cloud, reducing the time required to obtain and boot new server instances to minutes, allowing you to scale as requirements change

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

What are the 4 EC2 pricing models?

A

1) On demand
2) Reserved
3) Spot
4) Dedicated hosts

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

What is EC2: on demand pricing model and use case?

A

Pay fixed rate by hour/second with no commitment
Use case: Users wanting low cost and flexibility without up-front payments and commitment, apps with short term unpredictable workloads that cant be interrupted, or applications being developed/tested for the first time

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

What is EC2: reserved pricing model and use case?

A

Provides you with capacity reservation and offer a significant discount. Contracts terms are 1-3 year. Pay less for longer contracts and upfront
Use case: Apps with steady state/predictable usage, applications that require reserved capacity or users able to make upfront payments to reduce costs further

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

What are the 3 reserved pricing types?

A

1) Standard reserved instances: offer 75% off on demand instances. May more up front = greater discount
2) Convertible reserved instances: offer 54% off on demand instances. Ability to cange attributes of the RI as long as the exchange results in creation of resered instance of equal or greater value
3) Scheduled reserved instance: Available to launch within the time windows you reserve, to match capacity reservation to predictable recurring schedule e.g. 9-10 every day

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

What is EC2: spot pricing model and use case?

A

Enables you to bid the price you want for instance capacity, providing cost savings if your applications have flexible start/end times. When the price is above your bid, you lose the server
Use case: applications with a flexible start and end time, users with urgent computing need for large amounts of additional capacity, or apps only feasible at low computer prices e.g. genomics companies do work in the middle of the night

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

What is EC2: dedicated host pricing model and use case?

A

Physical EC2 servers dedicated for your use. Help reduce costs by allowing you to use existing server bound software licenses. Can be purchased on demand (hourly) or reserved (70% off)
Use case: useful for regulatory requirements that may not support multi-tenant virtualisation, licensing which does not support multi tenancy or cloud deployments.

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

What are the different families of EC2 instances?

A
FIGHTDRMCPXY
F - FPGA
I - IOPS (storage)
G - Graphics
H - High Disk Throughput 
T - Cheap general purpose (think T2)
D - Dense storage 
R - RAM 
M - Main choice for general purpose 
C - Compute 
P - Graphics (pics)/ general purpose 
X - Extreme memory 
Z - Extreme memory and CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

What is Elastic Block Store (EBS)?

A

Virtual hard-disk that EC2 uses. Allowsyou to create storage volumes and attach them to EC2 instances. Once attached you can create a file system on top of these volumes, run a DB etc. Amazon EBS volumes are placed in a specific AZ where they automatically replicate to protect you from failure

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

What are the two types of EBS?

A

1) SSD
a) General Purpose SSD (GP2) - balance price and performance
b) Provisioed IOPS SSD (IO1) - Highest performance SSD volume for mission critical low latency or high throughput workloads

2) Magnetic
a) Throughput optimised HDD (ST1) - low cost HDD (hard disk drive) volume for frequently accessed, throughput intensive workloads (data warehouse)
b) Cold HDD (SC1) Lowest cost HDD volume for less frequently accessed workloads
c) Magnetic - previous generation

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

True or False: EC2 is a global feature

A

False - it is regional

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

Which 3 EBS types can a root EC2 have?

A

GP2, IO1 or magnetic

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

Explain the functions of ports

A

Allow computers to communicate, be restricting which computers can talk to it. To allow all information in, you can soecify 0.0.0.0/0, or you can restrict it to different ports (e.g. port 80). Different types of computers have different ports:
SSH: Port 22
Microsoft: remote desktop protocol port 3389
HTTP: Port 80
HTTPS: Port 443

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

What is a key pair

A

When you provision and EC2 instance you get a key pair, which allows you to log in to the instance. This consists of a public and private key. AWS stores the public key and you store the private key, and together they allow you to connect to your instance securely

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

True or False: EC2 is serverless?

A

False - it is compute service and is a virtual server in the cloud

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

What is a security group

A

Similar to a firewall in the cloud, it can determine which IP addresses can access the server. E.g. create a security group WebDMZ which only allows Port 80 and Port 22 to access, but all IP addresses from this port

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

Recap: what are the 3 ways you can interact with AWS

A

1) Console
2) CLI
3) SDKs

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

How can you apply roles for security with EC2

A

Create a role in IAM and attach permission policies (e.g. full S3 access), and attached the role to the EC2 instance. This is much more secure than using access key IDs and secret access keys and are easier to manager

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

When can you apply roles to EC2

A

At any time, and are applied immediately

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

True or False: Roles are regional?

A

False, roles are universal so you don’t need to specify what region they are in, similar to users (IAM is a global service)

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

Can you turn your EC2 instance into a web server?

A

Yes, by installing a programme on EC2 (httpd) and uploading an index file, you can visit the EC2 IP address and see a HTML page

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

What is a Load Balancer

A

Elastic Load Balancing automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions. It can handle the varying load of your application traffic in a single Availability Zone or across multiple Availability Zones. Tey are redundant (spread across multiple AZs)

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

What are the 3 types of Load Balancers?

A

1) Application Load Balancer: application aware and can see into layer 7 and make intelligent routing decisions
2) Network load balancer: ultra high performance and static IP addresses
3) Classic Load Balancer: Previous generation and slowly being phased out. Used by Test/Dev to keep costs low

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

How many AZs do you set up your Load Balancer in?

A

Several (all of them if possible) for fault tolerance

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

When setting up multiple EC2 instances to load balance, what is key to remember

A

Set the up in different AZs so if one goes down there is no outage.

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

What are relational databases (RDS)

A

Like a traditional spreadsheet, the actual file is the database consisting of table/s. Within each table is a number of rows and columns. If you add a new column, you have to fill this out for each row (i.e. each value has a document for each factor)

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

Name RDS’s on AWS (6)

A

1) SQL Server
2) Oracle
3) MySQL server
4) PostgreSQL
5) Aurora
6) MariaDB

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

What are two key features of RDS

A

1) Multi AZ for disaster recovery. An EC2 may point at a primary RDS DB, but if this connection is lost it will be pointed to a secondary DB in a secondary AZ. This is done through turning on RDS Multi AZ
2) Read replicas for performance. Replicas of prod DB and direct traffic to read from the replica rather than the Prod to improve performance
You write to the primary DB, which is replicated to the read replica. If the primary database goes down this is not carried over but will be unable to write. Can have several replicas for increased performance

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

What are non relational Databases

A

Consists of a collection (like a table)
Inside is a document (like a row)
Within this is a field (key value pairs) e.g. id: 1234
You can add more fields within a document but this wont affect the other documents, meaning one document can have 5 fields and another have 10
Key features:
- Columns in the table can vary, but this will not affect the other rows allowing for more flexibility

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

Name a non relational database (noSQL)

A

Dynamo DB

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

What is OLTP

A

Online Transaction Processing, performed by RDS
For example, this pulls a row of data depending on a key value and you receive everything in that row (an extract of the data row)

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

What is OLAP

A

Online Analytic Processing performed by RedShift
Used for pulling in a large number of records and performing analytics on this. These queries would normally make a huge hit on performance, hence created data warehousing

OLAP example: To understand the net profit for EMEA and pacific digital records, pull all sales, unit cost, sales price and then do calculation

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

What is data warehousing

A

Used for business intelligence, it allows you to do complex tasks without impacting the primary database, usually used by management to do queries on data

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

What is Amazons data warehousing service and how does it differ to DBs

A

Redshift

Data warehousing DBs have a different type of architecture at both DB and infrastructure layer

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

What is ElastiCache

A

Web service that makes it easy to deploy, operate and scale an in-memory cache in the cloud. The service improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches instead of relying entirely on slower disk-based databases

E.g. when you go to amazon.com, it always shows you the most popular products. Instead of sending 10000 queries for the 10000 people on the site, it will query elasticache which caches the most common queries and returns the result much faster. Uncommon queries are still made to the DB, but there is reduces traffic so improved performance

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

What two open source in memory caching engines does elasticache support

A

Memcached and Redis

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

How do you provision an RDS instance

A

Create and RDS and select its security group
Creat an EC2 instance(from a bootstrap which has wordpress downloaded) and select its security group
Assign the RDS endpoint as the DB host in the EC2
Wordpress will tie the IP adress to the EC2 it was provisioned on. Change this to ALB IP address so that if EC2 is terminated site still works

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

What does creating an image of an EC2 instance do

A

Creates a snapshot allowing you to provision the exact same service

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

Are RDS’s multi AZ?

A

They are installed locally on the EC2 but wont be Multi AZ unless you do replication between them

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

How can autoscaling use an EC2 image

A

Deploy autoscaling from the EC2 image, so that you can deploy 2 identical EC2 instances across 2 AZs for a fault tolerant website. This would scale depending on scaling polciy (e.g. CPU utilization)

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

What is DNS

A

Domain Name System is the process computers use to resolve domain names to IP addresses
For example, you can create a DNS and point it at an S3 bucket to create a serverless website

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

When registering a domain name, what do you need to rememeber

A

You need to ensure you have an S3 bucket with the same name (with .com at the end). S3 buckets are universally named so will be unique

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

What is Amazons DNS service called

A

Route 53

94
Q

True or False: Amazon DNS is global

A

True

95
Q

What is Elastic Beanstalk

A

Provisions and configures AWS services from code, including security groups, load balancers, health checks, with one click of a button. This removes the hassle of configuration and dependencies, all you have to worry about is the code.

Alike a beanstalk, it grows out the infrastructure beneath you

96
Q

What is CloudFormation

A

Turns infrastructure into code, allowing you to deploy services to multiple regions and multiple AWS accounts in minutes

97
Q

How does CloudFormation work

A

Create a stack (either your own template, sample template or create a template in designer). This will then provision an environment. The time it takes to configure the environment depends on the complexity of the environment

To clean up, you can delete the whole stack rather than each component individually)

98
Q

Are elastic beanstalk and CloudFormation free

A

Yes, they are free services but the resources they provision are not free

99
Q

What is the difference between elastic beanstalk and CloudFormation

A

Elastic beanstalk is more limited in what it can configure and is not programmable. It is focused on applications, so you tell it what application you want and it produces the infrastructure beneath it, you dont need to know what you need. CloudFormation can provision almost any AWS service and is complete programmable. You need to know what you need and their dependencies and write this in code (or use a sample template) which you can then deploy easily

100
Q

Architecting for the cloud best practices: Traditional Computing Vs Cloud Computing

A

1) IT assets as provisioned resources (rather than purchasing physical servers)
2) Global, available and scalable
3) High level managed services presented as a product, e.g. machine learning
4) Built in security
5) Architecting for costs, to be very cost efficient
6) Operations on AWS: - rearchitecting between EC2 and RDS and serverless

101
Q

Architecting for the cloud best practices: What are the 5 design principles

A

1) Scalability
2) Disposable resources instead of a fixed server
3) Automation
4) Loose coupling
5) Services not servers

102
Q

Architecting for the cloud best practices: What does scalablity mean

A

Can scale up (increase server size) or scale out (multiple VMs behind an ELB). There are 7 ways to scale out:

1) Stateless applications (lambda within alexa runs an algorithm, returns it and forgets)
2) Distribute load to multiple nodes (e.g. RDS with read replicas)
3) Stateless components. The more you have the easier to scale e.g. storing sign in details as a cookie
4) Stateful components. Store some information e.g. what they are purchasing in a DB rather than as a cookies
5) Implement session affinity (sticky sessions). Put a cookie in a browser, so everytime you visit a site an ALB will detect cookie and send them to the same EC2 instance
6) Distributed processions
7) Implement distributed processing. E.g. elastic map reduce - have a whole fleet of EC2 working to process data, rather than a single EC2

103
Q

Architecting for the cloud best practices: What does disposable resources instead of fixed servers mean

A

You dont want to be locked into contracts.

1) Instantiating compute resources using boostrapping or golden images
2) Infrastrcture as code: use CloudFormation to provision resources quickly

104
Q

Architecting for the cloud best practices: What does automation mean

A

1) Serverless management and deployment: when you move to a severless env all you nee dot worry about is deployment using code pipeline/ code deploy
2) Infrastructure management and deployment: e.g. elastic beanstalk, systems manager, autoscaling
3) Alarms and events: CloudWatch alarms (exceed threshold) or events (when something happens), AWS lambda sceduled events and AWS WAF security information

105
Q

Architecting for the cloud best practices: What does loose coupling mean

A

Well defined interfaces: API Gateway to create APIs and expose them to the internet
Service discovery: point EC2 instance to DB via DNS name with multi AZ turned on
Asynchronous integration: Loosely oupled environments are less likely to fail and give resilience. For example, you can have EC2 pulling jobs from a queue using SNS, but if this fails another EC2 will pull it from the queue
Distributed systems best practices: graceful failure e.g. error page

106
Q

Architecting for the cloud best practices: What does services not servers mean

A

Managed services (e.g. lambda, roue 52) and serverless architecture

107
Q

Architecting for the cloud best practices: What are the 5 database types and anti-patterns (cases where they shouldn’t be used)

A

1) RDS (Aurora) - scalable, high availability, anti patterns: no need to join or complex transactions
2) Non-RDS/No SQL (Dynamo DB) - scalable, high availabilitu, anti patters: require join or complex transactions
3) Data warehouse (redshift) - scalable, high availability, anti patterns: not meant for OLTP
4) Search (Cloud Search and Elastic Search) - scalable, high availability
5) Graph DB (Neptune) - scalable, high availability

108
Q

Architecting for the cloud best practices: How do you manage increasing volumes of data

A

A data lake is an architectural approach that allows you to store massive amounts of data in a central location so that its readily available to be categorized, processed, analyzed and consumed by a diverse group within your ogranisation. Since data can be stored as it, you dont have to convert it to a pre-defined schema and know what questions to ask about your data before hand. Create this in S3 then use athena to run SQL queries

109
Q

Architecting for the cloud best practices: How do you remove single points of failure

A

1) Introduce redundancy
2) Introduce mechanism to detect failure
3) Have durable data storage (not one zone S3)
4) Automate multi-data center resilience so if one goes down this doesn’t carry over
5) Fault isolation and traditional horizontal scaling - isolating faults and scaling out (EC2 behind ELB)

110
Q

Architecting for the cloud best practices: How do you optimise for cost

A

1) Right size
2) Have elasticity to grow/shrink
3) Take advantage of purchasing options (reserved, spot, on demand etc)

111
Q

Architecting for the cloud best practices: what are the two types of caching

A

1) Application caching (using elasticache - cache frequently used queries)
2) Edge caching - CDN applications like CloudFront

112
Q

Architecting for the cloud best practices: What are features of security

A

1) Use AWS features for defence in depth
2) Share security responsibility with AWS
3) Reduce privileged access to users
4) Security as code: Create golden environment so use hardened EC2 with securty patces on and refernce these in cloud formation template
5) Real time auditing: AWS inspector and security services

113
Q

Which AWS services are global? (5)

A
IAM
Route 53
Cloudfront
SNS
SES
114
Q

Which services give global view but are regional

A

S3

115
Q

What AWS services can be used on-prem?

A
Snowball
Snowball edge
Storage gateway
Code Deploy
OpsWork
IOT Greengrass
116
Q

What is snowball

A

A PB-scale data transport solution that uses secure appliances to transfer large amounts of data into and out of AWS cloud. Think of it as a gigantic disk to move your data into AWS. You get the disk delivered to HQ (normally 80TB) and unbload data and ship back to Amazon. Speeds up process of uploading large amounts of data to Amazon

117
Q

What is snowball edge

A

Similar to snowball but with CPU (basically a computer with storage) and allows you to deploy lambda functions on premise. Used by bowing to do aircraft testing

118
Q

What is Storage Gateway?

A

Similar to snowball but stays on prem at all times. Can be physical or virtual. Essentially a way of caching files inside HQ and replicating these to S3. If you lose internet connection you still have them locally

119
Q

What is Code deploy?

A

Deploy code to EC2 instances and also to on prem web servers.

120
Q

What is OpsWork?

A

AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet. Chef and Puppet are automation platforms that allow you to use code to automate the configurations of your servers. OpsWorks lets you use Chef and Puppet to automate how servers are configured, deployed, and managed across your Amazon EC2 instances or on-premises compute environments.

121
Q

What is IOT Greengrass

A

Build IOT solutions that communicate with the cloud and each other

122
Q

Which AWS services can be used to deploy applications on premise

A

CodeDeploy

OpsWorks

123
Q

What is CloudWatch?

A

Monitoring service to monitor AWS resources and applications that run in AWS. Can monitor:
Host Level metrics: CPU, Network, Disks, Status checks
Compute: EC2 instances (every 5 mins by default, but can turn on detailed monitoring for every 1 min), autoscaling, ELB, Route 53
Storage: EBS, Storage Gateway, CloudFront

124
Q

What is the difference between CloudTrail, CloudWatch, AWS Inspector and AWS trusted advisor?

A

CloudTrail: Logs events within your environment
CloudWatch: Monitors performance of the environment
Inspector: Agent installed that inspects EC2 for vulnerabilities
Trusted Advisor: Online resource to reduce cost, increase performance and improve security in real time

125
Q

What is AWS Systems Manager?

A

Systems Manager provides a unified user interface so you can view operational data from multiple AWS services and allows you to automate operational tasks across your AWS resources

Allows you to manage EC2 at scale. E.g. have an EC2 fleet of hundred of instances. If you SSH into each to run an update this will take a lot of time. Instead, deploy EC2 instances with software installed allowing you to connect to Systems Manager and run commands across the whole fleet

126
Q

Which of the following Route53 policies allows you to

a) route data to a second resource if the first is unhealthy
b) route data to resources that have better performance

1) Failover routing and simple routing
2) Failover Routing and Latency-based routing
3) Geolocation routing and latency-based routing
4) Geoproximity routing and geolocation routing

A

2) Failover Routing and Latency-based routing

127
Q

IAM policies are written using….

A

JSON

128
Q
Which of the following are types of cloud computing deployments 
Public
Private
Mixed
Hybrid
A

Public, private and hybrid

129
Q

What is an AZ

A

Distinct location within an AWS region that are engineered to be isolated from failures

130
Q

How may AZs are there (at least) per AWS region

A

2

131
Q

True or false: S3 can be used to host a dynamic website, like one that runs on a LAMP stack

A

false

132
Q
Which of the following data archival services is extremely inexpensive, but has a several hour data retrieval window?
S3-RRS
Glacier
S3-IA
S3 - 1 Zone - IA
S3
A

Glacier

133
Q

What is an AWS region

A

Distinct location within a geographic area designed to provide high availability to a specific geography

134
Q

True or False: Access Control lists are used to make entire buckets public

A

False - bucket policies would be used

135
Q

Which of the following are valid access types for an IAM user
SDK
Emergency access via IAM
Programmatic access via CLI
Security group access via AWS command line
AWS Management Console Access

A

SDK, CLI, Console

136
Q

What is a security group

A

Similar to a firewall, determines what ports can access your server

137
Q

True or false: there are more regions than AZs

A

False

138
Q
Which of the following are support levels offered by AWS?
Basic
Business
Individual
Developer
Start Up
A

Basic
Business
Developer

(4th would be enterprise)

139
Q

Where is CloudFront content cached

A

Edge locations

140
Q

What are some features of consolidated billing (3)

1) Charging based per VPC
2) Multiple standalone accounts are combined and may reduce your overall bill
3) A single bill is issue containing all charges for AWS accounts
4) Account charges can be tracked individually

A

2) Multiple standalone accounts are combined and may reduce your overall bill
3) A single bill is issue containing all charges for AWS accounts
4) Account charges can be tracked individually

141
Q

What is the document used to grant permissions to uses, groups and roles

A

Policy

142
Q
Which is not a valid CloudFormation template section
Parameters
Options
Outputs
Resources
A

Options

143
Q

What are the 9 valid sections allowed within a CloudFormation template?

A
Version
Description
Metadata
Parameters
Mappings
Conditions
Transform
Resources
Outputs
144
Q

True or false: to restrict access to an entire bucket, you use bucket control lists, and to restrict access to an individual object you use object policies

A

False. You use bucket policies and access control lists, respectively

145
Q

Which Support level offers the assistance of a TAM

A

Enterprise

146
Q

What is Amazon LightSail?

A

PAAS

Out of the box cloud that deploys cloud which is then customisable

147
Q

True or false: Both you and a friend can have an S3 bucket called ‘mytestbucket’

A

false - S3 bucket names are global and must be unique

148
Q

True or false: a distribution is what we call a series of edge locations that make up a CDN

A

True

149
Q

True or false: S3 is an object storage suitable for storage of flat files

A

True

150
Q

Which EC2 option is best for long-term workloads with predictable usage patterns?

A

Reserved

151
Q

What does S3 Transfer Accleration use to get your data to AWS quicker

A

Edge locations

152
Q

Which are advantages of cloud computing?

1) Variable expense
2) Increase speed and agility
3) Elasticity
4) Ability to go global in minutes
5) requires large amounts of capital

A

1) Variable expense
2) Increase speed and agility
3) Elasticity
4) Ability to go global in minutes

153
Q

Which Support levels offer 24/7 support via phone or chat?

A

Business and Enterprise

154
Q

What is EBS?

A

Virtual hard-disk in the cloud

155
Q

True or false: IAM is regional?

A

False

156
Q

Which are steps you should take to secure your AWS account?

1) Create individual IAM users
2) Activate MFA
3) Create Root IAM role
4) Use groups to assign permissions

A

1) Create individual IAM users
2) Activate MFA
4) Use groups to assign permissions

157
Q

True or False: Cloudfront origin can be S3, EC2, ELB or Route 53

A

True

158
Q

True or false: objects stored in S3 are stored in a single, central location in AWS

A

False, objects are stored in multiple servers in multiple facilties

159
Q

What is DMS and SMS?

A

Database Migration service, used for conventional data migrations

Server Migration Service: Targets virtual machines to replicate virtual machines up to AWS cloud. Can do 50 concurrently at the same time

160
Q

What is Lamdba

A

AWS FaaS offering letting you run code without provisioning or managing servers

161
Q

What is EMR

A

Elastic Map reduce Web service making it easy to process large amounts of data efficiently (e.g. using EC2 fleets)

162
Q

What support services do all accounts receive as standard?

A

Billing support

163
Q

What is the AWS managed DB and what is the benefit

A

Aurora- up to 5x faster than traditional MySQL database

164
Q

What are the 5 pillars of the AWS Well Architected Framework?

A

1) Operational Excellence - ability to support development and run workload effectively
2) Security - Ability to protect data, systems and assets
3) Reliability- Ability of a workload to perform its intended function correctly and consistently
4) Performance efficiency - To use computing resources efficiently to meet system requirements
5) Cost Optimization - Ability to run systems to deliver business value at lowest price point

When architecting workloads, you make trade-offs between pillars based on your
business context.

165
Q

What are the general design principles of the AWS Well Architected Framework?

A

1) Stop guess capacity needs - scale automatically rather than pay for idle capacity
2) Test systems at production scale in test environment
3) Automate to make architectural experimentation easier - create and replicate workloads at low cost to avoid expense of manual effort
4) Allow for evolutionary architectures - Traditional environments, architecture is a static one time event Cloud allows you to evolve
5) Drive architectures using data - collect data on how your architectural choices affect behavior of your workload
6) Improve through game days - test performance by scheduling game days to simulate events in production

166
Q

What is EFS

A

Elastic File Storage. Amazon Elastic File System (Amazon EFS) provides a simple, scalable, fully managed elastic Network File System (NFS) for use with AWS Cloud services and on-premises resources.

167
Q

What is direct connect

A

Connect your office or physical data centers to AWS using dedicated telephone line rather than internet, e.g. for security reasons or if you need reliable internet connection if you are pushing a lot of internet up or down from AWS

168
Q

What is Cloud Search

A

Managed service in the AWS Cloud that makes it simple and cost-effective to set up, manage, and scale a search solution for your website or application.

169
Q

What is Elastic Search

A

Elasticsearch is an open-source, RESTful, distributed search and analytics engine.

You can send data in the form of JSON documents to Elasticsearch using the API or ingestion tools such as Logstash and Amazon Kinesis Firehose. Elasticsearch automatically stores the original document and adds a searchable reference to the document in the cluster’s index. You can then search and retrieve the document using the Elasticsearch API.

170
Q

What is kinesis

A

Streaming and analysis real time data at huge scale and store data per hour, e.g. if you want to analyse social media streams for sentiment analysis

171
Q

What is data pipeline?

A

Allows you to move data from one source to another e.g. from S3 to dynamo DB

172
Q

What is quicksite?

A

Business analytics tool and create visualisations/ dashboards for data existing in AWS

173
Q

What is certificate manager?

A

Gives free SLL certificates for domain name

174
Q

What is directory service

A

Use active directory (use with MS) with AWS)

175
Q

What is service catalog

A

Designed for larger enterprises, allowing you to build out which services are authorised and which is not

176
Q

What is step functions

A

AWS Step Functions is a serverless function orchestrator that makes it easy to sequence AWS Lambda functions and multiple AWS services into business-critical applications. Through its visual interface, you can create and run a series of checkpointed and event-driven workflows that maintain the application state. The output of one step acts as input into the next

177
Q

SWF simple workflow

A

Amazon SWF helps developers build, run, and scale background jobs that have parallel or sequential steps. You can think of Amazon SWF as a fully-managed state tracker and task coordinator in the Cloud.

178
Q

What is API Gateway

A

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the “front door” for applications to access data, business logic, or functionality from your backend services. Using API Gateway, you can create RESTful APIs and WebSocket APIs that enable real-time two-way communication applications.

179
Q

What is Appstream

A

Amazon AppStream 2.0 is a fully managed application streaming service. You centrally manage your desktop applications on AppStream 2.0 and securely deliver them to any computer.

180
Q

What is Elastic Transcoder

A

It is designed to be a highly scalable, easy to use and a cost effective way for developers and businesses to convert (or “transcode”) media files from their source format into versions that will playback on devices like smartphones, tablets and PCs.

181
Q

What is code commit

A

Alike GitHub, its a way to store your code
AWS CodeCommit is a version control service hosted by Amazon Web Services that you can use to privately store and manage assets (such as documents, source code, and binary files) in the cloud.

182
Q

What is code build

A

AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your own build servers. CodeBuild scales continuously and processes multiple builds concurrently, so your builds are not left waiting in a queue.

183
Q

What is code deploy

A

automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers

184
Q

What is code pipeline

A

fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. CodePipeline automates the build, test, and deploy phases of your release process every time there is a code change

185
Q

What is mobile hub

A

Lets you add configure and design features for mobile apps e.g. data storage, analytics, content delivery. Similar to AWS console, Mobile hub is own console for mobile apps

186
Q

What is Cognito (mobile)

A

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily.

187
Q

What is Device Farm

A

AWS Device Farm is an application testing service that lets you improve the quality of your web and mobile apps by testing them across an extensive range of desktop browsers and real mobile devices; without having to provision and manage any testing infrastructure

188
Q

What is mobile pinpoint

A

Amazon Pinpoint is a flexible and scalable outbound and inbound marketing communications service. You can connect with customers over channels like email, SMS, push, or voice.

189
Q

What is work docs

A

Amazon WorkDocs is a fully managed, secure content creation, storage, and collaboration service. With Amazon WorkDocs, you can easily create, edit, and share content, and because it’s stored centrally on AWS, access it from anywhere on any device.

190
Q

What is work mail

A

Exchange for AWS

191
Q

What is IOT gateway

A

The Device Gateway serves as the entry point for IoT devices connecting to AWS.

192
Q

What is alexa

A

Has lex integrated within it

193
Q

What is Polly

A

service that turns text into lifelike speech, allowing you to create applications that talk, and build entirely new categories of speech-enabled products.

194
Q

What is machine learning

A

Give AWS dataset and tell it the outcomes based on dataset and Amazon will use machine learnings to predict outcomes in future

195
Q

What is rekognition

A

Upload picture and it will tell you what is in the picture and use facial recognition to recognise images

196
Q

What is SNS

A

Simple notification service. Notify via email or text

197
Q

What is SQS

A

Aids with loosely coupling. Creates a Queue system so you can post jobs to a queue which are pulled down

198
Q

What is SED (simple email service)

A

Send and receive emails

199
Q

What is AWS CloudHSM

A

AWS CloudHSM is a cloud-based hardware security module (HSM) that enables you to easily generate and use your own encryption keys on the AWS Cloud

200
Q

What is AWS SSO

A

AWS Single Sign-On (SSO) makes it easy to centrally manage access to multiple AWS accounts and business applications and provide users with single sign-on access to all their assigned accounts and applications from one place.

201
Q
Which of the following use cases is appropriate for Amazon CloudFront (3)
Schema generation
Security and Encryption
Live on-demand video streaming
Static asset caching
Autoscaling
Database back up
A

Security and encryption
Live on demand video streaming
Static asset caching

202
Q

What is AWS Health?

A

AWS Health provides ongoing visibility into your resource performance and the availability of your AWS services and accounts. You can use AWS Health events to learn how service and resource changes might affect your applications running on AWS. AWS Health provides relevant and timely information to help you manage events in progress. AWS Health also helps you be aware of and to prepare for planned activities.

203
Q
Which services can be used across hybrid AWS Cloud architectures? (Choose two.)
A. Amazon Route 53
B. Virtual Private Gateway
C. Classic Load Balancer
D. Auto Scaling
E. Amazon CloudWatch default metrics
A

A and B

204
Q

Does RDS automatically scale?

A

No, it is highly scalable but not automatically

205
Q

What is Amazon EC2 Instance Store

A

An instance store provides temporary block-level storage for your instance. This storage is located on disks that are physically attached to the host computer. Instance store is ideal for temporary storage of information that changes frequently, such as buffers, caches, scratch data, and other temporary content, or for data that is replicated across a fleet of instances, such as a load-balanced pool of web servers.

206
Q

How long are CloudWatch logs stored for

A

They have adjustable retention times

207
Q

What is AWS Batch?

A

AWS Batch enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS

208
Q
Which AWS service provides a simple and scalable shared file storage solution for use with Linux-based AWS and on-premises servers?
A. Amazon S3
B. Amazon Glacier
C. Amazon EBS
D. Amazon EFS
A

EFS

209
Q
Which AWS Cost Management tool allows you to view the most granular data about your AWS bill?
A. AWS Cost Explorer
B. AWS Budgets
C. AWS Cost and Usage report
D. AWS Billing dashboard
A

C. AWS Cost and Usage report: The AWS Cost & Usage Report contains the most comprehensive set of AWS cost and usage data available, including additional metadata about AWS services, pricing, and reservations

Cost explorer: Create cutsom reports o explore your costs over time
Budgets: Get alarms when you exceed budget limits. Helps you predict
Billing dashboard:Shows how much youve spent on a monthly basis

210
Q

What is AWS Concierge?

A

Your AWS Concierge is a senior customer service agent who is assigned to your account when you subscribe to an Enterprise

211
Q
Which of the following features can be configured through the Amazon Virtual Private Cloud (Amazon VPC) Dashboard? (Choose two.)
A. Amazon CloudFront distributions
B. Amazon Route 53
C. Security Groups
D. Subnets
E. Elastic Load Balancing
A

C. Security Groups

D. Subnets

212
Q

What is Cloud9

A

AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser

213
Q

Which of the following CIDR block size ranges applies to IPv4 addresses in Amazon VPC?

1/ to /40

/12 to /32

/8 to /36

/16 to /28

A

For IPv4 addresses, the VPC CIDR block size can be anywhere from /16 to /28.

214
Q

You need a managed, low-cost relational database for your e-commerce store. Which of the following should you use?

DynamoDB

AWS ElastiCache

RDS

MySQL on EC2

A

RDS

215
Q

Which of the below can be specified as an origin when creating a CloudFront distribution?

An RDS instance
A domain name
An S3 Bucket
An ELB

A

Domain name
S3 bucket
ELB

216
Q

What is the default limit for the number of network ACLs in a VPC?

300

100

400

200

A

200

217
Q

Which of the following is the name of AWS Regions designed to allow U.S. government agencies and customers to move significantly sensitive workloads into the cloud?

AWS GovRegion

AWS Government Cloud

AWS Government Region

AWS GovCloud

A

AWS GovCloud

218
Q

You visit a clients site and get called into a corridor discussion. You are asked to describe the new (2019) URL structure for objects in S3.

A
HTTPS
Bucket name
dot
AWS S3 regional endpoint
slash
object name
219
Q

What benefits can CloudFront bring to your e-commerce website? (3)

Increased application availability

Advanced analytics into customer journeys

Protection against network and application layer attacks via WAF

Scalable managed database which integrates seamlessly with Lambda and EC2

Lower latency for customers of your e-commerce website

A

Increased application availability

Protection against network and application layer attacks via WAF

Lower latency for customers of your e-commerce website

220
Q

You need to re-create an EBS volume that you have used previously. How might you go about doing that?

Re-create the volume from a snapshot.

Copy the AMI the volume was based on and spin it up.

Use the copy that lives in the Auto Scaling group.

Use a CloudFormation template to recreate the volume.

A

Re-create the volume from a snapshot

221
Q

Which statement is true in relation to data stored within an AWS Region?

Data is always automatically replicated to at least one other availability zone
Data is not replicated outside of a region unless you configure it
Data is automatically archived after 90 days
Data is always replicated to another region

A

Data stored within an AWS region is not replicated outside of that region automatically. It is up to customers of AWS to determine whether they want to replicate their data to other regions. You must always consider compliance and network latency when making this decision.
Data is not automatically replicated to at least one availability zone – this is specific to each service and you must check how your data is stored and whether the availability and durability is acceptable.
Data is never automatically archived. You must configure data to be archived.

222
Q

Which of the below are components that can be configured in the VPC section of the AWS management console? (Select TWO.)

EBS volumes
Subnet
Elastic Load Balancer
DNS records
Endpoints
A

Subnets
Endpoints

You can have configured subnets and endpoints within the VPC section of AWS management console
EBS volumes and ELB must be configured in the EC2 section of the AWS management console
DNS records must be configured in Amazon Route 53

223
Q

With which service can a developer upload code from a Git repository and have the service handle the end-to-end deployment of the resources?

A

Elastic Beanstalk

224
Q

An Amazon EC2 instance running the Amazon Linux 2 AMI is billed in what increment?

A

Second

225
Q

Which AWS services can be utilized at no cost? (Select TWO.)

Identity and Access Management (IAM)
Amazon VPC
Amazon S3
Amazon CloudFront
Amazon RedShift
A

VPC

IAM

226
Q
Which disaster recovery scenario offers the lowest probability of down time?
A. Backup and restore
B. Pilot light
C. Warm standby
D. Multi-site active-active
A

Multi-Site Solution

Backup and Restore: a simple, straightforward, cost-effective method that backs up and restores data as needed. Keep in mind that because none of your data is on standby, this method, while cheap, can be quite time-consuming.
✑ Pilot Light: This method keeps critical applications and data at the ready so that it can be quickly retrieved if needed.
✑ Warm Standby: This method keeps a duplicate version of your business’ core elements running on standby at all times, which makes for a little downtime and an almost seamless transition.
✑ Multi-Site Solution: Also known as a Hot Standby, this method fully replicates your company’s data/applications between two or more active locations and splits your traffic/usage between them. If a disaster strikes, everything is simply rerouted to the unaffected area, which means you’ll suffer almost zero downtime. However, by running two separate environments simultaneously, you will obviously incur much higher costs.

227
Q

Name the serverless services

A
Lambda
S3
DynamoDB
Kinesis
API gateway
Step
SNS
Athena
228
Q

What are the 5 VPC concepts

A

Virtual private cloud (VPC) — A virtual network dedicated to your AWS account.

Subnet — A range of IP addresses in your VPC.

Route table — A set of rules, called routes, that are used to determine where network traffic is directed.

Internet gateway — A gateway that you attach to your VPC to enable communication between resources in your VPC and the internet.

VPC endpoint — Enables you to privately connect your VPC to supported AWS services and VPC endpoint services powered by PrivateLink without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection. Instances in your VPC do not require public IP addresses to communicate with resources in the service. Traffic between your VPC and the other service does not leave the Amazon network.

229
Q

What is NAT (VPC)

A

You can use a NAT device to enable instances in a private subnet to connect to the internet (for example, for software updates) or other AWS services, but prevent the internet from initiating connections with the instances. A NAT device forwards traffic from the instances in the private subnet to the internet or other AWS services, and then sends the response back to the instances

230
Q

What is VPC peering?

A

A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.

231
Q

What is AWS Snowmobile?

A

AWS Snowmobile is an exabyte-scale data transfer service that can move extremely large amounts of data to AWS in a fast, secure, and cost-effective manner.
You can transfer up to 100PB per Snowmobile, a 45-foot long ruggedized shipping container, pulled by a semi-trailer truck. Snowmobile makes it easy to move massive volumes of data to the cloud, including video libraries, image repositories, or even a complete data center migration.