Azure virtual desktop / containers/ functions Flashcards

1
Q

What is an Azure Virtual Desktop

A

Another type of virtual machine

Azure Virtual Desktop is a desktop and application virtualization service that runs on the cloud. It enables you to use a cloud-hosted version of Windows from any location. Azure Virtual Desktop works across devices and operating systems and works with apps that you can use to access remote desktops or most modern browsers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Azure Virtual Desktop provides centralized security management for users’ desktops with Microsoft Entra ID.

Give examples of how?

A

You can enable multifactor authentication to secure user sign-ins.

You can also secure access to data by assigning granular role-based access controls (RBACs) to users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

With Azure Virtual Desktop, the data and apps are separated from the local hardware.

How is this useful?

A

The actual desktop and apps are running in the cloud, meaning the risk of confidential data being left on a personal device is reduced. Additionally, user sessions are isolated in both single and multi-session environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A

Azure Virtual Desktop lets you use Windows 10 or Windows 11 Enterprise multi-session, the only Windows client-based operating system that enables multiple concurrent users on a single VM. Azure Virtual Desktop also provides a more consistent experience with broader application support compared to Windows Server-based operating systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

While virtual machines are an excellent way to reduce costs versus the investments that are necessary for physical hardware, they’re still limited to a single operating system per virtual machine.

If you want to run multiple instances of an application on a single host machine, what is an alternative?

A

containers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are containers?

A

Containers are a virtualization environment. Much like running multiple virtual machines on a single physical host, you can run multiple containers on a single physical or virtual host.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

One of the most popular container engines is

A

Docker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do containers and virtual machines differ?

A

virtual machines:
- manage operating systems
- appear to be an instance of an operating system that you can connect to and manage.

containers:
- don’t manage operating systems
- lightweight and designed to be created, scaled out, and stopped dynamically/ to meet demands.
- you can quickly restart if there’s a crash or hardware interruption.

It’s possible to create and deploy virtual machines as application demand increases, but containers are a lighter weight, more agile method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are Azure container instances?

A

Azure Container Instances is a platform as a service (PaaS) offering. Azure Container Instances allow you to upload your containers and then the service runs the containers for you.

offer the fastest and simplest way to run a container in Azure; without having to manage any virtual machines or adopt any additional services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are Azure Container Apps?

A

Azure Container Apps are similar in many ways to a container instance. They allow you to get up and running right away, they remove the container management piece, and they’re a PaaS offering.

Container Apps have extra benefits such as the ability to incorporate load balancing and scaling. These other functions allow you to be more elastic in your design.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Azure Kubernetes Service?

A

Azure Kubernetes Service (AKS) is a container orchestration service. An orchestration service manages the lifecycle of containers.

When you’re deploying a fleet of containers, AKS can make fleet management simpler and more efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can you use containers in your solution?

A

Containers are often used to create solutions by using a microservice architecture. This architecture is where you break solutions into smaller, independent pieces. For example, you might split a website into a container hosting your front end, another hosting your back end, and a third for storage. This split allows you to separate portions of your app into logical sections that can be maintained, scaled, or updated independently.

Imagine your website back-end reaches capacity, but the front end and storage aren’t stressed. With containers, you could scale the back-end separately to improve performance. If something necessitated such a change, you could also choose to change the storage service or modify the front end without impacting any of the other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are Azure functions and how do they differ from containers and VMs?

A

Azure Functions is an event-driven, serverless compute option that doesn’t require maintaining virtual machines or containers. If you build an app using VMs or containers, those resources must be “running” for your app to function. With Azure Functions, an event wakes the function, alleviating the need to keep resources provisioned when no events occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is it ideal/ common to use Azure functions?

A

Using Azure Functions is ideal when you’re only concerned about the code running your service and not about the underlying platform or infrastructure.

Functions are commonly used when you need to perform work in response to an event (often via a REST request), timer, or message from another Azure service, and when that work can be completed quickly, within seconds or less.

Functions scale automatically based on demand, so they may be a good choice when demand is variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Azure Functions runs your code when it triggers and automatically deallocates resources when the function is finished.

How does Azure charge you based on this model?

A

Azure only charges you for the CPU time used while your function runs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Functions can either be in two states.

What are those states and describe those states

A

Functions can be either stateless or stateful. When they’re stateless (the default), they behave as if they restart every time they respond to an event. When they’re stateful (called Durable Functions), a context is passed through the function to track prior activity.

17
Q

Functions are a key component of serverless computing. They’re also a general compute platform for running any type of code. If the needs of the developer’s app change, you can deploy the project in an environment that isn’t serverless. This flexibility allows you to manage scaling, run on virtual networks, and even completely isolate the functions.

A
18
Q

If you need to host your application on Azure, you might initially turn to a virtual machine (VM) or containers.

There are other hosting options that you can use with Azure, including:

A

Azure App Service

19
Q

What is Azure app service?

A

Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile backends. It supports multiple languages, including .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. It also supports both Windows and Linux environments.

Azure App Service lets you focus on building and maintaining your app without managing infrastructure., and Azure focuses on keeping the environment up and running.

20
Q

What does Azure App Service offer?

A

It offers automatic scaling and high availability. App Service supports Windows and Linux. It enables automated deployments from GitHub, Azure DevOps, or any Git repo to support a continuous deployment model.

21
Q

With App Service, you can host the most common app service styles like:

A

Web apps
API apps
WebJobs
Mobile apps

22
Q

App Service handles most of the infrastructure decisions you deal with in hosting web-accessible apps such as:

A

Deployment and management are integrated into the platform.
Endpoints can be secured.
Sites can be scaled quickly to handle high-traffic loads.
The built-in load balancing and traffic manager provide high availability.

All of these app styles are hosted in the same infrastructure and share these benefits. This flexibility makes App Service the ideal choice to host web-oriented applications.

23
Q

How does App service support Web apps?

A

App Service includes full support for hosting web apps by using ASP.NET, ASP.NET Core, Java, Ruby, Node.js, PHP, or Python. You can choose either Windows or Linux as the host operating system.

24
Q

How can the API apps feature in-app services be used?

A

Much like hosting a website, you can build REST-based web APIs by using your choice of language and framework. You get full Swagger support and the ability to package and publish your API in Azure Marketplace. The produced apps can be consumed from any HTTP- or HTTPS-based client.

25
Q

How can the webjobs feature in app services be used?

A

You can use the WebJobs feature to run a program (.exe, Java, PHP, Python, or Node.js) or script (.cmd, .bat, PowerShell, or Bash) in the same context as a web app, API app, or mobile app. They can be scheduled or run by a trigger. WebJobs are often used to run background tasks as part of your application logic.

26
Q

How can the mobile apps feature in-app services be used?

A

Use the Mobile Apps feature of App Service to quickly build a back end for iOS and Android apps. With just a few actions in the Azure portal, you can:

Store mobile app data in a cloud-based SQL database.
Authenticate customers against common social providers, such as MSA, Google, Twitter, and Facebook.
Send push notifications.
Execute custom back-end logic in C# or Node.js.
On the mobile app side, there’s SDK support for native iOS and Android, Xamarin, and React native apps.