Continuing from the previous article - Azure Fundamentals Knowledge Check - Part 1
31. An organization has completed the migration of its core servers and processes to cloud-based virtual machines. Its final project involves migrating a weekly batch-processing task that relies on operating system drivers to print pdf reports. It needs to meet this requirement while minimizing costs. What should the organization do?*
a. Run the batch processing task using spot instances
b. Execute the batch task on a dedicated virtual machine as needed
c. Configure virtual machine clusters to scale for batch processing
d. Migrate the batch processing to serverless compute*
32. Manually increasing or decreasing resources to meet a predictable workload is called ______?
a. Agility
b. Elasticity
c. Scalability
d. High Availability
33. Automatically increasing or decreasing resources to meet a predictable workload is called ______?
a. Agility
b. Elasticity
c. Scalability
d. High Availability
34. Speed and flexibility in allocation and deallocation of required resources is called ______?
a. Agility
b. Elasticity
c. Scalability
d. High Availability
35. Keeping resources and services functioning for long periods of time is called ______?
a. Agility
b. Elasticity
c. Scalability
d. High Availability
Answers:
31-a Microsoft offers Azure Spot Virtual Machines, which are a great fit for batch jobs. These Spot VMs or instances can help reduce costs by taking advantage of unutilized compute capacity. Most cloud service providers (CSPs) offer this unused capacity at a significant discount. Unlike a normal Virtual Machine, a spot VM does not offer guaranteed compute resources at a specified time. They are perfect for batch or other asynchronous processing that can occur on a flexible schedule.
You should not migrate the batch to serverless compute, as it does not provide access to a full operating system for printing. The customer simply submits their application code, and the provider maintains the servers and infrastructure required to run an application.
You should not go for dedicated VM as storage charges will be incurred regardless of whether or not a VM is operational.
You should also not go for VM clusters to scale for batch processsing, as it is one of the most expensive cloud compute resources.
32-c Scalability - it allows manually configuring an increase or decrease in resources to meet a predictable workload.
33-b Elasticity - it allows to automatically increase or decrease resources to meet any unpredictable spikes/drops in demand. It is triggered when the CPU, memory or network usage goes beyond a pre-configured limit (e.g when CPU hits 95%, scale out 3 more VMs).
34-a Agility - it allows deployment of required resources and services in minutes without manual administration.
35-d High Availability - it focuses on ensuring maximum availability, regardless of disruptions or events that may occur. Cloud service providers typically offer SLAs that guarantee HA as a percentage.
36. Ability to restore a cloud service after a catastrophic loss is called ______?
a. Agility
b. Disaster Recovery
c. Scalability
d. High Availability
37. Your organization migrates VMs from an on-premises datacenter to Azure. As part of this migration, all existing physical servers in your datacenter are decommissioned. The migrated workload runs on Azure VMs. What are the possible benefits of this cloud migration ?
a. Pay-as-you-Go model
b. Absence of upfront costs or physical infrastructure
c. Reduced Service Level Agreement (SLA)
d. Fixed recurrent costs
e. Ownership of physical infrastructure
38. Migrating to cloud services enables an organization to budget infrastructure costs as
a. OpEx
b. CapEx
c. both CapEx and OpEx
d. Neither CapEx not OpEx
39. Aure Active Directory (Azure AD) is used to manage API cryptographic keys
a. True
b. False
40. Aure Storage encryption is enabled by default and cannot be disabled
a. True
b. False
Answers:
36-b Disaster recovery is the ability to restore a cloud service after a catastrophic loss. DR measures include taking regular backup of important data and replicating your application across different regions.
37-a,b The absence of upfront costs for physical infrastructure and Pay-as-you-go model are the possible benefits of this cloud migration.
Ownership of physical infrastructure - No. As a cloud consumer, you only lease cloud computing resources, the hardware is owned by the cloud service provider.
Fixed recurrent costs - No. There are no fixed recurrent costs because you pay for the actual usage of cloud resources, which may vary based on your workload demand.
Reduced SLA - No. You are very likely to get not a lower, but a higher SLA. Most Azure services offer an SLA of 99.9% and above, which is higher than what is achievable in an on-premises datacenter.
38-a OpEx refers primarily to consumable items and pay-as-you-go resources. Migrating to cloud services enables an organization to budget infrastructure costs as an operational expense (OpEx).
39-b Azure Active Directory (Azure AD) is not used to manage API cryptographic keys. Azure Key Vault would be the best choice here. Azure AD on the other hand is a cloud-based identity and access management service which helps you manage users, groups, and access to applications in your Azure subscription.
40-a Azure Storage encryption is enabled by default and cannot be disabled. It is a feature that encrypts data using 256-bit AES encryption before storing it in Azure Storage. Data remains encrypted while in transit between the customer's computer and Azure, and between Azure data centers.
41. Azure ExpressRoute is used to secure traffic between virtual networks.*
a. True
b. False*
42. Your company has implemented cloud bursting to improve performance of mission-critical applications. What is the benefit of cloud bursting?
a. Compute resources are distributed geographically to reduce the impact of power or connectivity failures
b. Compute, memory, and storage resources are added to cloud-based servers to increase capacity
c. Additional virtual machines are added to, and removed from, a compute cluster based on workload
d. Cloud-based resources are provisioned when on-premises servers reach 100% resource capacity.
43. Which Azure feature enhances manageability and reliability by provisioning VM instances based on workload
a. Autoscale
b. Availability zones
c. Site Recovery
d. Serverless compute
44. In the IaaS cloud service model, the subscriber is responsible for the management of which two components?
a. Physical networking
b. Virtualization
c. Applications
d. Operating system
45. The service provider is responsible for all infrastructure hardware in SaaS, PaaS, and IaaS
a. True
b. False
Answers:
41-b Azure ExpressRoute is not used to secure traffic between virtual networks. (Correct answer TBD). Azure ExpressRoute is a private network connection between your organization and Microsoft Cloud Services. It provides a more secure, reliable, and predictable way to connect to Microsoft Cloud services than connecting over the internet.
42-d When cloud bursting is configured, cloud-based resources are provisioned when on-premises servers reach 100% resource capacity. Cloud bursting is used in hybrid cloud models consisting of on-premises and cloud-based resources.
The option (a) in the question describes the use of Availability Zones to distribute resources geographically; option (b) describes Vertical Scalability and option (c) describes horizontal scalability.
43-a Azure autoscale creates new VMs when demand spikes, and removes them when demand subsides, ensuring you only pay for the compute resources you need.
44-c,d In the Iaas model, subscribers are responsible for the management of
Applications
Data
Runtime
Middleware
OS
The Cloud service provider is responsible for:
Virtualization
Servers
Storage
Physical Networking
In PaaS model, the subscriber is responsible for applications and data only. And in SaaS model, the Cloud service provider is responsible for all the above components.
45-a True
46. Creating a VM running Windows Server 2016 is an example o PaaS
a. True
b. False
47. SaaS gives you a way to give users access to sophisticated applications in a pay-as-you-go environment
a. True
b. False
48. IaaS allows you to rent hardware and have control over the OS
a. True
b. False
49. PaaS allows you to manage applications without controlling the underlying OS
a. True
b. False
50. SaaS allows you to subscribe to software
a. True
b. False
Answers:
46-b False - VM creation comes under IaaS, not PaaS.
IaaS - Cloud provider manages hardware, users need to setup VMs, OS, and applications.
PaaS - Cloud provider manages hardware, VMs, OS and dev tools. Users develop, test and deploy their apps. e.g Heroku, PCF, AWS Lambda, Azure Function,
SaaS - Cloud manages hardware, VMs, OS and apps as well. Users just pay for using the apps (basically end users). e.g. Outlook, GMail, Netflix, Zoom
47-a True
48-a True
49-a True
50-a True
51. Which Azure resource can be deployed as IaaS ?
a. Aure SQL Database
b. API Management
c. VM
d. Office 365
52. Which Azure resource can be managed as SaaS?
a. Aure SQL Database
b. API Management
c. VM
d. Azure IoT Central
53. Which of the following are SaaS services?
a. Outlook
b. SQL Server 2016 on Linux
c. Skype
d. Azure SQL Database
e. IoT Hub
f. VM
54. Which of the following are PaaS services?*
a. Outlook
b. SQL Server 2016 on Linux
c. Skype
d. Azure SQL Database
e. IoT Hub
f. VM*
55. Which of the following are IaaS services?*
a. Outlook
b. SQL Server 2016 on Linux
c. Skype
d. Azure SQL Database
e. IoT Hub
f. VM*
Answers:
51-c Only IaaS model gives the user the ability to deploy VMs. This is not possible in PaaS or SaaS.
Azure SQL Database - this is an example of PaaS. PaaS allows users to develop apps. Database is a part of app development.
API Management - This is an example of PaaS, where users can develop apps or APIs
Office 365 - this is an example of SaaS
52-d Azure IoT Central can be managed as SaaS. This service makes it easy or users to manage and monitor IoT devices at scale.
53-a,c Outlook and Skype are SaaS
54-d,e Azure SQL Database, and IoT Hub are all used by dev teams to develop applications, hence they are PaaS
55-b,f VM is IaaS. SQL Server 2016 on Linux is also IaaS as here you have the choice to choose your OS as well. Only IaaS offers the ability to choose underlying OS
56. Which of the following in PaaS are the responsibility of the customer?
a. OS
b. Data
c. Storage
d. Virtualization
e. Applications
57. Your organization needs to deploy a VM with Ubuntu Linux to run a resource-intensive data analysis application. Which cloud model is most suitable here?
a. IaaS
b. PaaS
c. SaaS
58. Your organization needs to make productivity applications available to all employees, including those that work from home, on a pay-as-you-go basis. Which cloud model is most suitable here?
a. IaaS
b. PaaS
c. SaaS
59. Your organization needs to develop a web app designed to run on both computers and mobile devices and manage the application lifecycle. Which cloud model is most suitable here?
a. IaaS
b. PaaS
c. SaaS
60. Your organization needs to transition an on-premises data center to the cloud with minimal impact on users? Which cloud model is most suitable here?
a. IaaS
b. PaaS
c. SaaS
Answers:
56-b,e Only Data and Applications are the responsibility of customer. The Storage, Virtualization, and OS are managed by the provider.
57-a IaaS allows control over VM and OS deployment, so it is the correct option here
58-c SaaS provides ready to use software on a pay-as-you-go basis.
59-b PaaS allows us to develop, test, and deploy our applications on the cloud.
60-a IaaS allows you to lift-and-shift on-premises data center with minimum impact on users