


















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















































1. Which component is primarily responsible for executing queries in EDB Postgres Advanced Server? A) Query Executor B) Data Dictionary C) Connection Pooler D) Backup Utility Answer: A Explanation: The Query Executor processes and runs SQL queries, making it central to database operations. 2. What is the first step in installing EDB Postgres Advanced Server on a new operating system? A) Configuring SSL settings B) Reviewing system architecture requirements C) Creating user roles D) Setting up connection pooling Answer: B Explanation: Understanding the system architecture and prerequisites is essential before installation. 3. Which tool is commonly used for interactive database management in EDB Postgres? A) pg_dump B) pgAdmin III C) EDB Failover Manager D) PgBouncer Answer: B Explanation: pgAdmin III provides a graphical interface for managing databases, making it a popular choice. 4. In terms of system architecture, what does the data dictionary primarily store? A) User roles and permissions B) Query execution plans C) Metadata about database objects D) Backup logs Answer: C Explanation: The data dictionary contains metadata about tables, indexes, and other database objects.
5. Which operating system configuration is critical for optimal installation of EDB Postgres Advanced Server? A) Enabling automatic updates B) Adjusting system kernel parameters C) Disabling firewalls D) Setting up replication Answer: B Explanation: Tuning system kernel parameters can enhance performance and stability of the installation. 6. Which command-line utility is essential for database backups in EDB Postgres? A) pg_restore B) pg_dump C) vacuumdb D) psql Answer: B Explanation: pg_dump is widely used to create consistent database backups. 7. What is the main purpose of tablespaces in EDB Postgres? A) To manage network connections B) To allocate disk storage for database objects C) To execute queries faster D) To store user passwords Answer: B Explanation: Tablespaces help organize and optimize data storage across different disks. 8. Which authentication method enhances security by using encrypted connections? A) Password authentication without SSL B) Trust authentication C) SSL certificate authentication D) Ident authentication Answer: C Explanation: SSL certificate authentication ensures secure, encrypted connections between clients and the server. 9. How does EDB Postgres Advanced Server typically implement user roles? A) Through operating system users only B) By using role-based access control (RBAC) C) Via external web services D) By hardcoding permissions in applications
C) It encrypts sensitive data D) It increases connection pool efficiency Answer: B Explanation: Proper indexing can drastically improve query performance by allowing faster data retrieval.
15. Which parameter is critical to tune for optimal memory performance in EDB Postgres? A) shared_buffers B) max_connections C) log_directory D) data_directory Answer: A Explanation: shared_buffers directly affects how much memory is used for caching data, impacting performance. 16. What is the purpose of the EXPLAIN ANALYZE command? A) To analyze user roles B) To provide detailed query execution plans and timings C) To configure SSL settings D) To backup database metadata Answer: B Explanation: EXPLAIN ANALYZE shows both the execution plan and the actual run time of a query, which aids in optimization. 17. Which feature enhances high availability by keeping a standby server synchronized with the primary? A) Logical Replication B) Synchronous Replication C) Query Caching D) Connection Pooling Answer: B Explanation: Synchronous replication ensures the standby server is fully updated before transaction commits, increasing availability. 18. What does asynchronous replication allow that synchronous replication does not? A) Immediate data consistency B) Reduced latency in commit transactions C) Replication without waiting for confirmation D) Automatic failover
Answer: C Explanation: Asynchronous replication allows the primary to continue without waiting for the standby’s confirmation, though it may risk minor data lag.
19. Which tool is specifically designed to monitor replication and manage failover in EDB Postgres? A) pgAdmin III B) EDB Failover Manager C) PgBouncer D) pg_dump Answer: B Explanation: EDB Failover Manager automates replication monitoring and failover procedures, ensuring system resilience. 20. What is the primary goal of disaster recovery planning in database management? A) To optimize query performance B) To ensure data availability and minimize downtime during catastrophic events C) To improve indexing strategies D) To enhance SSL encryption Answer: B Explanation: Disaster recovery planning focuses on data protection and restoring services quickly after a disaster. 21. Which maintenance task is essential for reclaiming storage from deleted or obsolete data? A) Reindexing B) Vacuuming C) Connection pooling D) API integration Answer: B Explanation: Vacuuming cleans up dead tuples, reclaiming disk space and maintaining database performance. 22. How do automated maintenance tasks benefit a database system? A) They reduce the need for backups B) They ensure the system runs efficiently without manual intervention C) They disable user authentication D) They increase network traffic Answer: B Explanation: Automating tasks like vacuuming and reindexing helps maintain performance and reduces administrative overhead.
Answer: B Explanation: Logical replication allows for fine-grained control by replicating only selected tables or data sets.
28. Which of the following is an advantage of using connection pooling in EDB Postgres? A) Increased query execution time B) Reduced overhead from opening and closing connections C) Enhanced backup performance D) Improved data encryption Answer: B Explanation: Connection pooling minimizes the overhead of establishing new connections by reusing existing ones. 29. What role does PgBouncer play in EDB Postgres environments? A) It manages backups B) It serves as a lightweight connection pooler C) It handles data encryption D) It monitors query performance Answer: B Explanation: PgBouncer is a popular connection pooler that efficiently manages database connections. 30. Which maintenance activity helps to optimize index performance by rebuilding index structures? A) Vacuuming B) Reindexing C) Analyzing D) Backing up Answer: B Explanation: Reindexing rebuilds index structures, which can improve query performance and data retrieval. 31. What is the primary purpose of log management in EDB Postgres? A) To increase network speed B) To record system events and assist in troubleshooting C) To automatically upgrade the database D) To optimize indexing strategies Answer: B Explanation: Effective log management captures system events, which is critical for diagnostics and troubleshooting.
32. Which command in psql is used to list all databases? A) \l B) \d C) \conninfo D) \dt Answer: A Explanation: The \l command in psql lists all the available databases. 33. What does the term “tablespace” refer to in EDB Postgres? A) A network connection manager B) A physical location on disk where database objects reside C) A type of user role D) A backup strategy Answer: B Explanation: Tablespaces are used to define the storage locations for database objects on disk. 34. Which EDB tool is primarily used for database migration? A) EDB Failover Manager B) EDB Migration Toolkit C) pg_restore D) PgBouncer Answer: B Explanation: The EDB Migration Toolkit is designed to assist with migrating data from other systems into EDB Postgres Advanced Server. 35. What is the benefit of partitioning tables in large databases? A) It increases backup time B) It simplifies data management and improves query performance C) It disables indexing D) It increases connection latency Answer: B Explanation: Table partitioning helps manage large datasets more efficiently by dividing them into smaller, more manageable pieces. 36. Which procedural language is often used for writing functions in EDB Postgres? A) JavaScript B) PL/pgSQL C) Python exclusively D) C#
41. What is the main advantage of using pg_restore for recovery? A) It restores data from binary logs B) It can selectively restore database objects from a backup C) It increases query speed D) It automates indexing Answer: B Explanation: pg_restore allows selective recovery of tables, schemas, or other objects from a backup file. 42. Which method is most effective for minimizing downtime during database maintenance? A) Scheduling maintenance during peak hours B) Using online backup and patching methods C) Disabling user access permanently D) Increasing the number of active connections Answer: B Explanation: Online maintenance methods allow the database to remain available while updates or backups are performed. 43. Which of the following best describes a “hot standby” in replication scenarios? A) A backup server that is offline B) A standby server that can accept read-only queries C) A primary server with no backup D) A server used exclusively for backups Answer: B Explanation: A hot standby is a standby server that remains ready for queries, usually in read- only mode, enhancing availability. 44. What does the term “failover” refer to in high availability setups? A) Upgrading the database B) Switching operations from a failed primary server to a standby server C) Disabling user authentication D) Backing up data Answer: B Explanation: Failover is the automatic process of switching to a standby server when the primary server fails. 45. Which maintenance activity is most directly associated with improving query performance? A) Reindexing B) Creating database roles
C) Configuring SSL D) Setting up connection pooling Answer: A Explanation: Reindexing rebuilds indexes, which can significantly enhance query performance by ensuring optimal access paths.
46. How does logical replication differ from physical replication? A) It replicates the entire disk image B) It replicates data changes at the table level rather than the block level C) It does not require a standby server D) It only works with encrypted data Answer: B Explanation: Logical replication transfers data changes based on SQL-level operations, providing flexibility in replication. 47. What is a key benefit of API connectivity in EDB Postgres Advanced Server? A) It eliminates the need for backups B) It facilitates seamless integration with external applications C) It disables user authentication D) It increases disk space Answer: B Explanation: API connectivity enables external applications to interact with the database, enhancing overall functionality. 48. Which custom feature of EDB Postgres can be used to extend database functionality with external data sources? A) Foreign Data Wrappers B) Logical replication C) Shared_buffers D) EDB Failover Manager Answer: A Explanation: Foreign Data Wrappers allow EDB Postgres to connect and query data from external sources as if they were local tables. 49. Which command in psql is used to display the schema of a table? A) \dt B) \d tablename C) \l D) \q
54. What is the primary role of the EDB Postgres Distributed (PGD) feature? A) To create offline backups B) To provide advanced high availability and scalability C) To manage user roles D) To optimize SQL queries Answer: B Explanation: PGD is designed to enhance high availability and scalability by distributing the workload across multiple nodes. 55. Which maintenance activity helps to clear obsolete data and free disk space? A) VACUUM FULL B) ANALYZE C) REINDEX D) pg_dump Answer: A Explanation: VACUUM FULL compacts the database by reclaiming storage occupied by deleted data, improving overall performance. 56. How can you schedule routine maintenance tasks in EDB Postgres? A) By using system cron jobs or task schedulers B) By manually executing commands each time C) By editing the postgresql.conf file D) By using pg_dump exclusively Answer: A Explanation: Scheduling maintenance tasks via cron jobs or similar task schedulers ensures regular upkeep without manual intervention. 57. Which log file is most critical for diagnosing connection issues? A) postgresql.conf B) pg_hba.conf C) Server log files D) recovery.conf Answer: C Explanation: Server log files capture connection attempts and errors, making them essential for troubleshooting connection problems. 58. What is the role of pg_stat_activity in database monitoring? A) It tracks backup status B) It provides real-time information about active sessions and queries C) It logs user authentication attempts only D) It measures disk space usage
Answer: B Explanation: pg_stat_activity gives administrators insight into currently active connections and running queries, aiding in performance diagnostics.
59. Which process is used to move data from another database system into EDB Postgres? A) Data Dumping B) Migration C) Reindexing D) Clustering Answer: B Explanation: Database migration involves transferring data from one system to another, often using specialized tools and strategies. 60. Which tool can help address compatibility issues during a database migration? A) PgBouncer B) EDB Migration Toolkit C) pgAdmin III D) pg_dump Answer: B Explanation: The EDB Migration Toolkit assists in resolving compatibility issues and streamlines the transition process. 61. Which component is essential for securing data during transmission in EDB Postgres? A) Logical replication B) SSL/TLS configuration C) Connection Pooler D) Foreign Data Wrappers Answer: B Explanation: SSL/TLS encryption ensures that data transmitted between clients and the server remains secure and confidential. 62. What is the main function of the pg_ident.conf file? A) To configure backup locations B) To map operating system usernames to database usernames C) To manage connection pooling D) To schedule maintenance tasks Answer: B Explanation: pg_ident.conf is used to map OS-level usernames to database usernames, aiding in authentication. 63. Which feature in EDB Postgres allows the use of external programming languages for stored procedures?
Answer: B Explanation: EXPLAIN ANALYZE provides detailed information on query execution, helping to identify bottlenecks.
68. Which configuration file would you edit to adjust connection limits in EDB Postgres? A) postgresql.conf B) pg_ident.conf C) recovery.conf D) pg_hba.conf Answer: A Explanation: The postgresql.conf file contains settings that govern connection limits and other server behaviors. 69. Which backup utility is specifically tailored for EDB Postgres Advanced Server? A) pg_restore B) EDB Backup Utility C) pg_dump D) PgBouncer Answer: B Explanation: The EDB Backup Utility is designed to leverage the advanced features of EDB Postgres for efficient backup and recovery. 70. What is the primary role of WAL archiving in database recovery? A) To compress database files B) To store a continuous record of changes for PITR C) To optimize query performance D) To manage user sessions Answer: B Explanation: WAL archiving records all database changes, which is crucial for restoring the database to a specific point in time. 71. Which tool is best suited for performing a full database backup in EDB Postgres? A) pg_dump B) pg_restore C) EDB Backup Utility D) psql Answer: C Explanation: The EDB Backup Utility is optimized for comprehensive backups in an EDB Postgres Advanced Server environment. 72. What is the primary benefit of using streaming replication? A) Reduced disk space usage
B) Real-time data synchronization between primary and standby servers C) Increased backup frequency D) Simplified SQL syntax Answer: B Explanation: Streaming replication maintains a near-real-time copy of the primary database, enhancing data availability and failover readiness.
73. In a high availability setup, what does switchover refer to? A) Upgrading the operating system B) Switching roles between primary and standby servers in a planned manner C) Changing user roles D) Modifying database schemas Answer: B Explanation: Switchover is a controlled process where the primary server and standby server exchange roles, ensuring minimal downtime. 74. Which configuration setting is vital for optimizing the performance of large table scans? A) log_directory B) effective_cache_size C) max_connections D) pg_hba.conf Answer: B Explanation: effective_cache_size helps the query planner estimate available memory for caching, improving the performance of large table scans. 75. Which maintenance command helps reorganize the physical order of table data for improved performance? A) REINDEX B) CLUSTER C) VACUUM D) ANALYZE Answer: B Explanation: The CLUSTER command reorders the table data based on an index, enhancing data retrieval efficiency. 76. What is the benefit of using EDB Connection Pooler in an enterprise environment? A) It automates backups B) It reduces latency by reusing active connections C) It increases the number of required physical connections D) It compresses data during transfer
81. How does using a connection pooler like PgBouncer affect resource utilization? A) It increases CPU load by creating more connections B) It reduces the overhead of connection management C) It disables replication features D) It requires more disk space Answer: B Explanation: Connection poolers reduce the cost of frequently opening and closing connections, thus optimizing resource utilization. 82. Which monitoring tool provides insights into both query performance and system health? A) pg_dump B) pg_stat_activity C) EDB Failover Manager D) PgBouncer Answer: B Explanation: pg_stat_activity offers real-time insights into query execution and session activity, which helps monitor overall system health. 83. What does the term “replication lag” refer to in a database context? A) The time taken to execute a query B) The delay between data changes on the primary and their reflection on the standby C) The duration of a backup operation D) The period between maintenance tasks Answer: B Explanation: Replication lag is the time delay between when a transaction occurs on the primary server and when it is applied on the standby server. 84. Which backup strategy involves only backing up changes since the last backup? A) Full backup B) Differential backup C) Incremental backup D) Continuous backup Answer: C Explanation: Incremental backups only store the changes made since the last backup, saving time and storage space. 85. What is the role of the pg_dumpall utility? A) To back up a single table B) To back up an entire Postgres cluster, including global objects C) To restore a database D) To monitor query performance
Answer: B Explanation: pg_dumpall is used for backing up an entire Postgres cluster, including all databases and global objects like roles.
86. Which of the following is critical for ensuring data integrity during backup operations? A) Using an unencrypted connection B) Consistent backups with WAL archiving enabled C) Disabling SSL D) Increasing the number of connections Answer: B Explanation: Consistent backups, complemented by WAL archiving, ensure that data integrity is maintained during recovery. 87. What is a significant risk of not applying regular security patches in EDB Postgres? A) Decreased query performance B) Exposure to vulnerabilities and potential data breaches C) Slower backups D) Increased disk usage Answer: B Explanation: Failing to apply security patches can leave the system vulnerable to attacks and compromise data integrity. 88. Which of the following is a recommended best practice for managing user roles in EDB Postgres? A) Sharing a single role for all users B) Granting only the minimum required privileges C) Disabling role-based access control D) Using default credentials without changes Answer: B Explanation: Granting the minimum necessary privileges limits potential damage from compromised accounts and enforces security best practices. 89. What does the term “hot standby” imply regarding database accessibility? A) The standby server is completely inactive B) The standby server is available for read-only queries C) The standby server is used only for backups D) The standby server is encrypted only Answer: B Explanation: A hot standby allows read-only operations while waiting to take over as the primary server in case of a failure.