Azure - BICEP Flashcards

1
Q

How can I add a comment to a parameter?

A

@description(‘Cosmos DB account name, max length 44 characters, lowercase’)

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

How can I add a parameter?

A

param accountName string = ‘sql-${uniqueString(resourceGroup().id)}’

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

how can I add a int parameter?

A

param maxIntervalInSeconds int = 300

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

How can I add a string parameter?

A

param databaseName string

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

From VS-Code how can I compile a .bicep file?

A

az bicep build –file .\main.bicep

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

How can I create a .bicep to create a resource group?

A

Resources:
- resourceGroup:
name: myResourceGroup
location: westus2
properties: {}

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

How would build a .bicep file form CLI?

A

bicep build mytemplate.bicep

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

How do we measure standard units of Azure Compute?

A

Using comp[ute, since compute unite, is a standard measurement of the performance of the compute mode and can be used when selecting a compute node.

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

What do we get in the (B) series of compute?

A

We get burst capabilities.

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

What types of compute hardware processors are available, if the first one is intel?

A

Intel, AMD, ARM

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

What are the different compute types available?

A

A: Entry level, economic,
B: Burst
D: General
F: Compute-optimized
G: Memory and storage optimized
H: High-performance compute
L: Storage optimized
E: Memory optimized

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

What is Gen 1 VM?

A

This is a BIOS-based VM thet boots using the bios, master boot record.

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

Can you automatically switch from Gen 1 to Gen 2 VM?

A

No, there are different boot requirements on the disk

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

What VM type do I need to use if I need a trusted launch?

A

It would be best if you used a Gen 2 VM

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

Can you use the app service from now on HTTP protocols?

A

No, you can not, it is an HTTP/HTTPS-only service

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

When you app service do you need to provide a separate load balancer?

A

No, the service comes with a load balancer thet load balances across instances.

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

Do Azure App services only support a single framework of C#

A

No, it supports a wide range of frameworks, including PHP, .NET, Python, Node, Java, and PowerShell.

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

Do you have to patch the Azure App Service platform?

A

No, patching is preformed by Az\ur4e as it is a PaaS service.

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

How and when are Azure App service OS updates applied?

A

Azure manages OS patching on two levels: the physical servers and the guest virtual machines (VMs) that run the App Service resources. Both are updated monthly, aligning with the monthly Patch Tuesday schedule. These updates are applied automatically, guaranteeing the high-availability SLA of Azure services.

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

I have a docker container, and wh

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

Explain about app service.

A

App service is a service on Azure to allows you to create a web app, mobile app, API app,
App service can also be deployed as an app environment.

22
Q

I am concerned about using the app service and the lack of zone redundancy. What can I do to configure zone redundancy for the app service?

A

App service is a regional service; when you are creating a service plan, you can select if it is to be zone redundant.

23
Q

When creating an app service, what do you need before you can make the service?

A

App service plan

24
Q

What is contained in an app service plan?

A

Operating system (Linux or Windows)
Resource group
Region
Pricing tier (ACU, Mem, vCPU number)
Zone redundancy or not

25
Q

Can I deploy Linux apps using the app service?

A

Yes, the app service supports containers.

26
Q

I want to deploy a static website; what options do I have using Azure services?

A

App Service - Static Website
Static Web Site
VM
Kubernetes Container
Azure Storage - Website

27
Q

What should I know about scaling in-app service?

A

You can scale up or scale out

28
Q

What services in Azure use an app service plan?

A

App Service
Azure functions
Web Apps
API Apps
Mobile Apps

29
Q

What does an app service plan define?

A

Pricing ties
Resource allocation
Scaling
Operating system: A
Region: All apps in the plan are to be deployed within the plan region

30
Q

I’m planning to deploy several Web Apps, Azure Functions, and API Apps and would like to have them under the same service plan. Is this possible?

A

You can have all of these under the same app service plan.

31
Q

What apps are part of Azure App Services?

A

Web Apps
Web Jobs
API Apps
Mobile Apps
Azure Functions
Logic Apps
App Service Environment

32
Q

You have an Azure Active Directory (Azure AD) tenant that syncs with an on-premises Active Directory domain.
You have an internal web app named WebApp1 that is hosted on-premises. WebApp1 uses Integrated Windows authentication.
Some users work remotely and do NOT have VPN access to the on-premises network.
You need to provide the remote users with single sign-on (SSO) access to WebApp1.
Which two features should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Azure AD Application Proxy Most Voted
B. Azure AD Privileged Identity Management (PIM)
C. Conditional Access policies
D. Azure Arc
E. Azure AD enterprise applications Most Voted
F. Azure Application Gateway

A

A: Application Proxy is a feature of Azure AD that enables users to access on-premises web applications from a remote client. Application Proxy includes both the
Application Proxy service which runs in the cloud, and the Application Proxy connector which runs on an on-premises server.
You can configure single sign-on to an Application Proxy application.

E: Add an on-premises app to Azure AD
Now that you’ve prepared your environment and installed a connector, you’re ready to add on-premises applications to Azure AD.

33
Q

ou have an Azure Active Directory (Azure AD) tenant named contoso.com that has a security group named Group1. Group1 is configured for assigned membership. Group1 has 50 members, including 20 guest users.
You need to recommend a solution for evaluating the membership of Group1. The solution must meet the following requirements:
✑ The evaluation must be repeated automatically every three months.
✑ Every member must be able to report whether they need to be in Group1.
✑ Users who report that they do not need to be in Group1 must be removed from Group1 automatically.
✑ Users who do not report whether they need to be in Group1 must be removed from Group1 automatically.
What should you include in the recommendation?
A. Implement Azure AD Identity Protection.
B. Change the Membership type of Group1 to Dynamic User.
C. Create an access review.
D. Implement Azure AD Privileged Identity Management (PIM).

A

Correct Answer: C 🗳️
Azure Active Directory (Azure AD) access reviews enable organizations to efficiently manage group memberships, access to enterprise applications, and role assignments. User’s access can be reviewed on a regular basis to make sure only the right people have continued access.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/governance/access-reviews-overview

34
Q

What families of Azure products is the Azure web app part of?

A

Azure app service

35
Q

What is ASE?

A
36
Q

What is the current version of ASE v3?

A
37
Q

What service do I require to use a dedicated App Service in Azure?

A

App Service Environment?

38
Q

Is Azure App Service single or multi-tenant?

A

Is it a multi-tenant?

39
Q

App Service in Azure, and I wnat to access the App Service API from a private network, vNET; how can I do this?

A

You can use the private link and private endpoint to access the API.

39
Q

Using an application running in my App Service in Azure deployment, I wnat to access the HTTPS interface on a VM in my private vNET; how can I do this?

A

1) You can configure the app service to use a vNet for accessing the VM HTTP endpoint.

2)

40
Q

I have an App Service in Azure configured to use a private vNET, and on this vNET, I have a VM thet I want to access a container HTTPS endpoint; how can I do this?

A

Not possible as App Service in Azure,, only has outgoing traffic

41
Q

What is App Service, regional integration?

A

This is where app service integrates with a regional vNET to all access to services endpoints in this vNET.

42
Q

I am using the Azure app service. Can I block the IP address?

A

Yes, you can select Access Restrictions under networking and then configure the IP address to allow or deny.

43
Q

I am using the Azure app service. Can I filter the incoming traffic using the HTTP header?

A

Yes, select Access Restrictions under networking and then configure the HTTP Header to allow or deny.

44
Q

I am using the Azure app service. Can I filter the incoming traffic using the for some of the Azure services?

A

Yes, select Access Restrictions under networking and then configure the Service Tags to choose which services to allow or deny.

45
Q

I am using the Azure app service; I would like to get events for when things like backup operations, slot swap, and app are updated; how can I do this?

A

Azure app services are available under the events, menu where you can select the event types and the sink, like event grid.

46
Q

I am using the Azure app service and have an app thet needs to be load-tested; what services should I use?

A

Azure app service has load testing built in and is accessible using the I am using the Azure app service menu.

47
Q

I am using the Azure app service and want insight into my application. What libraries and services should I use?

A

Azure app service has app insights

48
Q

I am using the Azure app service and want to be able to back up and restore my app service applications. What Azure services should I use?

A

Azure app service has backup and restore, but not on basic SKU

49
Q
A