
Best PostgreSQL-Essentials Exam Dumps for the Preparation of Latest Exam Questions
PostgreSQL-Essentials Actual Questions 100% Same Braindumps with Actual Exam!
EnterpriseDB PostgreSQL-Essentials Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
NEW QUESTION # 30
Which psql meta-command is used to describe a table including its structure, columns, and constraints?
- A. \d tablename
- B. \dt tablename
- C. \show tablename
- D. \describe tablename
Answer: A
NEW QUESTION # 31
What is the purpose of the checkpoint_timeout configuration parameter in PostgreSQL?
- A. To define connection timeout
- B. To control the maximum time between automatic WAL checkpoints
- C. To set backup timeout interval
- D. To set the time limit for query execution
Answer: B
NEW QUESTION # 32
You need to take a full online base backup of your cluster using pg_basebackup. Which option specifies the output directory?
- A. -D directory
- B. --output directory
- C. -d directory
- D. -o directory
Answer: A
NEW QUESTION # 33
You want to reload the PostgreSQL configuration without restarting the server. Which function should you execute?
- A. pg_restart_conf()
- B. pg_reload_conf()
- C. reload_configuration()
- D. pg_refresh_conf()
Answer: B
NEW QUESTION # 34
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. --wal-segsize
- B. -x
- C. --waldir
- D. No such option is available in PostgreSQL
Answer: A
NEW QUESTION # 35
You need to reclaim storage occupied by dead tuples in the customers table. Which command should you use?
- A. ANALYZE customers;
- B. REINDEX customers;
- C. CLUSTER customers;
- D. VACUUM customers;
Answer: D
NEW QUESTION # 36
Which command reclaims all obsolete row space and compacts the customers table for reuse?
- A. ANALYZE customers;
- B. VACUUM FULL customers;
- C. VACUUM customers;
- D. CLUSTER customers;
Answer: B
NEW QUESTION # 37
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;
- D. COPY emp TO '/path/emp.csv' WITH CSV HEADER;
Answer: D
NEW QUESTION # 38
What is the purpose of shared_buffers configuration parameter in PostgreSQL?
- A. To set the amount of memory for sorting
- B. To control WAL buffer size
- C. To determine memory for caching data from disk
- D. To set connection pool size
Answer: C
NEW QUESTION # 39
In PostgreSQL 13, which parameter must be set to enable WAL archiving for Point-in-Time Recovery?
- A. wal_archiving must be set to on
- B. archive_level must be set to full
- C. wal_level must be set to replica or higher
- D. backup_mode must be set to archive
Answer: C
NEW QUESTION # 40
You want to check the current value of the max_connections parameter. Which SQL command should you use?
- A. SHOW max_connections;
- B. DISPLAY max_connections;
- C. GET max_connections;
- D. SELECT max_connections;
Answer: A
NEW QUESTION # 41
Which command displays the current search path in PostgreSQL?
- A. SELECT search_path;
- B. \path
- C. GET search_path;
- D. SHOW search_path;
Answer: D
NEW QUESTION # 42
You want to execute SQL commands from a file using psql. Which command should you use?
- A. \i filename
- B. \run filename
- C. \e filename
- D. \f filename
Answer: A
NEW QUESTION # 43
You want to set the effective cache size for indexes to 512MB. Which parameter should you configure?
- A. index_cache = 512MB
- B. shared_cache = 512MB
- C. cache_size = 512MB
- D. effective_cache_size = 512MB
Answer: D
NEW QUESTION # 44
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?
- A. log_duration
- B. log_min_duration_statement
- C. log_statement
- D. log_destination
Answer: B
NEW QUESTION # 45
Autocommit occurs in which of the following situations?
- A. None of the above
- B. On DML and DDL statements
- C. All DML statements
- D. All DDL statements
Answer: D
NEW QUESTION # 46
You want to list all available databases in your PostgreSQL cluster using psql. Which command should you use?
- A. SHOW DATABASES;
- B. \l
- C. SELECT databases();
- D. \list
Answer: B
NEW QUESTION # 47
Which pg_restore option allows you to drop database objects before recreating them?
- A. -r
- B. -d
- C. --drop-all
- D. -c or --clean
Answer: D
NEW QUESTION # 48
Which parameter controls the amount of memory allocated for maintenance operations like VACUUM and CREATE INDEX?
- A. maintenance_work_mem
- B. work_mem
- C. autovacuum_work_mem
- D. shared_buffers
Answer: A
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. Identity
- B. Serial
- C. None
- D. Both
Answer: A
NEW QUESTION # 50
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?
- A. wal_size
- B. checkpoint_timeout
- C. wal_level
- D. max_wal_size
Answer: D
NEW QUESTION # 51
You want to list all schemas in the current database using psql. Which command should you use?
- A. \ls
- B. \schemas
- C. \ds
- D. \dn
Answer: D
NEW QUESTION # 52
You want to gracefully terminate a user's connection to the database. Which function should you use?
- A. pg_terminate_backend(pid)
- B. pg_kill_backend(pid)
- C. pg_disconnect_backend(pid)
- D. pg_cancel_backend(pid)
Answer: A
NEW QUESTION # 53
Which psql command toggles the display of tuples only (without column headers)?
- A. \x
- B. \h
- C. \a
- D. \t
Answer: D
NEW QUESTION # 54
......
PostgreSQL-Essentials Study Material, Preparation Guide and PDF Download: https://pass4sures.freepdfdump.top/PostgreSQL-Essentials-valid-torrent.html

