Deck 3 Flashcards
How many servers can you have per AZ in a spread placement group?
7
Which AWS service can you use to import data from supported databases into AWS Redshift?
DMS (Database Migration Service)
What subnet and VPC combinations are allowed when using the VPC Creation Wizard?
VPC with a single public subnet
VPC with public and private subnets (NAT)
VPC with public and private subnets and with hardware VPN access
VPC with a private subnet only and hardware VPN access
What is the best way to reuse code in multiple Lambda functions?
Create a Lambda layer
Which VPC does a Lambda function usually run in, and what do you need to do if you change this?
They run in an AWS owned VPC by default
If you run a Lambda function in your own VPC it will need a route through a NAT gateway to access public resources.
What type of access control gives user level control, but not AWS account level control for S3 buckets?
IAM Policies
What type of access control gives AWS account level control, but not user level control for S3 buckets?
ACLs
What type of access control gives both AWS account level control and user level control for S3 buckets?
Bucket Policies
What is the best way to improve S3 upload speed?
Use multipart uploads (allows for parallel uploads)
Use Amazon S3 Transfer Acceleration (transfers file to an edge location)
(do not accept Global Accelerator as an answer)
What is the most efficient way to send data from AWS S3 to Kinesis Data Streams?
AWS DMS service
Which storage classifications can S3 Storage Class Analysis offer recommendations for?
Standard IA only.
How could you prevent another website from using your assets in a public S3 bucket?
Remove the public read access and use pre-signed URLs with expiry dates.
What AWS services would you use to implement a “follow” feature in a DynamoDB social network?
DynamoDB Stream, with an AWS Lambda trigger to process the data and publish to an SNS topic.
What happens if there is an explicit deny in an IAM policy?
All other allows are overriden.
What is the correct tool to use for mitigating DDoS attacks?
AWS Shield Advanced