Search Header Logo

Office Hours | Week 09

Authored by Nigel Jacob

Computers

University

Used 1+ times

Office Hours | Week 09
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What does JWT stand for?

Jumpy Wild Turtle

Just Wondering Today

JSON Web Token

Jolly Web Technology

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the primary purpose of "cookies" in web applications?

To store your favorite chocolate chip recipe

To remember your login session

To track your sleep schedule

To store digital fortune cookies

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What is the difference between Authentication and Authorization?

Authentication is for passwords, Authorization is for usernames

uthentication means your email; Authorization means your browser history

Both are the same, just different spellings!

Authentication checks if you’re you; Authorization checks if you can go to the VIP section

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Why would you store a JWT token in a cookie?

Because cookies are delicious

Because you forgot to clear your browser cache

To safely store and pass user information in a secure way

Because cookies are more secure than the cookie monster’s lair

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following is a good practice for storing sensitive data?

Leave it in a plain text file on your desktop

Hide it in a locked drawer and forget the key

Post it on your social media for all to see

Use environment variables and encryption

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of these frameworks is used for handling authentication in Node.js applications?

Passport.js

Wait-For-It.js

Random-Guess.js

I-Can’t-Remember.js

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

How would you describe RBAC (Role-Based Access Control)?

You get access based on your favorite pizza topping

You get access based on your assigned role—like the "Manager" gets the keys to the kingdom

You get access because you’re just lucky!

You get access if your username is really cool

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?