Azure Security, Authentication & Authorization Flashcards

1
Q

What is a requirement for Azure AD to work?

A

Both Client and API application must be registred in Azure via APP registrations.

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

True Or False? You can configure an Instance of API mananagment to protect the API by using OAuth 2.0 with Azure Active Directory

A

True

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

True or False? Microsoft implements OpenID Connect protocol for handling athentication

A

True

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

Explain what Authentication means

A

Authentication is the process of proving you are who you say you are. (AuthN)

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

Explain what Authorization means

A

Authorization is the act of granting an authenticated party permission to do something.It specifies what data you’re allowed to access and what you can do with that data. (AuthZ)

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

Explain what a Shared access Signature (SAS) is and what you can do with it.

A

Its used to grant access to a resource in your storage account. For Blob Storage for example, its simply a token thats added to the url. Everyone that has this url, can use the defined privileges that where used to create the SAS.

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

Explain what the difference is between an ad-hoc SAS and a SAS that is associated with a stored access policy

A

An ad-hoc SAS contains all information like startime, end time and permissions directly in the URI

example: ?sv=2018-11-09&sr=c&sig=rS3eUbL5eCSmmth57EQkTEd6DEIo4luyg%2FtXvqvorXc%3D&st=2020-05-28T18%3A14%3A50Z&se=2020-05-29T18%3A19%3A50Z&sp=wl

When SAS is associated with a stored access policy, it inherits the settings from the policy. Its also possible to revoke those by changing the policy.

example: http://127.0.0.1:10000/devstoreaccount1/sas-container-637262939086872312?sv=2018-11-09&sr=c&si=tutorial-policy-637262939086922296&sig=0pZAShTGtP7qYz%2FaXIf4Zr32hcA4RMr4dYDFPQUcj3w%3D

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

True or False? When copying files between different Storage Account, you must use a SAS

A

true

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

Explain on a high level what Azure RBAC is and what you can do with it

A

Azure role-based access control (Azure RBAC) helps you manage who has access to Azure resources, what they can do with those resources, and what areas they have access to.

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

Name the three key elements that are part of the RBAC security concept

A

Security principal, role definition and scope

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

Explain what Security principal means

A

A security principal is an object that represents a user, group, service principal, or managed identity that is requesting access to Azure resources.

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

What forms of Service Principal does Azure work with, name at list three

A

User, individual with profile in Azure Active Directory

Group, a set of User

Service Principal, apps can use this to access specific azure resources. Think of like user+pw or certificate

Managed Identity, automatically managed by Azure. Used by cloud applications to manage credentials for authenticating to azure services

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

Explain what a Role definition (role) is

A

A Collection of permissions. Like read, write delete

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

Explain what a Scope is

A

Scope is the set of resources that the access applies to. When you assign a role, you can further limit the actions allowed by defining a scope. This is helpful if you want to make someone a Website Contributor, but only for one resource group.

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

What is a role assignment

A

A role assignment is the process of attaching a role definition to a user, group, service principal, or managed identity at a particular scope for the purpose of granting access. Access is granted by creating a role assignment, and access is revoked by removing a role assignment.

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

True or False? Azure RBAC is an additive model, so your effective permissions are the sum of your role assignments.

A

True

17
Q

What is a deny assignment

A

a deny assignment attaches a set of deny actions to a user, group, service principal, or managed identity at a particular scope for the purpose of denying access. A role assignment defines a set of actions that are allowed, while a deny assignment defines a set of actions that are not allowed. In other words, deny assignments block users from performing specified actions even if a role assignment grants them access.

18
Q

True or false? Deny assignments take precedence over role assignments

A

True