



















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















































· quick review
· Printable, easy-to-study PDF
· Actual questions and correct answers
What is a Spot Request?
Correct Answer: It's a way to request spot instances where you specify maximum price, desired number of instances, launch specification (ami and so on) and the request type.
Question 2.
How many types of Spot Request are there?
Correct Answer: Two: one- time and persistent.
Question 3.
What are Spot Fleets?
Correct Answer: A combined group of spot instances that are launched according to the characteristic described in the fleet. You can specify OS, AZ, instance type (t3.small) as a launch pool and then the fleet chooses the best instances that match the price constraints.
Question 4.
What are some Spot Fleet strategies?
Correct Answer: lowest price - diversified - Capacity Optimized
Question 5.
Can you associate an Spot Fleet Request to a target group / ELB?
Correct Answer: Yes
Question 6.
What are the three types of Placement Groups?
Correct Answer: Cluster: for intensive workload and reduced latency. Same Rack and AZ. - Spread: high availability between AZ and hardware. Limit is 7 instances. - Partition: high availability between hardware (same AZ, different Rack). Use case: Hadoop. Limit 100 instances.
Question 7.
Can you create ENI independently and attach them or move them on EC2?
Correct Answer: Yes
Can you do capacity reservation without the commitment for 1 or 3 years?
Correct Answer: Yes.
Question 17.
Which EBS family can do Multi-Attach?
Correct Answer: EBS io1/io2 family
Question 18.
Is Multi-Attach AZ bounded?
Correct Answer: Yes.
Question 19.
Use case for Multi-attach?
Correct Answer: Application must manage multiple concurrent write operations.
Question 20.
A constraint (prerequisite) for Multi Attach?
Correct Answer: The file system must be cluster aware.
Question 21.
Is EFS multi AZ?
Correct Answer: Yes, but there is also the option EFS One Zone if you don't need high availability.
Question 22.
How can you encrypt an existing EFS?
Correct Answer: You have to create a new encrypted EFS and then transfer the data to the encrypted one from the old EFS using the AWS DataSync.
Question 23.
Are EBS volums AZ bound?
Correct Answer: Yes
Are AMI AZ bound?
Correct Answer: No, they are Region bound.
Question 25.
Where do you setup the Deregistration Delay on an ALB?
Correct Answer: In the Target Group
Question 26.
What is the ASG Default Termination Policy?
Correct Answer: From all the AZ populated with instances in the ASG, choose the one with more instances, and then shut down it based on the oldest launch configuration. ASG tries to balance the number of instances across AZ by default.
Question 27.
What are ASG life cycle hooks about?
Correct Answer: You can trigger actions when an ec2 instance is launched and before it is in the pending state and also do the same on another life cycle hook before it terminates.
Question 28.
Name one use case for the Terminating Life cycle hook of the ASG
Correct Answer: Extract information from the instance before termination, for example for debugging or troubleshooting.
Question 29.
What is the difference between Launch Configurations and Launch Templates?
Correct Answer: Launch Templates are newer and they allow versioning, reuse and even param sharing across other templates. Can also provision on Demand and Spot. Launch configurations are legacy and they must be re-created each time they are used.
Question 30.
What can you register as a target in an ALB?
Correct Answer: EC2 instances, private IPs and Lambdas. You cannot register a Network Load Balancer but you can register in an NLB an ALB (the opposite works).
In the context of Aurora, what are the custom endpoints?
Correct Answer: These are endpoints that you pair with the replicas you choose. So for example you may have different read replicas, some bigger than the other (this is possible) then you can create another reader endpoint that points only the bigger replicas, for analytics purpouses.
Question 39.
What is the Aurora Multi Master?
Correct Answer: A mode where each node can read and write, this is necessary if you need immediate failover for writer nodes (HA). On the contraty, normally you would promote a RR to become the master.
Question 40.
What is Global Aurora?
Correct Answer: It's a way to ensure multi Region availability, where you have a primary region where reads and write may happen, and secondary regions that are read only with replication lag lower than 1 second. Read only regions can be promoted in failover, taking less than a minute.
Question 41.
What is Aurora Machine Learning?
Correct Answer: An integration that allows working with Sage Maker or Comprehend (sentiment analysis) using SQL.
Question 42.
Does ElastiCache allow IAM authentication?
Correct Answer: No. The Iam policies are for AWS Api level stuff.
Question 43.
Can you add authentication to Redis Elasticache?
Correct Answer: Yes, you can set password/token when creating a Redis cluster.
Question 44.
Can you support SSL (flight encryption) in Redis Elasticache?
Correct Answer: Yes.
What kind of authentication supports Memcached?
Correct Answer: SASL
Question 46.
Name three patterns of Caching in Elasticache
Correct Answer: Lazy Loading: cache as you read Write Through: cache as you write Session Store
Question 47.
What are Redis Sorted sets for?
Correct Answer: Redis ranks data being cached, allowing for example to sort a leaderboard in realtime.
Question 48.
What is one of the issues using "load balancing" at the dns level (route 53)?
Correct Answer: You may have an A record with multiple ips, but if the TTL is for example 1 hour, and one of the instances crashes, then the users that were forwarded to that instance are still going to try to reach the crashed instance until the TTL expires (1 hour).
Question 49.
An alternative to sticky sessions?
Correct Answer: Web cookies or web cookies + elastic cache for session storage, in case the session is too heavy to be saved in the cookie itself (4kb limit). Oauth 2.0 another alternative.
Question 50.
Can Elasticache be multi AZ?
Correct Answer: Yes.
Question 51.
Can you have Multi AZ in Elasticache Redis cluster mode disabled?
Correct Answer: Yes, but you need read replicas available. On cluster mode enabled, Multi AZ is enabled by default.
How many types of replication has S3?
Correct Answer: Cross Region Replication (CRR) and Same Region Replication (SRR).
Question 60.
What are the tiers in S3 to store and save money?
Correct Answer: Standard - Standard Infrequent Access - One Zone Infrequent Access - Glacier Instant Retrieval (milliseconds) - Glacier Flexible Retrieval (minutes to hours) - Glacier Deep Archive (within 12 hours) - Intelligent Tiering
Question 61.
What is the S3 feature "Requester Pays"?
Correct Answer: When is feature is enabled, the networking costs of file transfer in S3 is payed by the requesters (downloaders) of the files and not by the bucket owner (which is the default behaviour).
Question 62.
When exposing S3 info around the world, we can use either Cloudfront or S3 replication (CRR). Which one to use when low latency is needed?
Correct Answer: S3 Cross Region Replication (CRR)
Question 63.
Name 3 use cases for S3 Lifecycle policies
Correct Answer: Removing unfinished multipart uploads - Moving objects between storage tiers (tiering action) - Removing old object versions (expiring action)
Question 64.
What is S3 Analytics?
Correct Answer: It helps you analize the storage access you have in the bucket, this helps to gain insight in how to setup properly S3 lifecycle policies.
Question 65.
What is S3 Inventory?
Correct Answer: A report of the objects you have in the S3 and it shows stuff like encryption status.
What is a Byte Rage Fetch in S3?
Correct Answer: A way to obtain just a certain part of a file, reducing read time for huge objects where you only need to see the first 250 bytes for example (metadata). Usecase: DB index.
Question 67.
What is S3 Transfer Acceleration?
Correct Answer: It's a bucket level feature that enables fast and secure transfer of files over long distances (between client and S3).
Question 68.
What is S3 Select?
Correct Answer: A way to query objects in S3 using sql language, it's also useful to do server side filtering before downloading information, saving money in file transfer.
Question 69.
Are the prices of outgoing transfers in Cloudfront edge locations different depending on the location?
Correct Answer: Yes. E.g. India is twice as expensive as US.
Question 70.
How can you save money using Cloudfront?
Correct Answer: Using price classes. There are 3 classes: - Use all edge locations - Use 200 edge locations - Use 100 edge locations
Question 71.
Can you have multiple origins in Cloudfront depending on the path of the request?
Correct Answer: Yes. You can forward all /api/* to an ALB and the rest /* to an S3 bucket for example.
Question 72.
How to get Region Level disaster recovery with Cloudfront?
Correct Answer: Origin Groups. You can have a primary origin (ALB, S3,...) and if this fails, Cloudfront is going to forward the request to the secondary origin (failover). If using S3 as origin, you can set CRR for failover. Could you do the same using Rout 53 Failover record?
What to use to control access to multiple files over Cloudfront?
Correct Answer: Cloudfront Signed Cookies
Question 80.
How many static ips can AWS Global Accelerator provide?
Correct Answer: 2
Question 81.
Difference between Snow Ball and Snow Cone in Snow Family?
Correct Answer: Snow Cone is much smaller than Snow Ball Edge.
Question 82.
What is the rule of thumb to use a Snow device on data migration to AWS?
Correct Answer: If it takes longer than a week on the network to transfer data, then order the snow device.
Question 83.
What are Snowball Edge characteristics?
Correct Answer: Two flavours: Snowball edge storage optimzed: 80TB of HDD Snowball edge compute optimized: 42 TB of HDD
Question 84.
Snow Cone characteristics
Correct Answer: 8 TB of data. Small, portable. Use it where Snow Ball doesn't fit.
Question 85.
Relationship between AWS DataSync and Snow devices
Correct Answer: Snow Cone can be conected to AWS DataSync to transfer data to AWS instead of shipping it back.
Question 86.
When to use Snow Mobile?
Correct Answer: When you need to transfer more than 10 PB of data.
What kind of software do you need to connect to one Snow Family device?
Correct Answer: Snowball client or AWS OpsHub in your servers.
Question 88.
What is Edge computing?
Correct Answer: Not to confuse with Edge locations. In this case, the edge is any place without internet connectivity, mostly remote places like ships, mining camps... On those sites a snow device can gather data and process it locally.
Question 89.
Can you directly import data from a snow device into Glacier?
Correct Answer: No, but you can import it to S3 and then create a lifecycle policy to move the data to Glacier.
Question 90.
What is FSx?
Correct Answer: Third party file system for high performance file systems.
Question 91.
How many flavours does FSx have?
Correct Answer: Many but 2 are covered in the exam: - FSx Lustre - FSx Windows
Question 92.
Protocols of FSx for Windows?
Correct Answer: SMB and NTFS.
Question 93.
Relation between FSx Windows and Active Directory
Correct Answer: The can be integrated together.
Question 94.
Can you mount a Windows FSx on a linux machine?
Correct Answer: Yes
Does File Gateway have a cache?
Correct Answer: Yes, recently used data is cached in the File Gateway.
Question 104.
Volume Gateway protocols
Correct Answer: iSCSI protocol backed by S3. Useful to backup the On Premises volumes in EBS snapshots. So use case is backups.
Question 105.
Two modes of Volume Gateway
Correct Answer: Cached volumes: low latency access to most recent data - Stored volumes: entire dataset is backed up
Question 106.
Does Tape Gateway also use the iSCSI interface?
Correct Answer: Yes
Question 107.
What if you want to use Storage Gateway but you don't have the hardware to run it locally?
Correct Answer: You can order a Hardware Appliance to AWS.
Question 108.
Relationship between File Gateway and FSx for Windows?
Correct Answer: There is an extra flavour for File Gateway -> FSx File Gateway which supports FSx for Windows. Actually you may connect directly to FSx from on premise, but using this kind of File Gateway you may also have a local cache for most frequent accessed data.
Question 109.
What is the AWS Transfer Family?
Correct Answer: A tool to use FTP or FTPS or SFTP and upload files to S3 or EFS.
Difference between EFS and FSx Windows?
Correct Answer: EFS is POSIX. FSx is Windows compatible, supports NTFS and SMB.
Question 111.
What is the SQS Temporary Queue Client?
Correct Answer: A tool that allows using temporary queues to implement for example the request-response pattern using message queues. Temporary queues are created on demand (virtual queues) and they are actually not the same as sqs but api compatible.
Question 112.
What is Amazon MQ?
Correct Answer: A service that leverages classic message protocols like MQTT, AMQP, STOMP, Openwire, WSS. It is a managed Apache ActiveMQ.
Question 113.
Is Amazon MQ topic or queue oriented?
Correct Answer: Both (like SQS and SNS together), just like PulsarMQ.
Question 114.
Is Amazon MQ Highly Available?
Correct Answer: You can configure it to be HA. You just need an EFS as a multi AZ backup, and also need an Amazon MQ stand by replica in another AZ.
Question 115.
What are the 4 Kinesis services?
Correct Answer: Kinesis Data Streams - Kinesis Data Firehose - Kinesis Data Analytics - Kinesis Video Streams
Question 116.
Basic element of a Kinesis Stream
Correct Answer: Shard. The more shards a stream has, the higher throughput it has.
Which destinations has Kinesis Data Analytics?
Correct Answer: Kinesis Data Streams Kinesis Data Firehose
Question 126.
What can be a consumer of Kinesis Data Streams?
Correct Answer: Apps (Ec2), lambdas, Firehose.
Question 127.
Use case for Kinesis Data Analytics?
Correct Answer: Time-series analysis, Real-time dashboards, Real-time metrics.
Question 128.
What are SQS Delay Queues?
Correct Answer: Queues where the delay parameter is set, that means new messages that arrive the queue are hidden until the time is elapsed.
Question 129.
Name 3 architectures that leverage ECS in working nodes mode
Correct Answer: Fargate tasks that process uploaded files in S3, triggered by eventbridge. - Scheduled Fargate task, triggered by an Eventbridge rule. - SQS queue consumed by Fargate workers, together inside an ASG.
Question 130.
Are RCU (Read Capacity Units) and WCU decoupled in DynamoDB?
Correct Answer: Yes
Question 131.
What is DynamoDB DAX?
Correct Answer: It's a fully managed in-memory cache for Dynamo. Scales reads, avoid hot keys.
What are Edge Optimized API Gateways?
Correct Answer: When clients are geographically distibuted, if you want to reduce latency to your Api Gateway you can leverage the AWS internal network and edge locations. Edge Optimized API routes your client's requests through the edge to reduce latency between them and your API gateway. The gateway is still in 1 region.
Question 133.
Can you authenticate users at the Edge using Lambda@Edge?
Correct Answer: Yes.
Question 134.
Max size of item in DynamoDB
Correct Answer: 400 kb.
Question 135.
What are the lambda limits in regard of time execution, RAM, environment variable size, temp folder size, concurrent executions, compressed size, uncompressed size
Correct Answer: 15 min execution time - 128 mb to 10 gb ram - 4kb per env variable - 512mb in temp - 1000 concurrent executions (per region) - 50 mb compressed size - 250 mb uncompresed size
Question 136.
What is lambda edge for?
Correct Answer: Running code at the edge, modifying viewer or origin request/response, SEO, user authorization and authentication, etc...
Question 137.
DynamoDB DAX vs Elasticache
Correct Answer: DAX is better for single object cache - Elasticache is better for caching aggregated results
Question 138.
What are DynamoDB Streams about and who consumes them?
Correct Answer: Stream of item-level modifications - Consumed by Kinesis Data Stream, AWS Lambda, Kinesis Client Library.