Azure compute services Flashcards

1
Q

What does Azure compute services support?

A

Linux, Windows Server, SQL Server, Oracle, IBM, and SAP.

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

In what type of situation are VMs an ideal choice?

A

When you need total control over an operation system and environment. This is a IaaS (Infrastructure as a service) type service.

When you need to customize all software running, this ability is helpful when you’re running custom software or custom hosting configurations.

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

What are containers?

A

Containers are lightweight, virtualized application environments. They’re designed to be quickly created, scaled out, and stopped dynamically. You can run multiple instances of a containerized application on a single host machine.

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

Name a container and a kubernetes resource

A

Container Instances and Azure Kubernetes Service

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

What is App Service?

A

With Azure App Service, you can quickly build, deploy, and scale enterprise-grade web, mobile, and API apps running on any platform. You can meet rigorous performance, scalability, security, and compliance requirements while using a fully managed platform to perform infrastructure maintenance. App Service is a platform as a service (PaaS) offering.

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

What are Functions?

A

Functions are ideal when you’re concerned only about the code running your service and not the underlying platform or infrastructure. They’re 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.

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

What is one of the most important decisions you’ll make when creating a VM?

A

Selecting an image

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

When should you use VMs (examples)?

A

During testing and development. VMs provide a quick and easy way to create different OS and application configurations. Test and development personnel can then easily delete the VMs when they no longer need them.

When running applications in the cloud. The ability to run certain applications in the public cloud as opposed to creating a traditional infrastructure to run them can provide substantial economic benefits. For example, an application might need to handle fluctuations in demand. Shutting down VMs when you don't need them or quickly starting them up to meet a sudden increase in demand means you pay only for the resources you use.

When extending your datacenter to the cloud. An organization can extend the capabilities of its own on-premises network by creating a virtual network in Azure and adding VMs to that virtual network. Applications like SharePoint can then run on an Azure VM instead of running locally. This arrangement makes it easier or less expensive to deploy than in an on-premises environment.

During disaster recovery. As with running certain types of applications in the cloud and extending an on-premises network to the cloud, you can get significant cost savings by using an IaaS-based approach to disaster recovery. If a primary datacenter fails, you can create VMs running on Azure to run your critical applications and then shut them down when the primary datacenter becomes operational again.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are virtual machine scale sets?

A

Virtual machine scale sets let you create and manage a group of identical, load-balanced VMs. Scale sets allow you to centrally manage, configure, and update a large number of VMs in minutes to provide highly available applications. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule. With virtual machine scale sets, you can build large-scale services for areas such as compute, big data, and container workloads.

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

What is Azure Batch?

A

Azure Batch enables large-scale parallel and high-performance computing (HPC) batch jobs with the ability to scale to tens, hundreds, or thousands of VMs.

When you’re ready to run a job, Batch does the following:

Starts a pool of compute VMs for you.

Installs applications and staging data.

Runs jobs with as many tasks as you have.

Identifies failures.

Requeues work.

Scales down the pool as work completes.

There might be situations in which you need raw computing power or supercomputer-level compute power. Azure provides these capabilities.

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

What are four common app services from App Service?

A

Web apps
API apps
WebJobs
Mobile apps

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

What is an API?

A

A program that communicates between two points, like a waiter.

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

What is a WebJob?

A

Jobs executed by your application, which can run scheduled or by trigger

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

When should you use a container?

A

If you want to run multiple instances of an application on a single host

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

Can you run multiple containers on a single physical or virtual host?

A

yes

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

Do you manage the OS for a container?

A

No

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

What are containers designed for?

A

To allow you to respond to changes on demand

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

Can containers quickly restart in case of a hardware interruption?

A

yes

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

Can VMs run multiple OS at a time?

A

No

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

What do VMs and Containers virtualize?

A

VMs virtualize the hardwarde, while containers virtualize the OS

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

What do VMs and Containers virtualize?

A

VMs virtualize the hardwarde, while containers virtualize the OS

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

Do VM or Container apps tend to be smaller in size? Which development process is simplified?

A

container apps in both cases

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

Do VMs or containers have clusterized orchestration?

A

containers, you don’t have to worry about which server will host each container

23
Q

What does container orchestrator do?

A

start, stop, and scale out application instances as needed

24
Q

What are two ways to manage both Docker and Microsoft-based containers?

A

Azure Container Instances and Azure Kubernetes Service

25
Q

Welke servicestyle heeft Azure Container Services?

A

PaaS

26
Q

What is Azure Kubernetes Service?

A

A orchestration service

27
Q

How does the hierarchy of kubernetes worK?

A

Cluster node > cluster pod > container

28
Q

What is microservice architecture?

A

An architecture in which you break solutions into smaller 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.

29
Q

Does each microservice have a seperate code base? Do microservices need to share the same technology stack, libraries and frameworks?

A

yes and no

30
Q

How do mircoservices communicate?

A

APIs

31
Q

What does event driven mean?

A

That you application waits for a particular input before it performs any processing.

32
Q

What does serverless computing include?

A

Abstraction of servers, event-driven scale, and micro-billing

33
Q

What is abstraction of servers?

A

Serverless computing abstracts the servers you run on. You never explicitly reserve server instances. The platform manages that for you. Each function execution can run on a different compute instance. This execution context is transparent to the code. With serverless architecture, you deploy your code, which then runs with high availability.

34
Q

What is event-driven scale?

A

When events trigger functions

35
Q

What is micro-billing?

A

Paying only for the time their code runs. If no active function executions occur, they’re not charged. For example, if the code runs once a day for two minutes, they’re charged for one execution and two minutes of computing time.

36
Q

What are the benefits of Serverless computing?

A

No infrastructure management (abstraction of servers)

Scalability

You only pay for what you use (event -driven scale + microbilling)

37
Q

Which two orchestrations of serverless computing does Azure have?

A

Azure Functions and Azure Logic Apps

38
Q

When are functions commonly used?

A

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.

39
Q

Do functions scale automatically on demand?

A

Yes

40
Q

What are stateful and stateless functions?

A

Functions can be either stateless or stateful. When they’re stateless (the default), they behave as if they’re restarted 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.

40
Q

What are stateful and stateless functions?

A

Functions can be either stateless or stateful. When they’re stateless (the default), they behave as if they’re restarted 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.

41
Q

What is a logic app workflow?

A

predefined logic blocks triggered by an event, which are built to respond to predefined business scenario’s

42
Q

What is the difference between Functions and Logic Apps?

A

With Functions, you write code to complete each step.

With Logic Apps, you use a GUI to define the actions and how they relate to one another.

43
Q

Can you mix Logic Apps and Functions?

A

Yes

44
Q

Is it possible to have more users on a single VM with Azure Virtual Desktop?

A

Yes

45
Q

Why is sign-in to Azure Virtual Desktop fast?

A

Because user profiles are containerized by using FSLogix

46
Q

What type of security management does Azure Virtual Desktop provide?

A

Centralized security management for users’ desktops with Azure Active Directory (Azure AD)

47
Q

What does Azure AD provide for Azure Virtual Desktop?

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.

48
Q

Is Reverse connect technology or Remote Desktop Protocol more secure?

A

Reverse connect technology, because it doesn’t open inbound ports to the session host VMs.

49
Q

What are some key features of Azure Virtual Desktop?

A

Simplified management, Performance management, and Multi-session Windows 10 deployment

50
Q

What does Azure Virtual Desktop use for monitoring and alerts?

A

Azure Monitor

51
Q

What are VM host pools?

A

collections of VMs with the same configuration assigned to multiple users to load balance.

52
Q

What is breadth and depth mode in host pools?

A

With breadth mode, users are sequentially allocated across the host pool for your workload. To save costs, you can configure your VMs for depth mode load balancing where users are fully allocated on one VM before moving to the next. Azure Virtual Desktop provides tools to automatically provision additional VMs when incoming demand exceeds a specified threshold.

53
Q

How to reduce costs with Azure Virtual Desktop?

A

Bring your eligible Windows or Microsoft 365 license to get Windows 10 Enterprise and Windows 7
Enterprise desktops and apps at no additional cost.

If you’re an eligible Microsoft Remote Desktop
Services Client Access License customer, Windows Server Remote Desktop Services desktops and apps are available at no additional cost.

Buy one-year or three-year Azure Reserved Virtual Machine Instances to save you up to 72 percent versus pay-as-you-go pricing. You can pay for a reservation up front or monthly. Reservations provide a billing discount and don’t affect the runtime state of your resources.