
[2025] PostgreSQL-Essentials All-in-One Exam Guide Practice To your PostgreSQL-Essentials Exam!
Preparations of PostgreSQL-Essentials Exam 2025 EnterpriseDB PostgreSQL Unlimited 90 Questions
EnterpriseDB PostgreSQL-Essentials Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
NEW QUESTION # 27
Which pg_restore option allows you to drop database objects before recreating them?
- A. -d
- B. -c or --clean
- C. --drop-all
- D. -r
Answer: B
NEW QUESTION # 28
In PostgreSQL, which system catalog stores information about databases?
- A. pg_database
- B. information_schema.databases
- C. pg_class
- D. pg_tables
Answer: A
NEW QUESTION # 29
What is the purpose of shared_buffers configuration parameter in PostgreSQL?
- A. To control WAL buffer size
- B. To set the amount of memory for sorting
- C. To determine memory for caching data from disk
- D. To set connection pool size
Answer: C
NEW QUESTION # 30
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. Serial
- B. Identity
- C. None
- D. Both
Answer: B
NEW QUESTION # 31
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 DIRECTORY;
- B. SHOW DATA_DIRECTORY;
- C. SELECT data_dir FROM pg_settings;
- D. SELECT server_dir FROM pg_settings;
Answer: B
NEW QUESTION # 32
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. Serial
- B. Identity
- C. None
Answer: B
NEW QUESTION # 33
Autocommit occurs in which of the following situations?
- A. All DDL statements
- B. All DML statements
- C. None of the above
- D. On DML and DDL statements
Answer: A
NEW QUESTION # 34
Which psql meta-command lists all schemas in the current database?
- A. \ls
- B. \schemas
- C. \ds
- D. \dn
Answer: D
NEW QUESTION # 35
You want to export the emp table to a CSV file with column headers using the COPY command. Which command should you use?
- A. COPY emp TO '/path/emp.csv' DELIMITER ',' HEADER;
- B. EXPORT emp TO '/path/emp.csv' CSV HEADER;
- C. COPY emp TO '/path/emp.csv' WITH CSV HEADER;
- D. COPY emp TO '/path/emp.csv' WITH CSV;
Answer: C
NEW QUESTION # 36
Which pg_dump option creates a backup that can be restored using pg_restore?
- A. -Fp (plain text format)
- B. -Fc (custom format)
- C. Both B and C
- D. -Ft (tar format)
Answer: C
NEW QUESTION # 37
Which parameter controls the amount of memory allocated for maintenance operations like VACUUM and CREATE INDEX?
- A. temp_buffers
- B. work_mem
- C. vacuum_mem
- D. maintenance_work_mem
Answer: D
NEW QUESTION # 38
You want to update statistics for the emp and dept tables to help the query planner. Which command should you use?
- A. UPDATE STATISTICS emp, dept;
- B. ANALYZE emp; ANALYZE dept;
- C. REINDEX emp, dept;
- D. VACUUM emp, dept;
Answer: B
NEW QUESTION # 39
In PostgreSQL, which view provides information about currently running queries?
- A. pg_current_queries
- B. pg_active_sessions
- C. pg_running_queries
- D. pg_stat_activity
Answer: D
NEW QUESTION # 40
Which parameter must be set to enable WAL archiving for Point-in-Time Recovery in PostgreSQL 13?
- A. wal_level = replica
- B. wal_level = logical
- C. wal_level = archive
- D. wal_level = minimal
Answer: A
NEW QUESTION # 41
Which psql meta-command is used to list all databases in the cluster?
- A. \databases
- B. Both A and B
- C. \list
- D. \l
Answer: B
NEW QUESTION # 42
You need to determine the names and definitions of all views in the edbuser schema. Which query should you use?
- A. SELECT * FROM pg_views WHERE schemaname='edbuser';
- B. Both B and C
- C. SELECT * FROM pg_views;
- D. SELECT * FROM information_schema.views WHERE table_schema='edbuser';
Answer: B
NEW QUESTION # 43
You want to list all available databases in your PostgreSQL cluster using psql. Which command should you use?
- A. \l
- B. \list
- C. SELECT databases();
- D. SHOW DATABASES;
Answer: A
NEW QUESTION # 44
......
Focus on PostgreSQL-Essentials All-in-One Exam Guide For Quick Preparation: https://www.testsimulate.com/PostgreSQL-Essentials-study-materials.html