Postgres Quiz Archive

/20
Created by Paul Sammy

Postgres 16 Beginner Knowledge Checker Test 1.0

20 Questions chosen at Random to test your knowledge.

You have 3 minutes so think fast.

1 / 20

which below functions can be used to CAST one datatype to another

2 / 20

Which tools allow Point in Time recovery?

3 / 20

Which of below is true about tables to use COPY FREEZE?

4 / 20

Which commands below are considered TCL?

5 / 20

Which parameter must be set to TRUE for autovacuum to run

6 / 20

An update in Postgres is performed in place on the same data page?

7 / 20

pg_dump produces a backup file that is human readable with commands and data to create objects?

8 / 20

what utility is used to start and stop a database cluster?

9 / 20

VACUUM FREEZE marks rows as frozen with special in the the past transaction ID's

10 / 20

Which process acts as a supervisor to others in Postgres?

11 / 20

SELinux must be set to which  mode on systems with SELinx

12 / 20

Which 2 commands below are considered DCL?

13 / 20

How can we easily find the definition of a View in Postgres?

14 / 20

Money is data type in Postgres?

15 / 20

There will be 1 physical file on disk per table or index?

16 / 20

pgcrypto supports only 1 way encryption?

17 / 20

A CROSS JOIN and a FULL OUT JOIN are the same thing?

18 / 20

What commands add rows to a newly created table and freezes them?

19 / 20

which environment variable can be used to specify a user for psql?

20 / 20

Which connectors does Postgres Support?

Your score is

0%

Exit

You have 200 seconds to answer 20 Random questions so think fast!

You will need to score 80% or over to pass!


Created by Paul Sammy

PostgreSQL 14 Internals Chapter 1

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 1.

1 / 20

1. Which 3 databases exist directly after cluster initialization?

choose 3 options

2 / 20

2. How many rows in a page does Postgres aim to have before considering TOAST?

3 / 20

3. Tablespaces are used to define physical data layout?

4 / 20

4. Who is the Author of the Postgres 14 Internals book?

5 / 20

5. pg_catalog schema is used to store system catalog tables?

6 / 20

6. What is the process first launched at server start?

7 / 20

7. A single Postgres Instance can server only one database?

8 / 20

8. TOAST tables reside in a seperate schema?

9 / 20

9. Postgres server spawns a new backend session for each connection?

10 / 20

10. What is the name of the 2 default tablespaces created after initialization?

choose 2

11 / 20

11. Which fork keeps track of available space within pages?

12 / 20

12. Users should not modify the template0 database

13 / 20

13. What is the name of the directory that contains the files related to the Postgres cluster?

14 / 20

14. To be able to restore data consistency, Postgres maintains

15 / 20

15. Each Database has its own System Catalog?

16 / 20

16. The information_schema schema provides information on Postgres release notes?

17 / 20

17. Which fork is specific for unlogged tables?

18 / 20

18. Which of below are predefined schemas?

choose 2

19 / 20

19. How does Postgres know which schema to use if not specified?

20 / 20

20. A schema can belong to more than one database?

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 2

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 2.

1 / 10

1. What is the default Isolation Level?

2 / 10

2. Snapshot isolation is preferred but increases the number of required locks?

3 / 10

3. Which of the below are valid Isolations Levels?

choose 2

4 / 10

4. Which parameters sets the database default isolation level?

5 / 10

5. At any moment the database system can contain several versions of one and the same row?

6 / 10

6. Which isolation level in theory could mean an application does not have to consider isolation anomalies?

7 / 10

7. which of the below statements will start a transaction as Read Repeatable?

8 / 10

8. non-repeatable read anomaly occurs when?

9 / 10

9. The SQL standard specifies three isolation levels?

10 / 10

10. What are some of database features we can use to avoid a non repeatable read?

Select more than 1 answer below:

Your score is

0%

Created by Paul Sammy

PostgreSQL 14 Internals Chapter 3

A quiz to test the knowledge of those reading and learning from Postgres 14 Internals book by Egor Rogov, covering topics in Chapter 3.

1 / 10

1. The page Special Space is located at the start of the page with highest address

2 / 10

2. When a transaction is committed Postgres uses a special <replace with answer> structure?

3 / 10

3. Page header sizes can be easily displayed using the <choose from answers> extension

4 / 10

4. Which 2 items does a Virtual XID consist of?

5 / 10

5. Indexes values also support multi versioning with several versions of an index value existing at any point in time?

6 / 10

6. CLOG Pages are never cached in memory?

7 / 10

7. In Postgres, tables are often referred to as which of the below?

8 / 10

8. Which function can we use to find the current transaction ID?

9 / 10

9. CLOG contains how many bits for each transaction?

10 / 10

10. The page header stores checksum and the sizes of the other parts of the page?

Your score is

0%