Setup & Install Databases

📝 Setup & Install Databases

Total Questions: 7
Click an answer to select it, then click "Check Answers" to see your results.
Question 1

How can you verify a successful MySQL server installation from the terminal?

A.

A) `show databases;`

B.

B) `mysql --version`

C.

C) `use mysql;`

D.

D) `root -p`

Question 2

Which user account is created during MySQL installation and requires a custom password?

A.

A) Admin user

B.

B) Root user

C.

C) Guest user

D.

D) System user

Question 3

What does the **MySQL prompt** (mysql>) indicate?

A.

A) Terminal dollar prompt ($) for OS commands

B.

B) Successful login to the MySQL server

C.

C) Connection to MySQL Workbench only

D.

D) Default database selection

Question 4

Which tool is recommended for interactive query execution after server installation?

A.

A) Terminal command line exclusively

B.

B) Root password manager

C.

C) Default system databases

D.

D) MySQL Workbench

Question 5

During **PostgreSQL** installation, what should you do with the **Stack Builder** option?

A.

A) Always select it for required drivers

B.

B) Use it to set the database password

C.

C) Deselect it as it's optional for extra tools

D.

D) Select it to change the default port

Question 6

Which tool is included with **PostgreSQL** installation to access the server via a GUI, similar to **MySQL Workbench**?

A.

A) **pgAdmin 4**

B.

B) **MySQL Workbench**

C.

C) **Stack Builder**

D.

D) **companyDB**

Question 7

Which database remains the primary focus for the course despite **PostgreSQL** being available?

A.

A) **companyDB**

B.

B) **postgres**

C.

C) **MySQL**

D.

D) **pgAdmin 4** database

Quiz Complete!

Score: 0 / 7