
[Jun 27, 2026] PostgreSQL-Essentials Free Exam Questions with Quality Guaranteed
PostgreSQL-Essentials Free Exam Files Downloaded Instantly
EnterpriseDB PostgreSQL-Essentials Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
NEW QUESTION # 35
PostgreSQL supports SQL dump backup. You have configured a nightly backup of a database in plain SQL dump format. Due to database corruption, you need to restore your database using the SQL dump backup.
Which of the following commands can be used to restore a SQL dump?
- A. psql -f sqldumpfilename --tuples -d databasename -U username
- B. psql -f sqldumpfilename -quiet -d databasename -U username
- C. psql -f sqldumpfilename --all -d databasename -U username
- D. psql -f sqldumpfilename -1 -d databasename -U username
Answer: D
NEW QUESTION # 36
You want to set the maximum time to complete client authentication to 10 seconds. Which parameter should you configure?
- A. authentication_timeout = 10s
- B. client_timeout = 10s
- C. connection_timeout = 10s
- D. auth_timeout = 10s
Answer: A
NEW QUESTION # 37
You want to set the effective cache size for indexes to 512MB. Which parameter should you configure?
- A. effective_cache_size = 512MB
- B. shared_cache = 512MB
- C. cache_size = 512MB
- D. index_cache = 512MB
Answer: A
NEW QUESTION # 38
Which psql meta-command is used to list all databases in the cluster?
- A. Both A and B
- B. \l
- C. \databases
- D. \list
Answer: A
NEW QUESTION # 39
You are connected to a database in PostgreSQL using the psql tool. Which of the following commands can be used to view the cluster data directory?
- A. SHOW DATA_DIRECTORY;
- B. SHOW DIRECTORY;
- C. SELECT data_dir FROM pg_settings;
- D. SELECT server_dir FROM pg_settings;
Answer: A
NEW QUESTION # 40
Which configuration parameter limits the total number of connections available for your database cluster?
- A. superuser_reserved_connection
- B. max_connections
- C. log_connection
- D. tcp_keepalives_count
Answer: B
NEW QUESTION # 41
Which system view provides real-time information about currently active sessions and running queries?
- A. pg_current_queries
- B. pg_stat_activity
- C. pg_sessions
- D. pg_active_sessions
Answer: B
NEW QUESTION # 42
You want to view all available functions in the current database using psql. Which command should you use?
- A. \f
- B. \df
- C. \functions
- D. \fn
Answer: B
NEW QUESTION # 43
Autocommit occurs in which of the following situations?
- A. All DML statements
- B. None of the above
- C. All DDL statements
- D. On DML and DDL statements
Answer: C
NEW QUESTION # 44
In PostgreSQL, which view provides information about currently running queries?
- A. pg_current_queries
- B. pg_stat_activity
- C. pg_running_queries
- D. pg_active_sessions
Answer: B
NEW QUESTION # 45
You need to reclaim storage occupied by dead tuples in the customers table. Which command should you use?
- A. REINDEX customers;
- B. VACUUM customers;
- C. CLUSTER customers;
- D. ANALYZE customers;
Answer: B
NEW QUESTION # 46
Which parameter sets the number of autovacuum worker processes?
- A. autovacuum_workers
- B. max_autovacuum_workers
- C. autovacuum_max_workers
- D. vacuum_workers
Answer: C
NEW QUESTION # 47
Which psql meta-command is used to display all roles and their attributes?
- A. \dr
- B. \du
- C. \roles
- D. \users
Answer: B
NEW QUESTION # 48
You need to restore a database from a compressed format backup file created with pg_dump -Fc option.
Which utility should you use?
- A. psql
- B. pg_restore
- C. pg_dump
- D. pg_basebackup
Answer: B
NEW QUESTION # 49
SERIAL and IDENTITY columns can be used to add an auto-incrementing column in a Postgres table. Which of these two column types are SQL standard compliant?
- A. None
- B. Both
- C. Serial
- D. Identity
Answer: D
NEW QUESTION # 50
In PostgreSQL, what does VACUUM do?
- A. Optimizes query execution plans
- B. Reclaims storage occupied by dead tuples
- C. Creates database backups
- D. Compresses the database
Answer: B
NEW QUESTION # 51
You want to list all schemas in the current database using psql. Which command should you use?
- A. \schemas
- B. \ds
- C. \dn
- D. \ls
Answer: C
NEW QUESTION # 52
Which configuration file controls client authentication in PostgreSQL?
- A. pg_hba.conf
- B. postgresql.conf
- C. auth.conf
- D. pg_ident.conf
Answer: A
NEW QUESTION # 53
SERIAL and IDENTITY columns can be used to add an auto-incrementing column in a Postgres table. Which of these two column types are SQL standard compliant?
- A. None
- B. Serial
- C. Identity
Answer: C
NEW QUESTION # 54
Which psql meta-command displays the structure of a specific table including columns, types, and constraints?
- A. DESCRIBE tablename;
- B. \d tablename
- C. \dt tablename
- D. SHOW TABLE tablename;
Answer: B
NEW QUESTION # 55
You are working as a Postgres DBA. Due to an increase in transactional load on your Postgres instance, the server is experiencing frequent checkpoints. You have decided to increase the WAL area size. You have also decided to upgrade your database instance to PostgreSQL 13. While initializing your database cluster in PostgreSQL 13, you have decided to increase the WAL segment size. Which of the following options can be used with the initdb command to set a custom WAL segment size?
- A. No such option is available in PostgreSQL
- B. --wal-segsize
- C. --waldir
- D. -x
Answer: B
NEW QUESTION # 56
Which query displays the name and size of all databases in your cluster using a meaningful unit?
- A. SHOW DATABASE SIZE;
- B. SELECT datname, pg_size_pretty(pg_database_size(datname)) AS size FROM pg_database;
- C. SELECT name, size FROM pg_database;
- D. SELECT datname, pg_database_size(datname) FROM pg_database;
Answer: B
NEW QUESTION # 57
......
Q&As with Explanations Verified & Correct Answers: https://freetorrent.itpass4sure.com/PostgreSQL-Essentials-practice-exam.html

