2024 AWS SOLUTIONS ARCHITECT
ASSOCIATE FROM STEPHANE
MAAREK'S UDEMY COURSE EXAM
WITH CORRECT ANSWERS
IAM Roles - CORRECT-ANSWERSAn IAM feature that allows AWS services to
interact with other AWS services on your behalf.
EC2 (Elastic Cloud Compute) - CORRECT-ANSWERSAn AWS service that
allows you to rent virtual machines, store data on virtual drives, distribute
load across machines, and scale services with an auto-scaling group.
Bootstrapping - CORRECT-ANSWERSThe process of using an EC2 User Data
script to run code when an EC2 instance is first booted up, like installing
updates, software, or downloading common files from the Internet.
StackSets - CORRECT-ANSWERSAn advanced feature of CloudFormation that
allow you to create, update, or delete stacks across multiple accounts and
Regions at the same time.
AWS Step Functions - CORRECT-ANSWERSAllow you to build serverless visual
workflows to orchestrate your Lambda functions.
AWS SWF (Simple Workflow Service) - CORRECT-ANSWERSAllows you to
coordinate work amongst applications. It runs on EC2 instances, so it is NOT
serverless. It is an older method of coordinating work amongst applications.
EMR (Elastic MapReduce) - CORRECT-ANSWERSA service that helps create
Hadoop clusters (Big Data) to analyze and process a vast amount of data. It
has auto scaling and is integrated with spot instances for cost savings.
OpsWorks - CORRECT-ANSWERSA service that gives you managed instances
of Chef & Puppet, which are open source software that allows you to perform
server configuration automatically or repetitive actions. It's an alternative to
SSM.
WorkSpaces - CORRECT-ANSWERSA managed, secure VDI (virtual desktop
infrastructure) service.
,AppSync - CORRECT-ANSWERSA service that uses GraphQL to store synced
data across mobile or web apps in real time.
Cost Explorer - CORRECT-ANSWERSA service that is used to visualize,
understand, and manage your AWS costs and usage over time, and you can
choose an optimal Savings Plan to lower the prices on your bill.
Trusted Advisor - CORRECT-ANSWERSA management tool that checks your
configurations and provides modification advice to help you adhere to best
practices. With the Basic or Developer support plans, you only get the basic
checks. To get all checks, you need the Business or Enterprise support plan.
Only during the boot cycle when you first launch an instance - CORRECT-
ANSWERSWhen do EC2 User Data scripts get executed?
With root user privileges - CORRECT-ANSWERSWhat privileges do EC2 User
Data scripts get executed with?
m5.2xlarge, m is the instance class, 5 is the generation, and 2xlarge is the
size within the instance class - CORRECT-ANSWERSEC2 Instance Format
An EC2 Instance class that is great for a diversity of workloads like web
servers or code repositories, balances compute, networking, and memory
capabilities - CORRECT-ANSWERSGeneral Purpose
An EC2 Instance class that is great for compute-intensive tasks that require
high performance processors like batch processing workloads, media
transcoding, high performance web servers , high performance computing,
machine learning, or dedicated gaming servers, these instances have an
instance class of the value "c" - CORRECT-ANSWERSCompute Optimized
An EC2 Instance class that provides fast performance for workloads that
process large datasets in memory or RAM, like high performance,
relational/non-relational databases, distributed web scale cache stores, in-
memory databases for BI (business intelligence), or applications performing
real-time processing of big unstructured data, these instances have an
instance class value or "r", "x", or "z" - CORRECT-ANSWERSMemory
Optimized
An EC2 Instance class that is great for storage-intensive tasks that require
high, sequential read and write access to large data sets on local storage,
like Relational and NoSQL databases, cache for in-memory databases (for
example, Redis), data warehousing applications, or distributed file systems,
,these instances have an instance class value of "I", "G", or "H" - CORRECT-
ANSWERSStorage Optimized
Host-based firewalls for EC2 instances that are stateful, and you can only
specify "allow" rules. They examine all the rules before making a decision to
allow traffic. If traffic isn't explicitly allowed, it is denied. They can reference
IP addresses or other _________ _______. - CORRECT-ANSWERSSecurity Groups
An EC2 instance type that is good for short workloads. They have the highest
cost, but no upfront payment or commitment is required. These are
recommended for short-term, unpredictable workloads where you don't know
how your application will behave. - CORRECT-ANSWERSOn-Demand
Instances
An EC2 instance type that requires either a 1-year or 3-year commitment
(longer = bigger discount), allows you to provide no upfront payment, a
partial upfront payment, or a full upfront payment (bigger upfront payment
= bigger discount), and they are good for steady-state applications (like
databases). - CORRECT-ANSWERSReserved Instances
A type of reserved instance that allows you to change the instance type, and
it is good for long workloads with flexible instances. - CORRECT-
ANSWERSConvertible Reserved Instances
A type of reserved instance that allows you to specify a certain day of the
week and time. - CORRECT-ANSWERSScheduled Reserved Instances
An EC2 instance type that gives up to a 90% discount compared to on-
demand instances and good for short workloads, but you can lose your
instances if your max price is less than the current spot price. The MOST
cost-efficient option and good for workloads that are resilient to failure, but
they are not suitable for critical jobs or databases. - CORRECT-ANSWERSSpot
Instances
An EC2 instance type that allows you to book a whole physical server and
allows you to BYOL (bring your own license) for software. These instance
types can also be used for addressing compliance needs. They are allocated
to your account for a 3-year period reservation, and they are more
expensive. - CORRECT-ANSWERSDedicated Hosts
A group of Spot Instances + optional On-Demand Instances that tries to meet
your target capacity with price constraints. You can define launch pools to
specify the instance type, OS, and AZ that the instances will be launched in.
This allows us to automatically request Spot Instances with the lowest price. -
CORRECT-ANSWERSSpot Fleet
, A public IPv4 address that you own as long as you don't delete it. It is a static
IP address where you attach it to one instance at a time, and it allows you to
hide the failure of an instance by rapidly remapping the IP to another
instance in your account. By default, you can only have 5 of these in your
account, and they typically reflect poor architectural decisions. Use a random
public IP address and register a DNS name to it instead, or use a load
balancer instead of a public IP. - CORRECT-ANSWERSElastic IP
A feature of EC2 that allows you to control the placement of your EC2
instances. - CORRECT-ANSWERSPlacement groups
A placement group type that clusters instances into a low-latency group in
one AZ. This improves network performance, but if the rack fails, then all
your EC2 instances in the placement group also fail. - CORRECT-
ANSWERSCluster placement group
A placement group type that spreads instances across underlying hardware.
It allows you to span EC2 instances across multiple AZs to reduce the risk of
failure. However, you can only have 7 instances in each AZ per placement
group. - CORRECT-ANSWERSSpread placement group
A placement group type that spreads instances across many different
partitions (which rely on different sets of racks) within an AZ. Scales to 100s
of EC2 instances per group. Partitions can span across multiple AZs in the
same Region. You can have up to 7 partitions in each AZ. The instances in a
partition do NOT share the same physical rack with instances in another
partition. Good for big data applications. - CORRECT-ANSWERSPartition
placement group
A network interface card for EC2 instances. You can create them
independently and attach them on the fly (move them) to other EC2
instances for failover. However, they are bound to one AZ. - CORRECT-
ANSWERSElastic Network Interface (ENI)
A feature that only applies to C3, C4, C5, R3, R4, R5, and M3, M4, and M5
instance families. It allows you to shut down your EC2 instances without
losing the contents of memory, which significantly speeds up the instance
boot time. For this to work, you must be using either an On-Demand or
Reserved Instance, one of the instance families specified above, the root
volume must be an EBS volume (not instance store) that is encrypted, the
RAM of the instance cannot be higher than 150 GB, and this has a max
duration of 60 days. - CORRECT-ANSWERSEC2 Hibernate
The underlying virtualization platform for the next generation of EC2
instances. It provides better networking options (HPC, IPv6, enhanced