Azure General Flashcards
Explain what a JWT token is?
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.
What is the structure of JWT?
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.
What is a Service Tag in relation to azure infrastructure?
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.
When asked a question like preventing any data loss, would a backup of the data work?
No, because backup will have a windows between backups and data can be lost.
How should one answer the following question?
Can you create application consistent backups with Azure backup?
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