🌍 All Study Guides📊 Dashboard📰 Blog💡 About
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 Answer
QUESTION 2 OF 19

Which of the following can a route table be attached to?

A
AWS Accounts
B
Availability Zone
C
SubnetsCorrect Answer
D
Regions
QUESTION 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 subnet
B
Attach an internet gateway to their VPC
C
Create a route in a route table to the internet gateway
D
A and B
E
B and CCorrect Answer
QUESTION 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 Answer
C
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 Answer
C
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 size
B
Instance tenancy and instance billing
C
Instance family and instance sizeCorrect Answer
D
Instance Amazon Machine Image (AMI) and networking speed
QUESTION 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 Answer
D
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 Answer
D
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 Answer
C
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
True
B
FalseCorrect Answer
QUESTION 11 OF 19

Which compute service does Amazon Elastic Compute Cloud (Amazon EC2) provide?

A
Container services
B
Serverless
C
Virtual machines (VMs)Correct Answer
D
Analytics
QUESTION 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 stage
B
When an instance is in a running stageCorrect Answer
C
When an instance is stopped
D
When an instance is terminated
QUESTION 13 OF 19

Which component of the c5.4xlarge instance determines the instance family and generation number?

A
4x
B
Large
C
4xlarge
D
c5Correct Answer
QUESTION 14 OF 19

Which container runtime can be used to host a container on an Amazon Elastic Compute Cloud (Amazon EC2) instance?

A
DockerCorrect Answer
B
Container
C
Amazon Simple Storage Service (Amazon S3)
D
Amazon EC2
QUESTION 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) role
B
An upload of a file to the Amazon Simple Storage Service (Amazon S3) source bucketCorrect Answer
C
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 integration
QUESTION 16 OF 19

True or False: With serverless, users do not need to provision and manage servers.

A
T​rueCorrect Answer
B
​False
QUESTION 17 OF 19

True or False: All AWS services require users to configure a virtual private cloud (VPC).

A
T​rue
B
F​alseCorrect Answer
QUESTION 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 Answer
B
IPv6 notation
C
IPv4 notation
D
IP addresses
QUESTION 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 Answer
E
Google Advanced Data Analytics
F
Google Cybersecurity Professional Certificate
G
Meta Marketing Analytics Professional Certificate
H
Google Digital Marketing & E-commerce Professional Certificate
I
Google UX Design Professional Certificate
J
Meta Social Media Marketing Professional Certificate
K
Google Project Management Professional Certificate
L
Meta Front-End Developer Professional Certificate

Ready 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?