QuiztudyPREMIUM
AWS Building Serverless Applications Week 4 • STUDY MODE
WEEK 2 QUIZ
QUESTION 1 OF 19
Which information is needed to create a virtual private cloud (VPC)?
A
The group of subnets that the VPC will reside in.B
The Availability Zone that the VPC will reside in.C
The subnet that the VPC will reside in.D
The AWS Region that the VPC will reside in.Correct AnswerQUESTION 2 OF 19
Which of the following can a route table be attached to?
A
AWS AccountsB
Availability ZoneC
SubnetsCorrect AnswerD
RegionsQUESTION 3 OF 19
A company wants to allow resources in a public subnet to communicate with the internet. Which of the following must the company do to meet this requirement?
A
Create a route to a private subnetB
Attach an internet gateway to their VPCC
Create a route in a route table to the internet gatewayD
A and BE
B and CCorrect AnswerQUESTION 4 OF 19
What is the compute as a service (CaaS) model?
A
The CaaS model requires that users purchase virtual machines and manually provision servers to run a workload.B
The CaaS model offers computing resources (such as virtual machines that run on servers in data centers) on demand, by using virtual services.Correct AnswerC
The CaaS model offers large discounts for computing resources. However, users must run the workload from the server that is stored on-premises.D
The CaaS model delivers cloud-based applications to users across the globe, over the internet.QUESTION 5 OF 19
Which statement about the default settings of a security group is TRUE?
A
Allows all inbound traffic and blocks all outbound traffic by default.B
Blocks all inbound traffic and allows all outbound traffic by default.Correct AnswerC
Allows all inbound and outbound traffic by default.D
Blocks all inbound and outbound traffic by default.QUESTION 6 OF 19
What does an Amazon Elastic Compute Cloud (Amazon EC2) instance type indicate?
A
Instance placement and instance sizeB
Instance tenancy and instance billingC
Instance family and instance sizeCorrect AnswerD
Instance Amazon Machine Image (AMI) and networking speedQUESTION 7 OF 19
What is the relationship between Amazon Machine Images (AMIs) and Amazon Elastic Compute Cloud (Amazon EC2) instances?
A
When launching an EC2 instance, the first setting that users configure is the operating system (OS) that they want. Then, they select an AMI and manually install the OS, drives, and installation wizard.B
The AMI is a virtual server that hosts a workload, but the EC2 instance is a template that models and defines an instance. One advantage of using EC2 instances is that they are reusable.C
An AMI is a template that contains the software that is required to launch an instance. EC2 instances are live instantiations of what is defined in an AMI, much like a cake is a live instantiation of a cake recipe.Correct AnswerD
An AMI is a collection of unique EC2 instances. Each time users create an EC2 instance, they must set up a new AMI template for their instance.QUESTION 8 OF 19
What is the difference between using AWS Fargate or Amazon Elastic Compute Cloud (Amazon EC2) as the compute platform for Amazon Elastic Container Service (Amazon ECS)?
A
With AWS Fargate, users need to manage cluster capacity and scaling.B
With Amazon ECS on Amazon EC2, AWS manages and provisions the underlying EC2 instance for containers.C
With AWS Fargate, AWS manages and provisions the underlying infrastructure for hosting containers.Correct AnswerD
With Amazon ECS on Amazon EC2, users need to upload only the source code. Amazon ECS takes care of the rest.QUESTION 9 OF 19
Which statement about serverless is TRUE?
A
Users must manually scale serverless resources.B
Users do not pay for idle resources.Correct AnswerC
Users must provision and manage servers.D
Users must manage availability and fault tolerance.QUESTION 10 OF 19
True or False: AWS Lambda is always the best solution when running applications on AWS.
A
TrueB
FalseCorrect AnswerQUESTION 11 OF 19
Which compute service does Amazon Elastic Compute Cloud (Amazon EC2) provide?
A
Container servicesB
ServerlessC
Virtual machines (VMs)Correct AnswerD
AnalyticsQUESTION 12 OF 19
Which stage of the instance lifecycle is an instance in when the account starts to accumulate charges?
A
When an instance is in a pending stageB
When an instance is in a running stageCorrect AnswerC
When an instance is stoppedD
When an instance is terminatedQUESTION 13 OF 19
Which component of the c5.4xlarge instance determines the instance family and generation number?
A
4xB
LargeC
4xlargeD
c5Correct AnswerQUESTION 14 OF 19
Which container runtime can be used to host a container on an Amazon Elastic Compute Cloud (Amazon EC2) instance?
A
DockerCorrect AnswerB
ContainerC
Amazon Simple Storage Service (Amazon S3)D
Amazon EC2QUESTION 15 OF 19
What is an example of an event that invokes an AWS Lambda function?
A
An AWS API call that is made by an AWS Identity and Access Management (IAM) roleB
An upload of a file to the Amazon Simple Storage Service (Amazon S3) source bucketCorrect AnswerC
An incoming HTTP request to a website that is hosted on Amazon Elastic Compute Cloud (Amazon EC2)D
A simple WordPress website that has no API integrationQUESTION 16 OF 19
True or False: With serverless, users do not need to provision and manage servers.
A
TrueCorrect AnswerB
FalseQUESTION 17 OF 19
True or False: All AWS services require users to configure a virtual private cloud (VPC).
A
TrueB
FalseCorrect AnswerQUESTION 18 OF 19
An engineer is working with networks in the AWS Cloud. What should the engineer use to configure the size of their network?
A
Classless Inter-Domain Routing (CIDR) notationCorrect AnswerB
IPv6 notationC
IPv4 notationD
IP addressesQUESTION 19 OF 19
What is the difference between network access control lists (ACLs) and security groups?
A
By default, network ACLs allow incoming traffic and block outgoing traffic from a subnet. Users can change these settings to provide an additional layer of security. However, the default configurations of security groups block all traffic.B
By default, network ACLs block all traffic from a subnet. However, the default configurations of security groups allow all inbound and outbound traffic. Users can change these settings to provide an additional layer of security.C
By default, network ACLs block incoming traffic and allow outgoing traffic. The default configurations of security groups block all traffic. Users can change these settings when they configure networking for their instance.D
By default, network ACLs allow incoming and outgoing traffic from a subnet. Users can change these settings to provide an additional layer of security. However, the default configurations of security groups block all inbound traffic and allow all outbound traffic.Correct AnswerE
Google Advanced Data AnalyticsF
Google Cybersecurity Professional CertificateG
Meta Marketing Analytics Professional CertificateH
Google Digital Marketing & E-commerce Professional CertificateI
Google UX Design Professional CertificateJ
Meta Social Media Marketing Professional CertificateK
Google Project Management Professional CertificateL
Meta Front-End Developer Professional CertificateReady to test your recall?
Which information is needed to create a virtual private cloud (VPC)?
A
The group of subnets that the VPC will reside in.
B
The Availability Zone that the VPC will reside in.
C
The subnet that the VPC will reside in.
D
The AWS Region that the VPC will reside in.
How confident are you in this answer?