PostgreSQL
PostgreSQL is a powerful, open-source object-relational database management system known for its reliability, extensibility, and standards compliance. It supports advanced SQL features, strong ACID compliance, and modern capabilities such as JSON data handling, full-text search, and extensible indexing. With features like MVCC and Write-Ahead Logging, PostgreSQL ensures data consistency, concurrency, and fault tolerance. It is widely used in enterprise, cloud, and open-source environments for building scalable and data-intensive applications.
This PostgreSQL questionnaire is designed to assess foundational database knowledge, covering core concepts such as database architecture, SQL commands, data types, indexing, transactions, joins, constraints, and ACID compliance.
Take this assessment to understand PostgreSQL and identify areas for further learning.
Read the FAQs tab carefully for Instructions before beginning the assessment.
NYXPoints are used to generate the Leaderboard (coming soon). They are awarded for achieving a certain score.
- 200 nyxpoints for a passing score of 80% or more
- 300 nyxpoints for a perfect score of 100%
- Didn’t pass? You still get 30 nyxpoints for attempting the assesment
IMPORTANT instructions for taking the Assessment
- The timer starts when you click Start Assessment
- DO NOT refresh/reload the page or use the back button to navigate away from the page.
- Navigating away from the assessment page DOES NOT stop/pause the timer and the will restart the assessment when you come back to it. The answers are NOT saved.
General
- There are NO pre-requisites to take this assessment. Take this assessment even if you are completely new to Linux.
- The assessment is completely FREE.
- Preferably take it in a closed book mode.
- DO NOT copy/paste, share or upload questions elsewhere.
Eligible Rewards

300 NyxCoins*
* NyxCoins vary on score
Assessment Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the assessment before. Hence you can not start it again.
Assessment is loading…
You must sign in or sign up to start the assessment.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
| Average score |
|
| Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
PostgreSQL is a:
CorrectIncorrect -
Question 2 of 30
2. Question
Which command is used to connect to a PostgreSQL database?
CorrectIncorrect -
Question 3 of 30
3. Question
Default port number for PostgreSQL is:
CorrectIncorrect -
Question 4 of 30
4. Question
Which data type is used to store variable-length strings with a length limit?
CorrectIncorrect -
Question 5 of 30
5. Question
Which command is used to list all databases in PostgreSQL?
CorrectIncorrect -
Question 6 of 30
6. Question
Which SQL command is used to remove a table?
CorrectIncorrect -
Question 7 of 30
7. Question
What does the SERIAL data type do?
CorrectIncorrect -
Question 8 of 30
8. Question
Which command is used to see table structure?
CorrectIncorrect -
Question 9 of 30
9. Question
Which keyword is used to ensure unique values in a column?
CorrectIncorrect -
Question 10 of 30
10. Question
Which clause is used to filter rows?
CorrectIncorrect -
Question 11 of 30
11. Question
Which join returns only matching rows from both tables?
CorrectIncorrect -
Question 12 of 30
12. Question
Which PostgreSQL feature ensures ACID compliance?
CorrectIncorrect -
Question 13 of 30
13. Question
Which command is used to create a database?
CorrectIncorrect -
Question 14 of 30
14. Question
Which function returns the current date without the time?
CorrectIncorrect -
Question 15 of 30
15. Question
Which data type is used to store JSON data?
CorrectIncorrect -
Question 16 of 30
16. Question
Which PostgreSQL index type is best for full-text search?
CorrectIncorrect -
Question 17 of 30
17. Question
Which command permanently removes all rows from a table?
CorrectIncorrect -
Question 18 of 30
18. Question
Which keyword is used with aggregate functions to filter groups?
CorrectIncorrect -
Question 19 of 30
19. Question
Which PostgreSQL object stores a predefined query?
CorrectIncorrect -
Question 20 of 30
20. Question
Which isolation level is the default in PostgreSQL?
CorrectIncorrect -
Question 21 of 30
21. Question
Which command is used to grant privileges?
CorrectIncorrect -
Question 22 of 30
22. Question
Which command shows the columns and their data types of a table?
CorrectIncorrect -
Question 23 of 30
23. Question
Which clause is used to sort results?
CorrectIncorrect -
Question 24 of 30
24. Question
Which PostgreSQL extension adds spatial data support?
CorrectIncorrect -
Question 25 of 30
25. Question
Which function returns the current timestamp?
CorrectIncorrect -
Question 26 of 30
26. Question
Which command lists all tables in the current database?
CorrectIncorrect -
Question 27 of 30
27. Question
Which keyword enforces referential integrity?
CorrectIncorrect -
Question 28 of 30
28. Question
Which command is used to rollback a transaction?
CorrectIncorrect -
Question 29 of 30
29. Question
Which function is used to count all rows in a table, including rows with NULL values?
CorrectIncorrect -
Question 30 of 30
30. Question
Which PostgreSQL feature allows versioning of rows?
CorrectIncorrect
