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