Practice Flashcards
Which EC2 Purchasing Option can provide the biggest discount, but is not suitable for critical jobs or databases?
a. Reserved Instances
b. Convertible Instances
c. Dedicated Hosts
d. Spot Instances
d. Spot Instances
Spot Instances are good for short workloads, but are less reliable.
Which network security tool can you use to control traffic in and out of EC2 Instances?
a.Network Access Control List (NACL)
b. Identity and Management Access (IAM)
c. GuardDuty
d. Security Groups
d. Security Groups
Security Groups operate at instance level and can control traffic.
Under the Shared Responsibility Model, who is responsible for operating-system patches and updates on EC2 Instances?
a. The customer
b. AWS
c. Both AWS and the customer
a. The customer
The customer is responsible for operating-system patches and updates on EC2 Instances, as well as data security on the instances, Security Groups rules, etc.
How long can you reserve an EC2 Reserved Instance?
a. 1 or 3 years
b. 2 or 4 years
c. 6 months or 1 year
d. Anytime between 1 and 3 years.
a. 1 or 3 years
1 year or 3 years terms are available for EC2 Reserved Instances.
A company would like to deploy a high-performance computing (HPC) application on EC2. Which EC2 instance type should it choose?
a. Compute Optimized
b. Storage Optimized
c. Memory Optimized
d. General Purpose
a. Compute Optimized
Compute Optimized EC2 instances are great for compute-intensive workloads requiring high performance processors, such as batch processing, media transcoding, high performance web servers, high performance computing, scientific modeling & machine learning, and dedicated gaming servers.
Which of the following is NOT an EC2 Instance Purchasing Option?
a. Spot Instances
b. Reserved Instances
c. On-demand Instances
d. Connect Instances
d. Connect Instances
This EC2 Instance purchasing option does not exist.
Which EC2 Purchasing Option should you use for an application you plan on running on a server continuously for 1 year?
a. Reserved Instances
b. Spot Instances
c. On-demand Instances
d. Convertible Instances
a. Reserved Instances
Reserved Instances are good for long workloads. You can reserve instances for 1 or 3 years.
You ONLY want to manage Applications and Data. Which type of Cloud Computing model should you use?
a. On-premises
b. Infrastructure as a Service (IaaS)
c. Software as a Service (SaaS)
d. Platform as a Service (PaaS)
d. Platform as a Service (PaaS)
In the Platform as a Service model, you only manage the data and the applications.
What is the pricing model of Cloud Computing?
a. Discounts over time
b. Pay-as-you-go pricing
c. Pay once a year
d. Flat-rate pricing
b. Pay-as-you-go pricing
In Cloud Computing, you are only charged for what you use.
Which Global Infrastructure identity is composed of one or more discrete data centers with redundant power, networking, and connectivity, and are used to deploy infrastructure?
a. Edge Locations
b. Availability Zones
c. Regions
b. Availability Zones
This is the definition of Availability Zones.
Which of the following is NOT one of the Five Characteristics of Cloud Computing?
a. Rapid elasticity and scalability
b. Multi-tenancy and resource pooling
c. Dedicated Support Agent to help you deploy applications
d. On-demand self service
c. Dedicated Support Agent to help you deploy applications
This is not one of the Five Characteristics of Cloud Computing. In the cloud, everything is self-service.
Which of the following options is NOT a point of consideration when choosing an AWS Region?
a. Compliance with data governance
b. Latency
c. Capacity availability
d. Pricing
c. Capacity availability
Capacity is unlimited in the cloud, you do not need to worry about it. The 4 points of considerations when choosing an AWS Region are: compliance with data governance and legal requirements, proximity to customers, available services and features within a Region, and pricing.
Which are the 3 pricing fundamentals of the AWS Cloud?
a. Compute, Storage, and Data transfer in the AWS Cloud
b. Compute, Networking, and Data transfer out of the AWS Cloud
c. Compute, Storage, and Data transfer out of the AWS Cloud
d. Storage, Functions, and Data transfer in the AWS Cloud
c. Compute, Storage, and Data transfer out of the AWS Cloud
Compute, Storage, and data transfer out of the AWS Cloud are the 3 pricing fundamentals of the AWS Cloud.
Which of the following is NOT an advantage of Cloud Computing?
a. Trade capital expense (CAPEX) for operational expense (OPEX)
b. Train your employees less
c. Go global in minutes
d. Stop spending money running and maintaining data centers
b. Train your employees less
You must train your employees more so they can use the cloud effectively.
AWS Regions are composed of?
a. Two or more Edge Locations
b. One or more discrete data centers
c. Three or more Availability Zones
c. Three or more Availability Zones
AWS Regions consist of multiple, isolated, and physically separate Availability Zones within a geographic area.
Which of the following services has a global scope?
a. EC2
b. IAM
c. Lambda
d. Rekognition
b. IAM
IAM is a global service (encompasses all regions).
Which of the following is the definition of Cloud Computing?
a. Rapidly develop, test and launch software applications
b. Automatic and quick ability to acquire resources as you need them and release resources when you no longer need them
c. On-demand availability of computer system resources, especially data storage (cloud storage) and computing power, without direct active management by the user
d. Change resource types when needed
c. On-demand availability of computer system resources, especially data storage (cloud storage) and computing power, without direct active management by the user
This is the definition of Cloud Computing
What defines the distribution of responsibilities for security in the AWS Cloud?
a. AWS Pricing Fundamentals
b. The Shared Responsibility Model
c. AWS Acceptable Use Policy
d. The AWS Management Console
b. The Shared Responsibility Model
The Shared Responsibility Model defines who is responsible for what in the AWS Cloud.
A company would like to benefit from the advantages of the Public Cloud but would like to keep sensitive assets in its own infrastructure. Which deployment model should the company use?
a. Private Cloud
b. Public Cloud
c. Hybrid Cloud
c. Hybrid Cloud
Using a Hybrid Cloud deployment model allows you to benefit from the flexibility, scalability and on-demand storage access while keeping security and performance of your own infrastructure.
What is NOT authorized to do on AWS according to the AWS Acceptable Use Policy?
a. Building a gaming application
b. Deploying a website
c. Run analytics on stolen content
d. Backup your data
c. Run analytics on stolen content
You can run analytics on AWS, but you cannot run analytics on fraudulent content. Refer to the AWS Acceptable Use Policy to see what is not authorized to do on AWS.
What is a proper definition of IAM Roles?
a. An IAM entity that defines a set of permissions for making AWS service requests, that will be used by AWS services
b. IAM Users in multiple Groups
c. A password policy
d. Permissions assigned to Users to perform actions
a. An IAM entity that defines a set of permissions for making AWS service requests, that will be used by AWS services
Some AWS service will need to perform actions on your behalf. To do so, you assign permissions to AWS services with IAM Roles.
Which of the following is an IAM Security Tool?
a. IAM Credentials Report
b. IAM Root Account Manager
c. IAM Services Report
d. IAM Security Advisor
a. IAM Credentials Report
IAM Credentials report lists all your account’s users and the status of their various credentials. The other IAM Security Tool is IAM Access Advisor. It shows the service permissions granted to a user and when those services were last accessed.
Which answer is INCORRECT regarding IAM Users?
a. IAM Users can belong to multiple groups
b. IAM Users don’t have to belong to a group
c. IAM Users can have policies assigned to them
d. IAM Users access AWS with the root account credentials
d. IAM Users access AWS with the root account credentials
IAM Users access AWS using a username and a password.
Which of the following is an IAM best practice?
a. Don’t use the root user account
b. Create several users for a physical person
c. Share credentials so a colleague can perform a task for you
d. Do not enable MFA for easier access
a. Don’t use the root user account
You only want to use the root account to create your first IAM user, and for a few account and service management tasks. For every day and administration tasks, use an IAM user with permissions.
What are IAM Policies?
a. AWS services performable actions
b. JSON documents to define Users, Groups or Roles’ permissions
c. Rules to set up a password for IAM Users
b. JSON documents to define Users, Groups or Roles’ permissions
An IAM policy is an entity that, when attached to an identity or resource, defines their permissions.
Under the shared responsibility model, what is the customer responsible for in IAM?
a. Infrastructure security
b. Compliance validation
c. Configuration and vulnerability analysis
d. Assigning users proper IAM Policies
d. Assigning users proper IAM Policies
Customers are responsible for defining and using IAM policies.
Which of the following statements is TRUE?
a. The AWS CLI can interact with AWS using commands in your command-line shell, while the AWS SDK can interact with AWS programmatically.
b. The AWS SDK can interact with AWS using commands in your command-line shell, while the AWS CLI can interact with AWS programmatically.
a. The AWS CLI can interact with AWS using commands in your command-line shell, while the AWS SDK can interact with AWS programmatically.
Which principle should you apply regarding IAM Permissions?
a. Grant most privilege
b. Grant least privilege
c. Grant permissions if your employee asks you to
d. Restrict root account permissions
b. Grant least privilege
Don’t give more permissions than the user needs.
What should you do to increase your root account security?
a. Enable Multi-Factor Authentication (MFA)
b. Remove permissions from the root account
c. Use AWS only through the Command Line Interface (CLI)
a. Enable Multi-Factor Authentication (MFA)
You want to enable MFA in order to add a layer of security, so even if your password is stolen, lost or hacked your account is not compromised.
Which EC2 Storage would you use to create a shared network file system for your EC2 Instances?
a. EBS Volume
b. EC2 Instance Store
c. EBS Snapshots
d. EFS
d. EFS
Amazon EFS is a fully managed service that makes it easy to set up, scale, and cost-optimize file storage in the Amazon Cloud.
Which service can be used to automate image management processes?
a. AMI
b. EC2 Image Builder
c. EBS Snapshots
d. IAM
b. EC2 Image Builder
EC2 Image Builder is an automated pipeline for the creation, maintenance, validation, sharing, and deployment of Linux or Windows images for use on AWS and on-premises.
Which of the following is a fully managed native Microsoft Windows file system?
a. EFS
b. FSx
c. EBS
b. FSx
Amazon FSx makes it easy and cost effective to launch and run popular file systems that are fully managed by AWS. It comes in two offerings: FSx for Windows File Server (used for business applications), and FSx for Lustre (used for high-performance computing).
What are AMIs NOT used for?
a. Add your own software license
b. Add your own configuration
c. Add your own operating-system
d. Add your own IP addresses
d. Add your own IP addresses
You cannot use AMIs to add your IP addresses. IP addresses are added to an instance as you create it.
EBS Volumes CANNOT be attached to multiple EC2 instances at a time.
a. True
b. False
a. True
EBS Volumes can be attached to only one EC2 Instance at a time, but EC2 Instances can have multiple EBS Volumes attached to them.
An EBS Volume is a network drive you can attach to your instances while they run, so your instances’ data persist even after their termination.
a. True
b. False
a. True
EBS Volumes allows instances’ data to persist even after their termination.
Which statement is CORRECT regarding EC2 Instance Store?
a. It is not good to use as a disk to cache content
b. It has a better I/O performance, but the data is lost if the EC2 Instance is terminated
c. Your data is always safe with EC2 Instance Store
b. It has a better I/O performance, but the data is lost if the EC2 Instance is terminated
EC2 Instance Store has a better I/O performance, but data is lost if: the EC2 instance is stopped or terminated, or when the underlying disk drive fails.
What is an EBS Snapshot?
a. The operating-system on an EC2 Instance
b. A backup of your EBS Volume at a point in time
c. The amount of CPU and RAM of an EC2 Instance
b. A backup of your EBS Volume at a point in time
EBS Snapshots are used to backup data on your EBS Volumes at a point in time.
Where can you find a third party’s AMI so you can use it to launch your EC2 Instance?
a. Public AMIs
b. My own AMIs
c. AWS Marketplace AMIs
c. AWS Marketplace AMIs
You can use AWS Marketplace AMIs to use someone else’s AMI.
What is an EBS Volume tied to?
a. A region
b. A data center
c. An edge location
d. An availability zone
d. An availability zone
EBS Volumes are tied to only one availability zone.
What is the main purpose of High Availability in the Cloud?
a. Increase scalability
b. Application thriving even in case of a disaster
c. Access on computers and smartphones
d. Handle greater loads by launching EC2 instances based on the demand
b. Application thriving even in case of a disaster
High Availability means applications running at least in two AZs to survive a data center loss.
A startup wants to provision an EC2 instance for the lowest possible cost for a long-term duration but needs to make sure that the instance would never be interrupted. As a Cloud Practitioner, which of the following options would you recommend?
EC2 Spot Instance
EC2 On-Demand Instance
EC2 Reserved Instance (RI)
EC2 Dedicated Host
EC2 Reserved Instance (RI)
An EC2 Reserved Instance (RI) provides you with significant savings (up to 75%) on your Amazon EC2 costs compared to On-Demand Instance pricing. A Reserved Instance (RI) is not a physical instance, but rather a billing discount applied to the use of On-Demand Instances in your account. You can purchase a Reserved Instance (RI) for a one-year or three-year commitment, with the three-year commitment offering a bigger discount. A reserved instance (RI) cannot be interrupted. So this is the correct option.
Incorrect options:
EC2 On-Demand Instance - An EC2 On-Demand Instance is an instance that you use on-demand. You have full control over its lifecycle — you decide when to launch, stop, hibernate, start, reboot, or terminate it. There is no long-term commitment required when you purchase On-Demand Instances. There is no upfront payment and you pay only for the seconds that your On-Demand Instances are running. The price per second for running an On-Demand Instance is fixed. On-demand instances cannot be interrupted. However, On-demand instances are not as cost-effective as Reserved instances, so this option is not correct.
EC2 Spot Instance - An EC2 Spot Instance is an unused EC2 instance that is available for less than the On-Demand price. Because Spot Instances enable you to request unused EC2 instances at steep discounts (up to 90%), you can lower your Amazon EC2 costs significantly. Spot Instances are well-suited for data analysis, batch jobs, background processing, and optional tasks. These can be terminated at short notice, so these are not suitable for critical workloads that need to run at a specific point in time. So this option is not correct for the given use-case.
EC2 Dedicated Host - An Amazon EC2 Dedicated Host allows you to use your eligible software licenses from vendors such as Microsoft and Oracle on Amazon EC2 so that you get the flexibility and cost-effectiveness of using your licenses, but with the resiliency, simplicity, and elasticity of AWS. An Amazon EC2 Dedicated Host is a physical server fully dedicated for your use, so you can help address corporate compliance requirement. It is not cost-efficient compared to an On-Demand instance. So this option is not correct.
Which tool/service will help you access AWS services using programming language-specific APIs?
AWS Command Line Interface (CLI)
AWS Software Developer Kit (SDK)
AWS Management Console
Integrated Development Environments (IDE)
AWS Software Developer Kit (SDK)
SDKs take the complexity out of coding by providing language-specific APIs for AWS services. For example, the AWS SDK for JavaScript simplifies the use of AWS Services by providing a set of libraries that are consistent and familiar for JavaScript developers. It provides support for API lifecycle considerations such as credential management, retries, data marshaling, serialization, and deserialization. AWS SDKs are offered in several programming languages to make it simple for developers working on different programming and scripting languages. So, AWS SDK can help with using AWS services from within an application using language-specific APIs.
Incorrect options:
AWS Management Console - The AWS Management Console is a web application that comprises and refers to a broad collection of service consoles for managing Amazon Web Services. When you first sign in, you see the console home page. The home page provides access to each service console as well as an intuitive user interface for exploring AWS and getting helpful tips.
AWS Command Line Interface (CLI) - The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. CLI cannot be used with language-specific APIs.
Integrated Development Environments (IDE) - An integrated development environment (IDE) provides a set of coding productivity tools such as a source code editor, a debugger, and build tools. Cloud9 IDE is an offering from AWS under IDEs.
A multi-national corporation wants to get expert professional advice on migrating to AWS and managing their applications on AWS Cloud. Which of the following entities would you recommend for this engagement?
Concierge Support Team
APN Consulting Partner
AWS Trusted Advisor
APN Technology Partner
APN Concierge Support Team
The AWS Partner Network (APN) is the global partner program for technology and consulting businesses that leverage Amazon Web Services to build solutions and services for customers.
APN Consulting Partners are professional services firms that help customers of all types and sizes design, architect, build, migrate, and manage their workloads and applications on AWS, accelerating their migration to AWS cloud.
Incorrect options:
APN Technology Partner - APN Technology Partners provide hardware, connectivity services, or software solutions that are either hosted on or integrated with, the AWS Cloud. APN Technology Partners cannot help in migrating to AWS and managing applications on AWS Cloud.
AWS Trusted Advisor - AWS Trusted Advisor is an online tool that provides you real-time guidance to help you provision your resources following AWS best practices on cost optimization, security, fault tolerance, service limits, and performance improvement. Whether establishing new workflows, developing applications, or as part of ongoing improvement, recommendations provided by Trusted Advisor regularly help keep your solutions provisioned optimally. All AWS customers get access to the seven core Trusted Advisor checks to help increase the security and performance of the AWS environment. Trusted Advisor cannot be used to migrate to AWS and manage applications on AWS Cloud.
Concierge Support Team - The Concierge Support Team are AWS billing and account experts that specialize in working with enterprise accounts. They will quickly and efficiently assist you with your billing and account inquiries. The Concierge Support Team is only available for the Enterprise Support plan. Concierge Support Team cannot help in migrating to AWS and managing applications on AWS Cloud.
The DevOps team at an IT company is moving 500 GB of data from an EC2 instance to an S3 bucket in the same region. Which of the following scenario captures the correct charges for this data transfer?
The company would be charged for both the outbound data transfer from EC2 instance as well as the inbound data transfer into the S3 bucket
The company would only be charged for the inbound data transfer into the S3 bucket
The company would only be charged for the outbound data transfer from EC2 instance
The company would not be charged for this data transfer
The company would not be charged for this data transfer
There are three fundamental drivers of cost with AWS: compute, storage, and outbound data transfer. In most cases, there is no charge for inbound data transfer or data transfer between other AWS services within the same region. Outbound data transfer is aggregated across services and then charged at the outbound data transfer rate.
Per AWS pricing, data transfer between S3 and EC2 instances within the same region is not charged, so there would be no data transfer charge for moving 500 GB of data from an EC2 instance to an S3 bucket in the same region.