Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free EnterpriseDB PostgreSQL Essentials Certification v13 PostgreSQL-Essentials Exam Questions

Page: 1 / 8 Total 71 questions

Want more questions? Get Premium Access.

Question 1

You want to export the emp table to a CSV file with column headers using the COPY command. Which command should you use?

Correct Answer: B. COPY emp TO '/path/emp.csv' WITH CSV HEADER;

Question 2

You want to execute SQL commands from a file using psql. Which command should you use?

Correct Answer: B. \i filename

Question 3

You want to gracefully terminate a user's connection to the database. Which function should you use?

Correct Answer: B. pg_terminate_backend(pid)

Question 4

Which parameter controls the amount of memory allocated for maintenance operations like VACUUM and CREATE INDEX?

Correct Answer: C. maintenance_work_mem

Question 5

Which psql command toggles the display of tuples only (without column headers)?

Correct Answer: B. \t

Question 6

Which PostgreSQL backup utility can create backups in custom compressed format?

Correct Answer: A. pg_dump with -Fc option

Question 7

What is the purpose of shared_buffers configuration parameter in PostgreSQL?

Correct Answer: B. To determine memory for caching data from disk

Question 8

Which psql command quits the psql interface?

Correct Answer: D. All of the above

Question 9

You need to reload the PostgreSQL configuration without restarting the server. Which function should you use?

Correct Answer: B. pg_reload_conf()

Question 10

Which command rebuilds an index that is performing slowly for better performance?

Correct Answer: B. REINDEX INDEX indexname;