Azure General Flashcards

1
Q

Explain what a JWT token is?

A

A JSON Web Token (JWT) is a URL-safe means of representing claims to be transferred between two parties. It’s widely used in web applications for secure, stateless authentication.

Use Cases:

Authentication: JWTs are often used in login systems, where users receive a token after logging in, which they include in subsequent requests for authorization.

Authorization: The payload may contain information about user roles or permissions, which services can use to grant or restrict access.

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

What is the structure of JWT?

A

Structure: JWTs have three parts, separated by dots (header.payload.signature):

Header: Contains metadata, typically specifying the token type (JWT) and the signing algorithm (like HMAC SHA256 or RSA).

Payload: Holds the claims, or information about the user or data being transmitted, in a JSON format. Common claims include iss (issuer), sub (subject), aud (audience), and exp (expiration).

Signature: This part verifies the token’s integrity. It’s generated by encoding the header and payload, then signing them with a secret or private key.

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

What is a Service Tag in relation to azure infrastructure?

A

A Service Tag in Azure simplifies network security rules by representing a group of IP addresses for a specific Azure service. Instead of individual IPs, use a Service Tag to allow or deny traffic. This helps secure and manage Azure services efficiently without constantly updating IP addresses.

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

When asked a question like preventing any data loss, would a backup of the data work?

A

No, because backup will have a windows between backups and data can be lost.

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

How should one answer the following question?

Can you create application consistent backups with Azure backup?

A

Figure if the question is asking about application-consistent backups, independently, meaning each layer has its application-consistent backup

or

If it’s one consistent backup across all layers of the application

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

What is the cost of data into azure from the internet?

A

Free

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

Is there a cost for data transferred within the same region?

A

No, as of May 2024, Azure does not charge for data transfers between Availability Zones within the same region. This change was implemented to encourage the development of resilient and efficient applications by allowing customers to leverage zonal and zone-redundant services without incurring additional data transfer costs.

Prior to this update, data transfers between Availability Zones were subject to charges. However, with the elimination of these fees, you can now design and deploy applications across multiple zones to enhance redundancy and availability without worrying about extra data transfer expenses.

It’s important to note that while intra-zone data transfers are free, data transfers between different Azure regions still incur charges. These costs vary depending on the regions involved.

For the most current information on Azure’s data transfer pricing, you can refer to Microsoft’s official bandwidth pricing page.

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

What is the difference between Azure Batch and Azure Hadoop?

A

High-performance compute-focused on compute calculation.

Big data focused on data.

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

Can Azure resource groups be nested?

A

No

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

Can a resource be part of two or more resource groups?

A

No

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

Are tags inherited?

A

No

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

How can you make tags be inherited from the resource group to the resources?

A

Using an Azure policy

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

How can you check compliance?

A

Using Azure policy, there are compliance dashboards available

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

What is meant by roles being cumulative?

A

It means the only role a user gets is just added, so a user starts with no role or permissions, and as each role is added, they get more permissions from each added role.

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