Search Header Logo

MySql Day-5

Authored by Gnanavel Durairaj

Other

University

Used 1+ times

MySql Day-5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which privilege allows a MySQL user to create and manage databases?

SELECT

CREATE

INSERT

DROP

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To grant a user full access to all databases in MySQL, which command would you use?

GRANT ALL PRIVILEGES ON * . * TO 'username'

GRANT SELECT ALL ON * . *TO 'username'

GRANT ALL PRIVILEGES ON dbname TO 'username'

GRANT FULL ACCESS ON * TO 'username'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which privilege is required to allow a user to execute stored procedures and functions in MySQL?

EXECUTE

ALTER

CREATE ROUTINE

SUPER

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default root password for a fresh MySQL installation?

password

root

No password

admin

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands displays the current user privileges in MySQL?

SHOW GRANTS

SHOW USERS

LIST PRIVILEGES

SHOW ACCESS

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which MySQL function can be used to encrypt passwords?

AES_ENCRYPT()

PASSWORD()

ENCRYPT()

SHA2()

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

In MySQL, a user can be granted ______ privilege to be able to read from a database.

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?