Microsoft Azure
The App service plan you select will determine:
-number of apps you can host -cost of your app service plan -number of app service features you can use
Azure App Service Logs
4- Application, Web Server, Detailed Error, and Failed Request Logs
What is a Batch pool in Azure Batch?
A collection of compute nodes on which the user application runs
Within Azure Batch, what is a batch job?
A collection of tasks that specifies how computation is performed on compute nodes in the pool
What statement accurately describes an Azure Function trigger requirement?
A function must have exactly one trigger. Explanation Triggers and bindings are a declarative way to define how a function is invoked and what data it works with. A trigger defines how a function is invoked. A function must have exactly one trigger. Triggers have associated data, which is usually the payload that triggered the function. Bindings simplify coding for input and output data.
Your client has two requirements for their Azure solution utilizing Azure Virtual Machines that affect how it needs to be deployed. They want the highest level of availability, and also large customer populations in distant parts of the globe. What model would generally help address this client's needs?
A multi-region active-active model with geo-location based request routing Explanation Due to the fact that this client desires the highest level of availability, it is clear they need multi-regional deployment and not multi-zone. Then there is the issue of the customers on distant parts of the globe, which raises the issue of latency. The two best options in terms of minimal downtime are active/active and active/passive with hot standby, and since the client needs to serve two distinct locations, minimizing service latency is the reason to choose active/active with geo-location based request routing.
What is Azure Batch?
A platform for running large-scale parallel and HPC applications in the cloud Azure Batch helps you run large-scale parallel and HPC applications efficiently in the cloud. It's a platform service that provides job scheduling and auto-scaling of a managed collection of virtual machines to run the jobs. By using Batch, you can configure workloads to run in Azure on demand or on a schedule and not worry about the complexity of configuring and managing an HPC cluster, VMs or a job scheduler.
What benefits does deployment within paired regions within Azure offer, in addition to the high availability offered by multi-region deployment? (Choose 2 answers)
Added stability during planned updates Prioritized system recovery from an outage Explanation Region recovery order - In the event of a broad outage, recovery of one region is prioritized out of every pair. Applications that are deployed across paired regions are guaranteed to have one of the regions recovered with priority. If an application is deployed across regions that are not paired, recovery might be delayed - in the worst case the chosen regions may be the last two to be recovered. Updates Sequential updates - Planned Azure system updates are rolled out to paired regions sequentially (not at the same time) to minimize downtime, the effect of bugs, and logical failures in the rare event of a bad update.
Your Azure App Service plan hosts a webjob that needs to run at the same time every day, to execute a background operation for other applications hosted on the same App Service plan. What Azure App Service feature should one enable under the configuration settings to have the webjob run automatically rather than be manually triggered?
Always On Under general settings, the Always on feature keeps your app loaded even when not active. While this might seem like a good feature to improve responsiveness, it's actually required for WebJobs that aren't manually triggered. The other choices are actual setting: You can specify whether to allow FTP deployment or not. You can also turn on web sockets if your app is using SignalR or Socket.io push technology. ARR (application request routing) affinity is an interesting setting that works when your app is scaled out to multiple instances. The idea is that when a client establishes a session with a particular instance, ARR assigns them an affinity cookie (as in that client has an affinity with that particular instance) and that instance will service the client until the session has ended.
What Azure Backup service is not application aware?
Azure Backup (MARS) Agent Azure Backup Agent is not application aware, meaning it stores no information related to the connected service's status or performance.
Your client is migrating an online service they provide from on-premises servers to the Azure cloud. They are migrating compute resources to Azure Virtual Machines, and need to adopt the best version of Azure backup service for their needs. They currently use Linux servers, and would like to continue that on Azure. They want to protect a wide variety of data, including their virtual machines, applications, workloads and system states. They would like to backup services on premises and in the cloud, and they would like to minimize the price. Which Azure Backup service would meet all their requirements and offer the lowest cost?
Azure Backup Server Explanation Azure Backup Server meets all the client requirements because it is Linux compatible, offers cloud and on-premises backup of data, can protect the necessary variety of files, and does not require any licensing fees, unlike System Center DPM.
What are the recommended ways to interact with Azure Resource Manager when deploying large or repeated deployments?
Azure CLI and Azure Powershell
What Azure service integrates with Azure App Service to enable continuous deployment and continuous integration workflows?
Azure DevOps Azure DevOps provides developer services for support teams to plan work, collaborate on code development, and build and deploy applications. Developers can work in the cloud using Azure DevOps Services or on-premises using Azure DevOps Server. Azure App Configuration provides a service to centrally manage application settings and feature flags. Azure Functions is a cloud service available on-demand that provides all the continually-updated infrastructure and resources needed to run your applications. API Management (APIM) is a way to create consistent and modern API gateways for existing back-end services.
In Service Fabric, microservices are hosted in _________.
Containers Explanation Service Fabric provides comprehensive runtime and lifecycle management capabilities to applications composed of these microservices. It hosts microservices inside containers that are deployed and activated across the Service Fabric cluster.
Your client is expanding their cloud presence as their customer base expands to different distant parts of the globe. They are building a multi-regional architecture, and need the correct Azure Backup configuration to support it. After they select the Azure Backup service that meets their needs, what steps in configuring Azure Backup would allow you to copy all data as easily as possible, and provide the highest level of availability and redundancy?
Create a Recovery Services vault in each region with geo-redundant storage enabled. Create a backup policy for each vault that includes all VMs in the corresponding region. Explanation When considering simplicity, availability and redundancy, you should configure the service in the following way: Create a vault in each region, as the range of the vaults is regional. Enable geo-redundant storage, so that in the event of a regional outage, the data from each region is replicated to another region and will be intact. Create a backup policy for each vault rather than for each virtual machine, to simplify the management of the system in the likely event that scaling is necessary, or new virtual machines are created to replace any that have failed.
With a web application deployed to Azure Web Apps, a company wants to start deploying rolling updates, but at the same time, they want to test the updates on the Azure environment before promoting the app to production. Which of the approaches below would help fulfill their requirements?
Create a deployment slot, configure the app on this slot. Test the app, then swap the slots. The Web Apps service in Azure App Service allows you to create deployment slots to have a separate staging environment for testing updates before they get rolled out to production. The deployment slot creates a new environment which can then be swapped with the production environment after all testing is complete.
_______________ enable developers with the ability to perform A/B testing on Azure App Service apps, and provides you a separate deployment environment along with the default production environment.
Deployment Slots Explanation When you deploy your web app, web app on Linux, mobile back end, and API app to App Service, you can deploy to a separate deployment slot instead of the default production slot when running in the Standard or Premium App Service plan mode. Deployment slots are actually live apps with their own hostnames. App content and configurations elements can be swapped between two deployment slots, including the production slot.
Which service can you integrate with Azure App Service to adopt efficient processes such as continuous deployment?
DevOps
Azure App Service allows you to secure your web app using ________, through the use of either an existing SSL certificate, or one purchased via the Azure portal.
HTTPS Azure Web Apps provides a highly scalable, self-patching web hosting service. To use a certificate in App Service, the certificate must meet all the following requirements: Signed by a trusted certificate authority Exported as a password-protected PFX file Contains private key at least 2048 bits long Contains all intermediate certificates in the certificate chain
What is one tool that a web app in an Azure App Service can use to access on-premises data?.
Hybrid Connections Hybrid Connections are a feature of Azure BizTalk Services. Hybrid Connections allow the Web Apps feature in Azure App Service to access on-premises resources behind a firewall.
What is ARM's default template deployment mode?
Incremental mode
Which of the following is not a section of the Azure Resource Manager template?
Inputs
An ARM Template is idempotent. What does this mean?
It means that actions requested in the template are executed in Azure only once, and additional requests have no effect.
The API Apps tool in Azure App Service allows you to more securely expose your APIs in the cloud with ____ metadata.
JSON API Apps in Azure App Service use Swagger, which is a machine readable representation of a RESTful API that is exposed to the client, to enable support for interactive documentation, client SDK generation and discoverability.
What are Azure App Service deployment slots?
Live web applications with their own hostnames, whose content and configuration settings can be swapped between each other Live web applications with their own hostnames, whose content and configuration settings can be swapped between each other.
How is a Batch pool created in Azure Batch?
Manually by the user or automatically by the Batch service when the job is specified
Which Microsoft Azure Site Recovery (ASR) component is responsible for the replication during a failback from Azure?
Master target server Explanation The master target server is installed on-premise and handles replication data during failback from Azure. The management server you created on-premises has a master target server installed by default. However, depending on the volume of failed back traffic you might need to create a separate master target server for failback.
where can you set an expiration policy?
Only for Office 365 groups in Azure Active Directory (Azure AD)
Which point to site VPN protocol can be used to connect from Android, Windows, Linux, and Mac OSX machines?
Open VPN
Which section of an ARM template allows you to provide values for daisy-chaining multiple templates?
Outputs
Which section of the ARM template allows you to pass variables into the template to make its functionality more dynamic?
Parameters
What type of Azure maintenance event involves updates made by Microsoft to improve overall reliability, performance, and security of the platform infrastructure on which a virtual machine runs?
Planned Explanation The availability of virtual machines is affected by two types of Microsoft Azure platform maintenance events: planned maintenance and unplanned maintenance. Most planned updates such as these, are performed without any impact upon your virtual machines or cloud services.
What are the two types of Azure platform events that can affect the availability of your VMs?
Planned and Unplanned maintenance
Which of the following services in Azure is used to hold data such as backup copies, recovery points, and backup policies?
Recovery Services Vault Explanation A Recovery Services vault is an online storage entity in Azure used to hold data such as backup copies, recovery points, and backup policies. You can use Recovery Services vaults to hold backup data for various Azure services such as IaaS VMs (Linux or Windows) and Azure SQL databases. Recovery Services vaults support System Center DPM, Windows Server, and Azure Backup Server.
Which section of an ARM template allows you to specify what Azure services such as virtual machines, virtual networks, or storage accounts, for example, the template will deploy.
Resources
Which of the following is correct regarding the scaling workflows available in the Azure App service?
Scale up can be used to increase the CPU resources for an app and Scale out can be used to increase the number of Virtual Machines dedicated to an app. The following scaling mechanisms are present in the Azure App Service: Scale up - Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging slots, autoscaling, and more. You scale up by changing your application's App Service pricing tier. Scale out - Increase the number of VM instances that run your app. You can scale out to as many as 20 instances, depending on your pricing tier.
Which point to site VPN protocol supports only Windows devices?
Secure Socket Tunneling Protocol
What is a cost-effective storage option for virtual machines that require improved availability compared to standard HDDs, but do not require high IOPS?
Standard SSD disks -- backed by solid-state drives
Which type of microservice(s) does Service Fabric support?
Stateful & stateless
Your organization's marketing department has an occasional job that puts a message on an event hub queue. In turn, this triggers an Azure Function that will save the contents of the message onto a storage account. The function runs for about 4 minutes on average. What Azure Function pricing model should you select when creating the application container in which this function will reside?
The consumption-based plan Explanation The Consumption Plan is very useful if your functions will only be running intermittently, and not continuously or very frequently throughout a given month. The Consumption plan is the default and offers the following benefits. One - pay only when your functions are running. Two - scale out automatically, even during periods of high load. On a Consumption plan, a function can run for a maximum of 10 minutes.
When deciding which Azure App Service plan works best for you, there are multiple factors to consider. Which of the following is not a factor related to the app service plan one selects?
The different programming languages and frameworks used in your Azure web apps The separate Azure App service plans host a different number of Azure web apps. For example, the free plan supports 10 while the Standard supports 100, so the number of web apps you need to deploy should be considered. In addition, the apps in a plan all share the same resources, so you could potentially save money by putting lots of apps in one plan, but compute and infrastructure resources are shared between many apps. Another consideration is that not all features are available to all plans. For example, Deployment Slots are only available in standard or above plans. As performance isn't a consideration for this demo, I'm going to select the free plan.
There are several parameters to define for Auto Scaling to correctly operate in Azure App Service. Which of the following is not an Auto Scaling parameter that needs to be defined?
The type of instance Azure App Service should deploy Azure App Service Auto Scaling determines how the service scales horizontally, meaning it determines the number of identical instances that are deployed to support one or several Azure web apps at a given time. With this in mind, you need to define each of the parameters above except for the type of instance. This is determined by the Azure App Service plan one selects, not by the auto scaling configuration.
An ARM template is submitted as one object and ARM works out the order in which resources should be created. What advantage does this provide?
This allows ARM templates to deploy multiple interdependent resources successfully.
A company is looking at using the Azure Media services to deliver their video content. They have users distributed in many geographic locations. They want to deliver the video content so that the users have the least latency when viewing the video content. Which of the below options can help them achieve this purpose?
Use the Azure CDN service along with the Azure Media Services Explanation Azure Media services can be supported by Azure Content Delivery network, so the encoded videos can be pushed to the various CDN locations. The users will then get the content from the location that is closest to them.
What allows you to perform maintenance and even updates on an Azure VM instance hosting an application without the need for any downtime?
VM Scale Set
Which section of the ARM template consists of key-value pairs that are defined once and can be used throughout the template?
Variables
In Azure Resource Manager (ARM) templates what advantage do variables provide?
Variables simplify template expressions
Which of the following is not an example of a microservice?
Virtual machine Explanation Today's Internet-scale services are built using microservices. Examples of microservices include protocol gateways, user profiles, shopping carts, inventory processing, queues, and caches.
When using Azure Site Recovery, you utilize a process server, a configuration server, a master target server, and a mobility service. However, the configuration of these components varies depending on your recovery plan. How does the configuration vary between an on-premise to Azure plan and an on-premise to secondary site plan?
When replicating from on-premise to a secondary site, the master target and configuration servers are in the secondary site. When replicating data from a physical server on-premise to Azure, all the components are based on the primary site. The servers must be configured on-premise, and the mobility service must be installed on VMWare or physical server. If you're replicating to a secondary site, then you need the same components, but the Process server is in the primary site and the Configuration and Master target servers are in the secondary site.
Which statement regarding the Linux operating system on Azure App Service is correct?
Windows and Linux cannot run in the same App Service plan. While you can deploy Linux web apps on Azure App Service, there are a number of limitations. App Service on Linux isn't supported on the shared pricing tier. You are not able to mix Windows and Linux apps in the same App Service plan. You can't mix Windows and Linux apps in the same region within the same resource group.
When performing a deployment of a Microsoft Azure Resource Manager (ARM) template, can information be shared between multiple template files?
Yes, data can be shared between linked ARM templates
Azure Web Apps Service
a managed service for deploying and running Windows-Based and Linux-based web apps that also support containerized apps
vNet Peering
allows you to seamlessly connect different Azure virtual networks so that, as far as connectivity goes, both virtual networks appear as one
Which Azure Resource Manager (ARM) component is used to define the dependencies among the deployed ARM resources?
an ARM template
If your Azure Virtual Machines need more advanced layer seven distribution and SSL termination, you can implement
an Azure Application gateway
Distributing your virtual machines in different ___________________ will offer more protection in the event an entire data center fails.
availability zone Explanation Availability sets offer protection against different types of failures and maintenance in a single data center, but availability zones offer protection against the failure of an entire data center because you've distributed resources among multiple data centers.
Azure Functions supports ____, which provide ways to simplify and connect your code to a trigger or associated input or output data.
bindings Explanation Bindings represent the necessary metadata used to connect your code to a desired trigger or associated input or output data. There is no limit to the number of input and output bindings a function can have. However, only a single trigger binding is supported for each function.
______ allow developers with the ability to perform A/B testing on Azure app service apps, and provides you a separate deployment environment along with the default production environment
deployment slots
HTTP triggers and bindings in Azure Functions allow you to use Azure Functions to respond to ____.
events Explanation With HTTP triggers and bindings in Azure Functions, you can use Azure Functions to build serverless APIs and respond to webhooks. A webhook allows a function to provide real-time data to other applications. An HTTP trigger lets you invoke a function with an HTTP request. This can be customized to respond to webhooks. An HTTP output binding allows you to respond to the request.
You expect traffic on your web applications to increase massively for a short period of time, say two weeks. You want to increase the number of resources in the cloud to handle this temporary increase. You do not want to expand the size of your existing compute and database resources in the cloud.In this case, you want to __________________________.
horizontally scale out Explanation When scaling in and out, the size of the resource doesn't change, however the quantity of those resources does. Scaling out you increase the quantity of a resource, scaling in, you reduce the quantity.
A VPN gateway
is used to send encrypted network traffic between an Azure virtual network and an on-prem network over the public internet
Descirbe ARM (Azure Resource Manager)
it is the backend Azure service you interact with through the Portal, SDK, or CLI to connect to other Azure Services
network contributor role allows you to:
manage networks , but not access them
who is allowed to create user accounts in an active directory tenant?
only global administrators can add users to tenant
You want to design an Azure solution with compute resources that require minimal management, and you are considering Azure Cloud Services instead of Azure Virtual Machines. What aspect of virtual machines would Cloud Services manage that virtual machines in a scale set could not?
operating system patches Explanation The only reason you would consider using Cloud Services instead is if you need remote access to your VMs or you need to install custom software on them, which is something you can't do with Web Apps. However, if you need this level of control, then you'd probably be better off creating VMs in a scale set. This would give you the same high availability and autoscaling as Cloud Services. This would be a good solution instead of both web roles and worker roles. The only disadvantage to using VMs directly is that you would have to take care of OS updates, but even that won't be a problem for long, because Microsoft has introduced a preview of the automatic OS image upgrade feature for scale sets.
Your company has two endpoints for a web application, one in United States and the other in Western Europe. The endpoint in United States must act as the primary endpoint, and the endpoint in Europe as the secondary. To properly execute this, which routing policy should be selected in Azure Traffic Manager?
priority Explanation If you want to set up a routing policy so that different endpoints work as an active-passive failover scenario, then you can use the Priority based routing. Here you would define the US endpoint having a priority of 1 and the endpoint in Europe having a priority of 2.
What compute service does Azure Functions provide?
serverless computing within the Azure Cloud Explanation Azure Functions provide serverless computing via the Azure cloud. Batch computing is provided by Azure Batch, Stream Analytics provides real-time data stream processing, and Virtual Machine Scale Sets allows you to scale and manage sets of Azure virtual machines.
What is guaranteed when a premium SSD disk is provisioned with an Azure VM?
storage capacity, IOPS, and throughput performance are all guaranteed
An Azure Batch job manages a collection of ____.
tasks Explanation A job is created to manage a collection of tasks. Each job is associated with a specific pool where that job's tasks will run. Each task runs the application or script uploaded to process the data files it downloads from the Storage account. As each task completes, it can upload its output to Azure Storage.
An application is considered a 'monolith' when _________________________.
the entire software package is included in one application Explanation Monoliths are when all of the modules that comprise your software are in one application. For context, this is the opposite of the microservices architecture where different services are broken out into different discreet deployable applications.
When creating an Azure Resource Manager (ARM) template, how can the template be deployed?
through Powershell, Azure CLI, or the REST API
Which type of Azure maintenance event results from local network failures?
unplanned Explanation The virtual machines' availability is affected by two types of Microsoft Azure platform maintenance events: planned maintenance and unplanned maintenance. Local network failures, local disk failures, or other rack level failures may occur when the hardware or physical infrastructure underlying a virtual machine has faulted in some way and reflects unplanned maintenance.
Each virtual machine in an availability set is assigned a(n) ____ domain and a ____ domain by the underlying Azure platform.
update; fault For a given availability set, five non-user-configurable update domains are assigned by default to indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time. Fault domains define the group of virtual machines that share a common power source and network switch.
_______ allow you to easily create and manage multiple Azure VMs that have the same configuration because all the underlying VM instances are created from the same base OS image and configuration
virtual machine scale sets -- because in a scale set, all underlying VM instances are created from the same base OS image and configuration. Therefore, it is fairly easy to manage dozens or even hundreds of virtual machines without needing to worry about performing configuration tasks or even about network management.