Pre-exam Flashcards

1
Q

What can you use NACL for?

A

you can monitor IP addresses

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

NACL, deny or allow rules?

A

Can both make deny and allow rules. Must also create both inbound and outbound rules (stateless)

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

what is stateful?

A

security groups = both inbound and outbound is created (stateful)

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

where can you not make deny rules?

A

in security groups = o Cannot make deny rules since everything is denied by default so you can only make allow rules

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

what is ElastiCache for?

A

= to store session state data + improve performance through caching

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

What are the two properties of Redis?

A

Redis Elasticache = persistent storage, key-value storage

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

What are the two properties of Memcached?

A

o Not persistent

o High-performance distributed memory cache service

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

what are VPC endpoints for?

A

PrivateLink = ensures traffic does not traverse the internet

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

what is Gateway endpoint?

A

VPC endpoint for S3 + DynamoDB

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

what is Interface endpoint?

A

VPC endpoint for almost all services (just not s3 and DynamoDB which is for gateway endpoint)

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

what is s3 for?

A

object-based storage

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

how is the consistency for S3?

A

o Read after write for PUT

o Eventual consistency for deletes and modifications of objects

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

what is efs for?

A

file-storage, NFSv4.1 protocol, also works with block, concurrent ec2 instances.

also good for big data and analytics

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

how is the consistency for efs?

A

o Reflects the last write always (always read after write)

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

what is DynamoDB for?

A

OLTP workloads
no-sql (schema-less)
serverless (no worry of infrastructure)

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

how is dynamo db indexed?

A

Indexed by primary key

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

what can DynamoDB not do?

A

No join across tables

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

how is consistency for dynamo db?

A

o Eventual consistent for writes

- Can enable “strongly consistent reads” to fix this

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

is dynamo db serverless?

A

yes, …. Unless using provisioned throughput

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

how can joins be made with aurora?

A

joins across multiple tables possible

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

how is consistency for aurora?

A

Low-latency write consistency

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

what is ALB for?

A

o HTTP/HTTPS (Layer 7)

o Host and path-based routing

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

what is NLB for?

A

o TCP, TLS, UDP, TCP_UDP, (Layer 4)

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

what is CLB for?

A

o TCP, Layer 4

o Proxy protocols = TCP as back-end always

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

how is multi-az replication?

A

synchronous (active-passive)

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

how is read replica replication?

A

Read replica = read performance improved, asynchronous

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

what are A records for?

A

Ipv4 (google.com to IP address)

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

what are AAAA records for?

A

Ipv6

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

what are Alias records for?

A

Used with apex (domain apex digitalcloud.training) to connect to ELB

Alias records let you route traffic to selected AWS resources, such as CloudFront distributions and Amazon S3 buckets. They also let you route traffic from one record in a hosted zone to another record.

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

what is PTR record?

A

solves an IP address to a fully-qualified domain name (FQDN) as an opposite to what A record does. PTR records are also called Reverse DNS records

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

what is identity federation?

A

= IAM supports federation for delegated access to the Console or AWS APIs

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

what is STS?

A

(for single-sign-on) web service that enables you to request temporary, limited-privilege credentials for IAM users or for users that you authenticate (such as federated users from an on-premise directory)

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

what are Temporary security credentials ?

A

aws access key, secret key and security token. Valued for default 12 hours, min 15m, max 36h

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

what is SAML 2.0?

A

what is usually used for federation (authentication) and grants temporary access based on the users AD credentials so you can access IAM without having a user

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

what is Cognito for?

A

used to authenticate users to web and mobile apps

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

what is user pool?

A
  • Directory in Cognito. Users can sign in to web or mobile apps
  • Can also use Facebook, amazon, and SAML to log in
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

what is identity pool?

A
  • User can obtain temporary AWS credentials to access AWS services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

what are the limits for EBS General Purpose?

A
  • 1 GiB to 16 TiB, Max 16,000 iops

- 3 IOPS per GB up to 16,000

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

what are the limits for EBS IOPS optimized?

A
  • 4 Gib to 16 TiB, max 64,000 iops

- Up to 50 IOPS per GB

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

what are the limits for EBS throughput optimized?

A
  • Volume 500 Gib to 16 TiB, can burst, max 500/mb/s per volume, 500iops
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

what are EBS magnetic optimized for?

A
  • Cheap for infrequently accessed

- can be a boot volume

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

what are the limits for EBS cold?

A
  • Volume 500 GiB to 16 TiB, max 250/mb/s per volume, 250 iops
  • Cannot be boot volume
  • cheapest version we have
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

what are some serverless applications?

A
  • API Gateway
  • Lambda
  • S3
  • DynamoDB
  • SNS
  • SQS
  • Kinesis
  • AWS Glue
  • AWS Fargate (in ECS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

what does Lambda track?

A

Lambda (tracks latency per request + number of requests + error requests)

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

what is Raid 0 for?

A

no redundancy but writes data to multiple disks. Increases performance

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

what is Raid 1 for?

A

improve redundancy / availability = mirror

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

what is kinesis streams for?

A

real-time processing of streaming data

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

what is kinesis firehose for?

A

delivers streams to AWS services such as S3, Splunk, Redshift and elasticsearch

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

what is kinesis analytics for?

A

processing and analyzing real-time streaming data

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

what does Elastic Network Adapter (ENA) offer?

A

high-performance-computing/network,

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

what does Elastic Fabric Adapter (EFA) offer?

A

o High-performance-computing (HPC) for machine learning

o OS by-pass functionality

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

what is Active-passive ?

A

failover policy. One instance running and one backup (Multi-az)

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

what is Active-active ?

A

multiple instances running at the same time

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

what is important about simple AD?

A

fully cloud-based… does not connect to on-premise

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

what is AD Connector for?

A

directory gateway to redirect requests to your on-premise AD and eliminates the need for direct synchronization = when you want to use an existing AD with AWS

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

what is a small and a big AD connector?

A

o Small connector up to 500 users

o Large connector for 500-4999

57
Q

what is AD connector for Microsoft for?

A

best choice if +5000 users

58
Q

what is custom origin for?

A

to avoid direct access to the instances behind (used with EC2)
(CloudFront)

59
Q

what is RTMP for?

A
  • RTMP.= serve video files (stored in S3)

CloudFront

60
Q

what is Web distribution for?

A

Web = serve files with http

CloudFront

61
Q

what is CloudFormation for?

A
  • Provision infrastructure

- Describes exactly what resources are provisioned, their settings and changes to them

62
Q

what is CloudWatch for?

A

monitoring

63
Q

what is CloudTrail for?

A

auditing

64
Q

what can you audit with CloudTrail?

A
  • Data Events: also known as data plane operations

- Management Events: also knows as control plane operations

65
Q

what are the 3 storage gateways?

A
  • File Gateway (NFS & SMB) = stored in S3
  • Volume Gateway (iSCSI)
    o Stored volumes
    o Cached volumes
  • Tape Gateway (VTL) = for archiving / backup
66
Q

what is a file gateway for?

A
  • File Gateway (NFS & SMB) = stored in S3
67
Q

what is a volume gateway for?

A
  • Volume Gateway (iSCSI)
    o Stored volumes
    o Cached volumes
68
Q

what is a tape gateway for?

A
  • Tape Gateway (VTL) = for archiving / backup
69
Q

what is AWS code deploy for?

A

automates application deployment to amazon ec2 instances, on-premises instances, or serverless Lambda functions

70
Q

what is AWS Glue for?

A

fully managed extract, transform and load service (ETL)

71
Q

what is AWS Shield for?

A

to mitigate DDoS attacks

72
Q

what is AWS Connect for?

A

self-service cloud-based contact center

73
Q

what is API Gateway for?

A

HTTPS endpoints always, REST API,

74
Q

what is Global Accelerator for?

A

improves availability and performance with both local and global users using static Anycast IP addresses

75
Q

what is CodeCommit for?

A

for software version control, hosts Git repositories

76
Q

what is Trusted Advisor for?

A

real time guidance to help provision resources following AWS best practices, reduce cost and increase performance and security, can display current usage and limits of services

77
Q

what is CloudHSM for?

A

Cloud Hardware Security Module… hardware-based storage solution for cryptographic keys.

78
Q

what is SNS for?

A

Simple Notification Service, to send notifications through Lambda, HTTP/S, Email, SMS, SQS,

79
Q

what are X-Forwarded For (XFF) ?

A

identifying IP address connecting to a web server through HTTP proxy or load balancer

80
Q

what is proxy protocols used with?

A

for TCP/SSL

81
Q

what do Parameter Groups do?

A

manages Database configurations

82
Q

what are Presigned URLs for?

A

provide temporary access to a specific object to those who do not have AWS credentials

83
Q

what are Presigned Cookies for?

A

CloudFront signed cookies allow you to control who can access your content when you don’t want to change your current URLs or when you want to provide access to multiple restricted files, for example, all of the files in the subscribers’ area of a website

84
Q

what is Perfect Forward Secrecy (PFS) used with?

A

for CloudFront and ELB

85
Q

what are AWS Step Functions?

A

coordinate multiple AWS services into serverless workflows (Lambda, ECS etc.) = orchestrate serverless workflows

86
Q

what is Egress-Only Internet Gateway for?

A

allows VPC based IPv6 traffic

87
Q

what is IPsec VPN for?

A

when you want to connect your network into the cloud and also directly access the internet from your VPC. IPsec AWS Site-to-Site VPN Connection

88
Q

what is VPN CloudHub?

A

essentially just a “hub”/center for multiple VPN connections from different customer networks entering into AWS

89
Q

What is DynamoDB Streams?

A

DynamoDB Streams help you to keep a list of item level changes or provide a list of item level changes that have taken place in the last 24hrs. Amazon DynamoDB is integrated with AWS Lambda so that you can create triggers—pieces of code that automatically respond to events in DynamoDB Streams

90
Q

What is Policy Generator for?

A

AWS Policy Generator to create a bucket policy for your Amazon S3 bucket. Bucket policies can be used to grant permissions to objects
You can define permissions on objects when uploading and at any time afterwards using the AWS Management Console.
You cannot use a bucket ACL to grant permissions to objects within the bucket. You must explicitly assign the permissions to each object through an ACL attached as a subresource to that object

91
Q

What is password policy?

A

A password policy can be defined for enforcing password length, complexity etc. (applies to all users)
You can allow or disallow the ability to change passwords using an IAM policy and you should attach this to the group that contains the users, not to the individual users themselves

92
Q

What is SNI for?

A

With Server Name Indication (SNI) a client indicates the hostname to connect to. SNI supports multiple secure websites using a single secure listener

93
Q

What is EMR for?

A

Elastic Map Reduce (EMR) is used for processing and analyzing data using the Hadoop framework. It is not used for transforming streaming data

94
Q

What is CloudFormation Stack for?

A

AWS CloudFormation StackSets extends the functionality of stacks by enabling you to create, update, or delete stacks across multiple accounts and regions with a single operation

95
Q

What can be used to cache static content?

A

CloudFront is ideal for caching static content such as the files in this scenario and would increase performance

96
Q

Where can Kinesis Firehose export to?

A

Kinesis Firehose which captures, transforms, and loads streaming data into “destinations” such as S3, RedShift, Elasticsearch and Splunk

97
Q

FIFO can process sequentially. What else?

A

Kinesis Streams

98
Q

What is Athena for?

A

Querying such as SQL querying from S3 buckets

99
Q

What is scheduled scaling?

A

Scheduled scaling: Scaling based on a schedule allows you to set your own scaling schedule for predictable load changes. To configure your Auto Scaling group to scale based on a schedule, you create a scheduled action. This is ideal for situations where you know when and for how long you are going to need the additional capacity

100
Q

What is an interface VPC endpoint for?

A

Other AWS principals can then create a connection from their VPC to your endpoint service using an interface VPC endpoint. => to connect to another VPC’s endpoint

101
Q

What is server access logging for?

A

Server access logging provides detailed records for the requests that are made to a bucket. To track requests for access to your bucket, you can enable server access logging. Each access log record provides details about a single access request, such as the requester, bucket name, request time, request action, response status, and an error code,

102
Q

How to perform envelope encryption?

A

The AWS KMS API can be used for encrypting data keys (envelope encryption)

103
Q

What is AWS certificate manager for?

A

AWS Certificate Manager is a service that lets you easily provision, manage, and deploy public and private Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificates for use with AWS services and your internal connected resources

104
Q

What is AWS budgets for?

A

AWS Budgets gives you the ability to set custom budgets that alert you when your costs or usage exceed (or are forecasted to exceed) your budgeted amount. Budget alerts can be sent via email and/or Amazon Simple Notification Service (SNS) topic

105
Q

What is AWS cost explorer?

A

The AWS Cost Explorer is a free tool that allows you to view charts of your costs

106
Q

What can AWS billing dashboard do?

A

The AWS Billing Dashboard can send alerts when you’re bill reaches certain thresholds but you must use AWS Budgets to created custom budgets that notify you when you are forecast to exceed a budget

107
Q

How can you connect to a ec2 instance

A

Key pairs

108
Q

What is NAT Gateway?

A

Intelligent… NAT Gateway: A ‘middle-man’ sitting in your public subnet between your private subnet and the internet. Used to e.g. download updates for your instances or servers in the private subnet. Blocks all incoming traffic. Limited to 45Gbps.

109
Q

What is NAT instance?

A

NAT Instance: Basically, the same as NAT Gateway expect that you’re launching and controlling the instance (i.e. same as setting up an RDS versus creating an EC2 and using that as a server), you generally just want to use a NAT Gateway which is managed and also redundant across multiple EC2.

110
Q

What is ENI?

A

Eth0 (cannot Be moved), eth1 (can be detaches sand attached to other instances),

Elastic Network Interface (ENI): Can be used to attach multiple network interfaces to an instance, e.g. when you want one network interface in the public subnet with access to the internet, and another network interface on the same instance in a private subnet with access to the corporate network.

111
Q

What is a bastion host for?

A

Bastion Host: Used to securely deliver remote (SSH / RDP) access to instances in a private subnet through the public internet. So, Bastion Hosts are used for secure access to instances in other networks, whereas NAT Gateway/Instances are used for outbound traffic to e.g. fetch an update to the server from the internet.

112
Q

What is IGW for?

A

Internet Gateway (IGW): Serves two purposes: to provide a target in your VPC route tables for internet-routable traffic, and to perform network address translation (NAT) for instances that have been assigned public IPv4 addresses. What makes a subnet public is basically whether the subnet’s route-table directs traffic to the internet gateway.

113
Q

What is anycast IP for?

A

AnyCast IP: Allows multiple instances to share the same IP address and is used with AWS Global Accelerator to give access to the instance that is closest to the user.

114
Q

What is WAF for?

A

AWS WAF: a web application firewall service that helps protect your web apps from common exploits that could affect app availability, compromise security, or consume excessive resources. Although this can help you against DDoS attacks, AWS WAF alone is not enough to fully protect your VPC

115
Q

What is Firewall Manager for?

A

AWS Firewall Manager: simplifies your AWS WAF administration and maintenance tasks across multiple accounts and resources.

116
Q

What is GuardDuty?

A

Amazon GuardDuty: an intelligent threat detection service that continuously monitors for malicious activity and unauthorized behavior to protect your AWS accounts and workloads

117
Q

What is Transit Gateway for?

A

AWS Transit Gateway: Enables customers to connect their Amazon Virtual Private Clouds (VPCs) and their on-premises networks to a single gateway. With AWS Transit Gateway, you only have to create and manage a single connection from the central gateway into each Amazon VPC, on-premises data center, or remote office across your network.

118
Q

What is Run Command for?

A

Run Command: enables you to automate common administrative tasks and perform ad hoc configuration changes at scale. You can use Run Command from the console to configure instances without having to login to each instance.

119
Q

What is EC2Config for?

A

Windows. Windows AMIs for Windows Server 2012 R2 and earlier include an optional service, the EC2Config service. EC2Config runs initial startup tasks when the instance is first started and then disables the

120
Q

Wat is AWS config for?

A

t enables you to assess, audit, and evaluate the configurations of your AWS resources. Config continuously monitors and records your AWS resource configurations and allows you to automate the evaluation of recorded configurations against desired configurations.

121
Q

What is AWS Workspaces?

A

Amazon WorkSpaces is a managed, secure Desktop-as-a-Service (DaaS) solution. You can use Amazon WorkSpaces to provision either Windows or Linux desktops in just a few minutes and quickly scale to provide thousands of desktops to workers across the globe.

122
Q

What is Neptune for?

A

Graph databases, AWS Neptune: fast, reliable, fully managed graph database service that makes it easy to build and run applications that work with highly connected datasets.

123
Q

What is AWS inspector?

A

AWS Inspector: an automated security assessment service that helps improve the security and compliance of applications deployed on AWS. Amazon Inspector automatically assesses applications for exposure, vulnerabilities, and deviations from best practices.

124
Q

What is short and long polling?

A

AWS SQS Polling: The ReceiveMessageWaitTimeSeconds is the queue attribute that determines whether you are using Short or Long polling. By default, its value is zero which means it is using Short polling. If it is set to a value greater than zero, then it is Long pollin

125
Q

What is ROA for?

A

ROA authorizes Amazon to advertise an address range under a specific AS number. Used for Bring Your Own IP (BYOIP) when you want to transfer an on-premises IP- range to AWS.

126
Q

What is CodeDeploy for?

A

CodeDeploy: a fully managed deployment service that automates software deployments to a variety of compute-services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers.

127
Q

What is a Lanbda invocation?

A

: When a Lambda function is called (invoked): Invoke: [cause a procedure to be carried out.]

128
Q

What is Cliudwatch logs agent?

A

CloudWatch Log Agents: provides an automated way to send log data to CloudWatch Logs from Amazon EC2 instances. A plug-in to the AWS CLI that pushes log data to CloudWatch Logs. A script (daemon) that initiates the process to push data to CloudWatch Logs. A cron job that ensures that the daemon is always running.

129
Q

What is FSx for Lustre for?

A

launch and run the world’s most popular high-performance file system. For workloads where speed matters, such as machine learning, high performance computing (HPC), video processing, and financial modeling. Works natively with S3 with a high-performance POSIX interface.

130
Q

What is Direct Connect

A

dedicated network connection from your premises to AWS. Connects you to a region and all AZs within that region.

131
Q

What is consolidated billing?

A

AWS Consolidated Billing: consolidate billing and payment for multiple AWS accounts or multiple Amazon Internet Services accounts. Every organization in AWS Organizations has a master (payer) account that pays the charges of all the member (linked) accounts.

132
Q

What does cross account access allow?

A

IAM Cross Account Access: by setting up cross-account access in this way, you don’t need to create individual IAM users in each account. In addition, users don’t have to sign out of one account and sign into another in order to access resources in different AWS accounts.

133
Q

What is LDAP for?

A

Read and write to ADs. Lightweight Directory Access Protocol (LDAP): a standard communications protocol used to read and write data to and from Active Directory. Some applications use LDAP to add, remove, or search users and groups in Active Directory or to transport credentials for authenticating users in Active Directory.

134
Q

What is DynamoDB Global Tables?

A

Global Tables: provides a fully managed solution for deploying a multi- region, multi-master database.

135
Q

What is cluster subnet group for?

A

Cluster Subnet Group: allows you to specify a set of subnets in your VPC

136
Q

How to set up S3 static website?

A

S3 Static Website: Bucket name same as website and an Alias Record pointing to the bucket.

137
Q

What is size limit for DynamoDB?

A

The cumulative size of attributes per item must fit within the maximum DynamoDB item size (400 KB). Recommended to use S3 to store objects larger than 400 KB.

138
Q

How does Aurora Global database work?

A

Aurora Global Database: designed for globally distributed applications, allowing a single Amazon Aurora database to span multiple AWS regions.