Cloud Studyguide cv0-002 Samplelesson
Cloud Studyguide cv0-002 Samplelesson
Cloud Studyguide cv0-002 Samplelesson
Cloud+
Study Guide
Exam CV0-002
The Official
CompTIA® Cloud
+® Study Guide
(Exam CV0-002)
Copyrighted Material
Acknowledgements
PROJECT TEAM
Notices
DISCLAIMER
While CompTIA, Inc. takes care to ensure the accuracy and quality of these materials, we cannot guarantee their accuracy, and all
materials are provided without any warranty whatsoever, including, but not limited to, the implied warranties of merchantability or
fitness for a particular purpose. The use of screenshots, photographs of another entity's products, or another entity's product name
or service in this book is for editorial purposes only. No such use should be construed to imply sponsorship or endorsement of the
book by nor any affiliation of such entity with CompTIA. This courseware may contain links to sites on the Internet that are owned
and operated by third parties (the "External Sites"). CompTIA is not responsible for the availability of, or the content located on or
through, any External Site. Please contact CompTIA if you have any concerns regarding such links or External Sites.
TRADEMARK NOTICES
® ®
CompTIA , Cloud+ , and the CompTIA logo are registered trademarks of CompTIA, Inc., in the U.S. and other countries. All other
product and service names used may be common law or registered trademarks of their respective proprietors.
COPYRIGHT NOTICE
Copyright © 2018 CompTIA, Inc. All rights reserved. Screenshots used for illustrative purposes are the property of the software
proprietor. Except as permitted under the Copyright Act of 1976, no part of this publication may be reproduced or distributed in any
form or by any means, or stored in a database or retrieval system, without the prior written permission CompTIA, 3500 Lacey Road,
Suite 100, Downers Grove, IL 60515-5439.
This book conveys no rights in the software or other products about which it was written; all use or licensing of such software or
other products is the responsibility of the user according to terms and conditions of the owner. If you believe that this book, related
Copyrighted Material
materials, or any other CompTIA materials are being reproduced or transmitted without permission, please call 1-866-835-8020 or
www.help.comptia.org.
Copyrighted Material
Copyrighted Material
| Table of Contents |
Copyrighted Material
While IT professionals today are expected to understand some basic cloud terminology and
concepts, and have likely worked with public cloud or Software-as-a-Service solutions, the
ability to analyze, evaluate, design, and test cloud computing solutions are hard skills to find,
and are in high demand. In this guide, you will apply the skills required to evaluate and
implement standard deployments. You will implement, maintain, and deliver cloud
technologies including network, storage, and virtualization technologies to create cloud
solutions. You will manage workload migrations, manage cloud vendors to control costs,
use automation and orchestration to bring business value from cloud solutions, and ensure
security of cloud implementations through the use of cybersecurity best practices. In
addition, this guide prepares you to pass the CompTIA® Cloud+® exam and earn the
corresponding certification.
Guide Description
Target Student
This guide is designed for IT professionals who wish to develop cloud computing skills to
enable them to move IT workloads to the cloud and integrate products and services from
different providers and industries. Their focus is to ensure that cloud deployments are
secure, that automation and orchestration are used effectively to bring business value from
the cloud, and that costs are controlled through effective management of cloud vendors.
This guide is also designed for learners who are preparing to take the CompTIA Cloud+
certification exam CV0-002, or who plan to use Cloud+ as the foundation for more
advanced cloud certifications or career roles.
Guide Prerequisites
To ensure your success in this guide, you should have 24-36 months’ experience with IT
networking, network storage, and data center administration. You should also have
familiarity with any major hypervisor technologies for server virtualization, basic knowledge
of common cloud service models, and common cloud deployment models.
Guide Objectives
In this guide, you will deploy, test, secure, manage, optimize, and troubleshoot a cloud
solution.
You will:
• Prepare to deploy cloud solutions.
• Deploy a pilot project.
• Test a pilot project deployment.
• Design a secure network for cloud deployment.
Copyrighted Material
As a Reference
The organization and layout of this book make it an easy-to-use resource for future reference.
Taking advantage of the glossary, index, and table of contents, you can use this book as a first
source of definitions, background information, and summaries.
Guide Icons
Watch throughout the material for the following visual cues.
Icon Description
A Caution note makes you aware of places where you need to be particularly careful
with your actions, settings, or decisions so that you can be sure to get the desired
results of an activity or task.
1 Preparing to Deploy
Cloud Solutions
Lesson Time: 2 hours, 30 minutes
Lesson Introduction
Before you can analyze, evaluate, or design cloud computing solutions, you must have a
strong fundamental understanding of the different components commonly used in cloud
computing solutions, and how they interact with cloud-based and non-cloud-based
components and services. Once you have that fundamental understanding, you can evaluate
existing components, applications, and services for potential cloud deployment, and prepare
for those deployments.
Lesson Objectives
In this lesson, you will:
• Describe the interaction of cloud components and services.
• Describe the interaction of non-cloud components and services with the cloud.
• Evaluate the existing components and services for deployment to the cloud.
• Implement automation processes for the cloud.
• Prepare for deployment to the cloud.
Copyrighted Material
TOPIC A
Describe Interaction of Cloud Components and
Services
Before you can analyze, evaluate, or design cloud computing solutions, you must have a strong
fundamental understanding of the different components commonly used in cloud computing
solutions, and how they interact.
Additional Information
You can view the NIST definition of cloud computing in publication 800145 at this link: http://
nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-145.pdf.
Software-as-a-Service Software, and an app or set of apps, delivered to end users over the
(SaaS) Internet, via web browsers or web apps. Common examples include
Office 365®, Google Apps™, or Quickbooks™ Online.
Platform-as-a-Service Essentially an application development platform including computer,
(PaaS) memory, storage, database, and other app services to developers or
developer organizations as a service. Developers may build software that
is offered as a SaaS offering for sale or use internally to the public.
Infrastructure-as-a- Provides compute, memory, storage, networking, and related software,
Service (IaaS) such as operating systems and databases, as a service to replace traditional
on-premises data center infrastructure.
There are many other services offered by CSPs, including such things as Graphics-as-a-Service
(GaaS), Desktop-as-a-Service (DaaS), and Disaster Recovery-as-a-Service (DRaaS).
Provider Description
Google Cloud Platform™ Offers SaaS, PaaS, IaaS, and many other cloud services at global
(GCP) scale.
IBM Cloud® Offers SaaS, PaaS, IaaS, and many other cloud services at global
scale.
Smaller and "Niche" Cloud
Service Providers
Heroku™ A large provider of PaaS services, including app development,
management, deployment, and scaling.
DigitalOcean™ Another large provider of PaaS services, including app
development, management, deployment, and scaling.
GitHub® A large version control repository service used for collaborative
app development. Developers and developer managers can
review code, manage projects, and build software collaboratively.
QuickBooks Online Provides a cloud-based SaaS version of QuickBooks accounting
software.
BackBlaze Provides cloud-based data backup and data recovery for personal
and business uses.
ClearDATA Provides cloud-related services and solutions specific to the
highly regulated healthcare industry.
This is by no means an exhaustive list. This is just a sample of the different types of CSPs operating
today, with information about how to differentiate their services.
Component Description
Storage Another fundamental component of cloud computing infrastructure,
storage can be SSD- or HDD-based and available in a variety of sizes and
speeds, and with various high-availability or disaster recovery options.
Storage is often available by itself to provide file storage, or as part of
systems to support application services.
Database Also a fundamental component of cloud computing infrastructure, both
SQL-based and NoSQL-based databases are offered by most providers to
support application deployment and services.
Network and content Another fundamental component of cloud computing infrastructure,
delivery networking services may include bandwidth guarantees, connectivity
services such as DNS, load balancing for performance and high
availability, and ways to accelerate website and content delivery.
Security, identity, and These might include Identity Management and Access services for
compliance managing user IDs and authentication on-premises and in the cloud, and
any number of services to secure, monitor, and protect your
infrastructure as well as help you maintain compliance with regulations
such as PCI-DSS and HIPAA, while using cloud services.
Application services These services are designed to help developers and organizations deploy
and integrate highly scalable, secure applications using the provider's
cloud-based infrastructure. These services might include coding
frameworks, reference architectures, APIs, and other services.
Developer tools Tools that help developers write code and applications that will perform,
scale, and function securely on cloud platforms, while being able to take
full advantage of any application services that are offered.
Component Description
Analytics These services allow cloud clients to monitor and measure performance
of their cloud applications and services to gather insights from data and
applications.
Migration Some providers offer services that make it easier to move existing data,
applications, and services from on-premises, or even other cloud
providers, to their cloud platform.
Management tools These are command-line and GUI tools, along with services and
applications that allow cloud service system operators to manage,
provision, maintain, and automate tasks on systems, services, and
applications on the cloud platform.
Artificial intelligence Artificial Intelligence (AI) is software that can perform analysis and
critical decision making normally done by humans. Some cloud providers
provide services, APIs, and frameworks that allow clients to integrate
artificial intelligence services into applications and services.
Mobile services Some cloud providers may offer services, APIs, Software Development
Kits (SDKs), and integrations that allow access to cloud services and
applications from mobile devices and mobile apps.
Component Description
Messaging These are services and APIs made available by cloud platforms to allow
services and applications to send and receive messages to clients and each
other as part of their operations. Messages may entail queuing services,
notification services, email services, or other services.
Business productivity These are common Software-as-a-Service offerings such as Office 365
and Google Apps used for office productivity.
Desktop and streaming These services are offered by some providers as Desktop-as-a-Service.
They allow a full desktop with apps, files, and data to be accessible from
anywhere.
Software development Many providers such as Apple, Google, Azure, and Amazon have
and publishing marketplaces where app publishers can sell software applications such as
games for applications for general use, or apps that can enhance cloud
services.
Internet of Things The Internet of Things devices are connected devices that can access and
utilize data and services in the cloud to provide enhanced, or smart,
functionality.
SLAs
To obtain cloud services, organizations sign contracts with their selected CSPs. For the agreed-upon SLAs
fee, the CSP agrees to provide a defined set of resources such as compute, storage, and so forth, for
a period of time. There may be any number of other qualifying factors or specifications in the
contract. The contracts often automatically renew at a specified interface, such as monthly or
annually. What the CSP is obligated to deliver is specified in their Service Level Agreement (SLA).
Additional Information
You can see the SLA summary for Microsoft's Azure services here: https://
azure.microsoft.com/en-us/support/legal/sla/summary/.
TOPIC B
Describe Interaction of Non-cloud Components
and Services
In most scenarios, outside of using isolated Software-as-a-Service solutions, cloud solutions will
have to interact with non-cloud services that run on-premises. Prior to deploying any cloud
solutions, your cloud project team should have a thorough understanding of any expected
interaction with non-cloud services, and should take steps to ensure that those interactions can take
place efficiently and securely. In this topic, you will describe the interaction of non-cloud
components with cloud solutions.
Before deploying a cloud solution, measure network load generated by users, and any expected
communications required between the cloud solutions and any non-premises compute resources
such as:
• Authentication requests.
• Database queries for apps and directory services.
• Data transfer for both apps and file storage.
• Any application-related notifications or other types of communications.
Before deploying a cloud solution, ensure you have adequate bandwidth to support access and use
of cloud solutions at both non-peak and peak workload. It's often desirable to use network protocol
analyzers and other tools to measure communications between prospective cloud solutions and non-
cloud components for days or even weeks to get an accurate estimate of the bandwidth needed.
These security mechanisms may be software- or hardware-based and many include any or all of the
following:
• Firewalls
• Proxy servers
• Encryption technologies
• Antivirus software
• Anti-malware software
• Intrusion detection and prevention systems
Security apparatus must be configured to allow all necessary and proper communications between
cloud solution components and on-premises systems and services. The firewalls and proxy services
must allow requests and responses to pass back and forth. The solution should work with
encryption technologies as required and appropriate. Antivirus, anti-malware, and intrusion
prevention systems should not see normal solution communications and traffic from cloud
components as a threat. To ensure this, normal communications traffic, and the ports and protocols
used, should be documented and security apparatus configured to pass traffic, and act—or not act—
on traffic as required for cloud solutions to operate successfully.
For example, a cloud-based payroll application may access on-premises systems through an API to
look up employee wage scales, commission data, or other data necessary to create paychecks. That
same cloud solution may need to save payroll reports to a file share on an on-premises file server.
Cloud solutions often need to access more than one computing service. For example, a cloud-based
app may need to access an on-premise inventory database during a purchase, and on-premises email
systems to send a confirmation after a purchase.
When deploying cloud solutions, work with application developers, users, consultants, and other
knowledgeable parties to understand which non-cloud systems a cloud solution will require access
to, and to develop post-deployment tests that will verify the cloud solution can access the non-cloud
systems it needs to function.
Authentication
Authentication Users must authenticate in order to access an organization's compute resources, which includes
This course addresses cloud-based resources and solutions. Cloud service providers offer authentication and identity
cloud security generally, management mechanisms, but organizations often desire to provide single sign-on for their end
and identity access and users. This allows users both on-premises and cloud resources using a single set of credentials, and is
management more secure. In many cases, authentication and identity management will be handled by on-
specifically, in later premises, non-cloud systems. Any cloud solutions that you wish to access using identities managed
lessons. by on-premises systems will need to integrate in some way with the on-premises identity and access
management services. In the same way, any cloud solutions or services that must access on-premises
components will need to authenticate in order to gain access to those services. Integration may take
place through federation or through some other process.
Cloud solutions should be tested during proof of concept and pilot deployments to make sure they
interface correctly with these other services. For example, if software is used to log access to a
secured on-premises application, administrators should make sure access to the application by the
cloud solution is tracked appropriately as dictated by corporate security policies.
Interface elements, regardless of the technology used to present them to users, must be able to
interface with cloud and non-cloud services, and perform the functions required by end users.
Information supplied to the end user must be formatted correctly so that it can be displayed and
understood by the user. For example, data regarding vacation time must fit in the field provided in
the user interface and must be formatted to the correct number of decimal points. Additionally, if a
cloud-based application is new, or the interface has been updated, provide users with training so that
they can quickly start using the app effectively. Furthermore, IT teams should be prepared to
provide ongoing support for end-user questions or issues for any cloud service they deploy. This will
improve user perception of the app and the cloud deployment and migration process, which in
many cases will leave both users and executives feeling the move to the cloud has been successful.
TOPIC C
Evaluate Existing Components and Services for
Cloud Deployment
In preparation for cloud solution deployment, an organization should evaluate existing systems
based on the type of deployment they are considering. They should evaluate all components that will
interact as part of the cloud solution to ensure the solution can function as required within security
structures and requirements of the organization. In this topic, you will evaluate existing components
and services for cloud deployment.
Applications
Applications As with systems and platforms, the goal of moving an application to the cloud is to gain some or all
of the core benefits offered by the cloud. These may range from replacing a legacy in-house app
with a SaaS app, to moving a legacy app to virtual hardware in the cloud so that it is easier to
maintain. You may also be able to scale and extend the application. Moving an app to the cloud
provides nearly unlimited scalability and performance for the app as the organization or user base
grows. It also allows you to take advantage of cloud deployment options such as an app store, or
cloud features that make the app more available for mobile devices, or add notification,
communication, or integration features using cloud provider APIs.
Choosing which applications are a good fit for the cloud is very important. A problematic cloud
application deployment will cost an organization money in increased expenses related to deployment
and support. It may also cost the organization in terms of lost productivity, lost customers, and loss
of reputation if a critical system loses key functionality or becomes inaccessible for a long period of
time.
When evaluating applications, look for these issues that may indicate the apps are not a good choice
for the cloud:
• Applications that require direct access to hardware. Some older apps don't work in
virtualized environments. If this is the case, moving the app will not likely provide much benefit.
It will run and function the same way on a dedicated piece of hardware provided by the CSP. To
take advantage of cloud benefits, the app will likely need to be rewritten.
• Applications that use or require hard-coded IP addresses. Hard-coded IP addresses are
apps that have the IP addresses of specific systems written into connection strings in the code.
This is always bad coding practice, but the number of in-house applications with this issue is
staggering. If an app uses hard-coded IP addresses, the ease or difficulty of removing them will
depend on the size of the code bases and the number of references to the address. Regardless of
how the issue of hard-coded IP addresses is addressed, apps with this issue may not be able to
move to a different subnet on-premises, much less to a cloud data center.
• Latency sensitive apps. Some apps, either through design or for other reasons, may not work
over WAN links; for example, a client/server app designed for frequent polling between client
and server. These apps may be stateless or may require constant or nearly constant
communication. In short, they were designed to operate on a high-speed LAN. The latency
introduced by accessing these apps over lower-speed WAN links can cause clients or the server
to throw an error or even disconnect, or fail to establish a connection altogether. In some cases,
apps may simply communicate inefficiently. They may communicate more frequently than is
needed, send too much data during communications, or fail to compress or optimize data sent.
These types of apps typically need to be rewritten before being deployed to the cloud.
• Apps that transfer very large files. Given the slower speed of WAN links, apps that transfer
large data files—many multi-megabyte or multi-gigabyte files—may also not be a good fit due to
the performance impact of moving the app off a high-speed LAN.
• Apps that use outdated APIs or APIs that are not supported by the CSP. While the app in
question may function adequately as-is using outdated APIs, the app may not be able to use the
development APIs available through the CSP. This may make some very desirable cloud features,
such as rapid scaling or integration with other cloud services, unavailable. That, in turn, might
make deploying the app to the cloud not cost effective.
TOPIC D
Evaluate Automation and Orchestration Options
As part of preparing to deploy a cloud solution, organizations should also evaluate automation and
orchestration options available from the provider generally and for the solution specifically. In this
topic, you will evaluate cloud automation and orchestration options.
APIs
CSPs provide Application Programming Interfaces (APIs) to allow programmatic access for APIs
administration, management, and monitoring of their services. Cloud APIs provide for web-based
client and server communication. These APIs commonly utilize the Representational State Transfer
(REST) and Simple Object Access Protocol (SOAP) frameworks, as well as cross-platform and
vendor-specific APIs.
Cloud APIs provide access to most CSP services and components for provisioning and
configuration. Many also provide access to data exchange for client or third-party application
integration. Naturally, services that are accessed through APIs should be secured to prevent
unauthorized access to data and configuration. Here are a few examples how cloud APIs might be
used:
• Provisioning of compute, storage, networking, and other services for use as part of any cloud
solution.
• To provide third-party or integrated connectivity for data exchange or interaction with a SaaS
software suite.
• To provide provisioning and connectivity to CSP-specific application platform services such as
message queuing or other back-end architecture services required for building highly scalable,
feature-rich applications.
Cloud APIs might be used by a web-based management tool that provides a graphical user interface
for manual management, or might be used by scripts for automated or orchestrated management.
functions can be automated and run in sequence. For example, an administrator can orchestrate a
series of scripts to run when a new VM must be added to a web farm. The provisioning of the VM,
and all tasks needed to add the VM to the web farm, are automated and run in the correct sequence.
Command Line Interface (CLI) Provide administration from the command line where specific
commands commands and their parameters can be executed to perform
administrative tasks from provisioning to configuration and
monitoring.
Web and graphical user Provide a graphical interface that is often easier to use for manual
interface (GUI) tools administration and configuration tasks. These tools often provide
graphic icons, prompts, and other rich information to aid in
selection and configuration of cloud elements.
Orchestration Techniques
Whereas automation focuses on making a single, discrete task easily repeatable, orchestration Orchestration
automates an end-to-end process, including management of all related services. For example, you Techniques
might orchestrate adding a new VM to a load-balanced cluster. This end-to-end process might
include provisioning the VM, configuring it, adding the new VM to the load-balanced cluster, and
reconfiguring the load-balancing weight distribution given the new cluster configuration. In doing
this, the orchestrated steps would have to run numerous automated scripts. That is another way of
looking at orchestration—as automating the automation—as part of a defined process with a
defined workflow.
For orchestration to work properly, automated steps must occur in the right sequence, taking
dependencies into account; must provide the right security credentials at every step along the way;
and have the rights and permissions to perform the defined tasks. Orchestration can automate
processes that are very complex, requiring dozens or hundreds of manual steps. Orchestration is
considered to be key to truly enabling the core cloud benefit of rapid elasticity.
The common uses for cloud orchestration are:
• Resource orchestration to provision and allocate resources to cloud environments or solutions.
• Workload orchestration for management of apps and other cloud workloads and the
components essential to those workloads.
• Service orchestration to deploy services on servers or cloud environments.
approach to administration as the only way organizations can take full advantage of the potential
benefits offered by cloud service providers.
Often used by app development teams as part of a DevOps and continuous integration approach
to development.
• Visual Studio is an Integrated Development Environment (IDE) that can be used for creating
applications, automating tasks, and orchestrating processes. Visual Studio® is commonly used to
automate app testing. The Orchestration Designer is a visual tool for creating orchestrations and
is commonly used with BizTalk® Server. Primarily used in Microsoft environments to create
automation scripts and orchestrated workflows.
• GitHub is a website and service that allows developers to share code and collaborate on apps.
Both public and private code repositories are available. You can find many public automation
and orchestration tools in GitHub®, as well as tutorials, example scripts, and other information
useful in designing and implementing scripted automation and orchestration. Provides a code
repository and collaboration site where you can find automation and orchestration apps, code
samples, and tutorials for DevOps and Infrastructure as Code automation and orchestration.
TOPIC E
Prepare for Cloud Deployment
As the cloud deployment approaches, members of the cloud project team should review deployment
plans, and make sure all cloud and non-cloud elements are ready for deployment. In this topic, you
will prepare for cloud deployment.
resources, CSP resources, checklists, CSP implementation guides, and online resources; anything
your team needs to successfully execute the project execution plan.
• Communications. Make sure everyone on the team knows the plan, and all resources that you
may need are also well versed in the plan, their role, and when they may be needed.
Communications should take place in face-to-face meetings and use dedicated team messaging
such as Slack to ensure all parties can stay informed and get access to people they need. In
addition, where problems are concerned, there should be a notification procedure and escalation
path. If risks may impact external entities such as partners and clients, you should also add
communication and escalation paths for them, and potentially for public relations personnel to
handle any messages about outages or downtime.
Migration Tools
Many CSPs have migration tools available to help move data and applications. You should always Migration Tools
explore tools offered by CSPs as well as third-party tools, as these types of tools can save time Ask students if they
during deployment, may help ensure the deployment goes smoothly, and may offer other benefits. have been a part of any
For example, Microsoft Azure has a cloud migration site that allows you to get a custom assessment, cloud deployments and,
plan your migration, implement the migration, and access tools for moving data. Azure also offers a if so, were any migration
website migration assistant for those moving from on-premises IIS to the cloud. There are tools to tools used.
move SQL Server databases to Azure. Google Cloud, AWS, and other CSPs all have a number of
migration tools available.
ACTIVITY 1-1
Preparing to Deploy Cloud Solutions Review
Scenario
Answer the following review questions.
2. What business or technical benefits could your organization see from moving
some apps or services to the cloud? Be as specific as possible.
A: Answers will vary, but may include rapid elasticity, pay only for what you use, access to new
technologies, or improvements in service quality.
Summary
In this lesson, you explored how cloud and non-cloud components and services interacted. You
evaluated existing components and services for cloud deployment as well as potential automation
and orchestration options for services once they were deployed to the cloud. Finally, you prepared
for cloud deployment.