Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

PostgreSQL-Essentials PostgreSQL Essentials Certification v13 Questions and Answers

Questions 4

Which of the following statements is true about PostgreSQL 13?

Options:

A.

ALTER SYSTEM writes the setting to a file called postgresql.auto.conf

B.

ALTER SYSTEM writes the setting to a file called postgresql.conf

C.

ALTER CLUSTER writes the setting to a file called postgresql.auto.conf

D.

ALTER CLUSTER writes the setting to a file called postgresql.conf

Buy Now
Questions 5

You want to export query results to a CSV file from psql. Which command should you use?

Options:

A.

\copy tablename TO ' filename.csv ' CSV

B.

EXPORT TO ' filename.csv '

C.

\export filename.csv

D.

SAVE AS ' filename.csv '

Buy Now
Questions 6

In PostgreSQL, which system catalog stores information about databases?

Options:

A.

pg_database

B.

pg_class

C.

pg_tables

D.

information_schema.databases

Buy Now
Questions 7

While connected to a PostgreSQL database using psql, you want to toggle the timing information of some queries. Which of the following options can be used to achieve this?

Options:

A.

\time on

B.

\timing

C.

\time off

D.

\t

Buy Now
Questions 8

Which of the following commands in psql will execute SQL commands from a file?

Options:

A.

\i filename

B.

\e filename

C.

\f filename

D.

\x filename

Buy Now
Questions 9

Which pg_restore option allows you to drop database objects before recreating them?

Options:

A.

-d

B.

-c or --clean

C.

-r

D.

--drop-all

Buy Now
Questions 10

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

Options:

A.

pg_kill_backend(pid)

B.

pg_terminate_backend(pid)

C.

pg_cancel_backend(pid)

D.

pg_disconnect_backend(pid)

Buy Now
Questions 11

You are writing an initialization script to help your team in creating a new database cluster. You want to ensure that a new database cluster is initialized with md5 as the default authentication method. Which of the following options of the initdb command can be used to specify the default authentication method?

Options:

A.

-U

B.

-authenticate

C.

-A

D.

-db-auth

Buy Now
Questions 12

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

Options:

A.

work_mem

B.

maintenance_work_mem

C.

vacuum_mem

D.

temp_buffers

Buy Now
Questions 13

Which of the following system functions can be used to track the status of the vacuum process?

Options:

A.

pg_stat_vacuum

B.

pg_stat_vacuumdb

C.

pg_stat_user_vacuum

D.

pg_stat_progress_vacuum

Buy Now
Questions 14

In PostgreSQL 13, which command is used to switch your connection to a different database in psql?

Options:

A.

\connect dbname

B.

USE dbname;

C.

SWITCH dbname;

D.

SET DATABASE dbname;

Buy Now
Questions 15

In PostgreSQL, archiving can be enabled for hot backups. During recovery, all the archive logs can be played on the restored backup and Point-in-Time Recovery can be performed. Which of the following parameters directly influences Mean Time to Recovery and is also used to control the size of the WAL area?

Options:

A.

wal_level

B.

wal_size

C.

checkpoint_timeout

D.

max_wal_size

Buy Now
Questions 16

Which of the following options can be used to view a Query Plan in pgAdmin4?

Options:

A.

Right Click on the database and Click View Query Plan

B.

Right Click on the database and Click Explain button

C.

Open Query Tool, Copy/Paste the query and Click Debug Plan button

D.

Open Query Tool, Copy/Paste the query and press F7

Buy Now
Questions 17

What is the purpose of the checkpoint_timeout configuration parameter in PostgreSQL?

Options:

A.

To set the time limit for query execution

B.

To control the maximum time between automatic WAL checkpoints

C.

To define connection timeout

D.

To set backup timeout interval

Buy Now
Questions 18

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

Options:

A.

COPY emp TO ' /path/emp.csv ' WITH CSV;

B.

COPY emp TO ' /path/emp.csv ' WITH CSV HEADER;

C.

COPY emp TO ' /path/emp.csv ' DELIMITER ' , ' HEADER;

D.

EXPORT emp TO ' /path/emp.csv ' CSV HEADER;

Buy Now
Questions 19

While connected to a PostgreSQL database using psql, you want to toggle the timing information of some queries. Which of the following options can be used to achieve this?

Options:

A.

\time on

B.

\timing

C.

\time off

D.

\t

Buy Now
Questions 20

Which command in psql toggles between aligned and unaligned output mode?

Options:

A.

\a

B.

\t

C.

\align

D.

\format

Buy Now
Questions 21

You are connected to a PostgreSQL database. After executing a complex query an error message is displayed. You want to edit and rerun the previously executed query. Which command can be used to edit the query buffer?

Options:

A.

\l

B.

\r

C.

\e

D.

e

Buy Now
Questions 22

In PostgreSQL, what does VACUUM do?

Options:

A.

Compresses the database

B.

Reclaims storage occupied by dead tuples

C.

Creates database backups

D.

Optimizes query execution plans

Buy Now
Questions 23

Which configuration parameter controls the amount of memory allocated for shared buffers?

Options:

A.

buffer_memory

B.

shared_buffers

C.

cache_size

D.

memory_buffers

Buy Now
Questions 24

Which configuration parameter limits the total number of connections available for your database cluster?

Options:

A.

log_connection

B.

max_connections

C.

tcp_keepalives_count

D.

superuser_reserved_connection

Buy Now
Questions 25

You want to configure your cluster to run in archive mode for Point-in-Time Recovery. Which parameter must you set in postgresql.conf?

Options:

A.

archive_mode = on

B.

wal_archive = on

C.

archiving = on

D.

backup_mode = on

Buy Now
Questions 26

In PostgreSQL, archiving can be enabled for hot backups. During recovery, all the archive logs can be played on the restored backup and Point-in-Time Recovery can be performed. Which of the following parameters directly influences Mean Time to Recovery and is also used to control the size of the WAL area?

Options:

A.

wal_level

B.

wal_size

C.

checkpoint_timeout

D.

max_wal_size

Buy Now
Questions 27

You want to set the effective cache size for indexes to 512MB. Which parameter should you configure?

Options:

A.

index_cache = 512MB

B.

effective_cache_size = 512MB

C.

cache_size = 512MB

D.

shared_cache = 512MB

Buy Now
Questions 28

You need to determine the names and definitions of all views in the edbuser schema. Which query should you use?

Options:

A.

SELECT * FROM pg_views;

B.

SELECT * FROM pg_views WHERE schemaname= ' edbuser ' ;

C.

SELECT * FROM information_schema.views WHERE table_schema= ' edbuser ' ;

D.

Both B and C

Buy Now
Questions 29

You want to list all schemas in the current database using psql. Which command should you use?

Options:

A.

\ds

B.

\dn

C.

\schemas

D.

\ls

Buy Now
Questions 30

You are working as a Postgres DBA. You want to configure logging for slow running queries on your database cluster. Which setting needs to be modified to log all the queries which take more than 5 seconds?

Options:

A.

log_statement

B.

log_destination

C.

log_min_duration_statement

D.

log_duration

Buy Now
Questions 31

You are connected to a PostgreSQL database. After executing a complex query an error message is displayed. You want to edit and rerun the previously executed query. Which command can be used to edit the query buffer?

Options:

A.

\l

B.

\r

C.

\e

D.

e

Buy Now
Questions 32

Which of the following statements is true about PostgreSQL 13?

Options:

A.

ALTER SYSTEM writes the setting to a file called postgresql.auto.conf

B.

ALTER SYSTEM writes the setting to a file called postgresql.conf

C.

ALTER CLUSTER writes the setting to a file called postgresql.auto.conf

D.

ALTER CLUSTER writes the setting to a file called postgresql.conf

Buy Now
Questions 33

You want to set temporary memory to 8MB. Which parameter should you configure?

Options:

A.

temp_memory = 8MB

B.

work_mem = 8MB

C.

temp_buffers = 8MB

D.

temporary_memory = 8MB

Buy Now
Questions 34

Which utility is used to take a backup of all databases in a PostgreSQL cluster including roles and tablespaces?

Options:

A.

pg_dump

B.

pg_dumpall

C.

pg_backup

D.

pg_clusterbackup

Buy Now
Exam Name: PostgreSQL Essentials Certification v13
Last Update: Apr 30, 2026
Questions: 116

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now PostgreSQL-Essentials testing engine

PDF (Q&A)

$43.57  $124.49
buy now PostgreSQL-Essentials pdf