















































































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!
















































































Which EDB Postgres feature allows Oracle-style packages with both specification and body? A. Stored procedures B. PL/pgSQL functions C. EDB SPL packages D. Foreign data wrappers Correct Answer: C Explanation: EDB SPL packages support Oracle-style package specification and body, enabling modular code reuse. Q2. Which parameter controls shared memory used for caching table and index data? A. work_mem B. maintenance_work_mem C. shared_buffers D. effective_cache_size Correct Answer: C Explanation: shared_buffers defines memory allocated for caching database blocks. Q3. Which statement best describes effective_cache_size? A. Hard memory allocation B. Kernel cache limit C. Planner hint for available cache D. WAL buffer size Correct Answer: C Explanation: It informs the optimizer about estimated memory available for disk caching.
Which replication type allows read-write access on both primary and standby? A. Physical streaming replication B. Logical replication C. Snapshot replication D. File-based replication Correct Answer: B Explanation: Logical replication supports bi-directional replication with write capability. Q5. What does edb_redwood_date enable? A. ANSI SQL date format B. Oracle-compatible date behavior C. PostgreSQL ISO dates D. Timestamp compression Correct Answer: B Explanation: It enables Oracle-style DATE semantics including time components. Q6. Which command safely reclaims disk space without locking tables? A. VACUUM FULL B. CLUSTER C. VACUUM D. REINDEX Correct Answer: C Explanation: Standard VACUUM runs concurrently without exclusive locks. Q7. Which WAL level is required for logical replication? A. minimal
Correct Answer: C Explanation: pg_rewind synchronizes a demoted primary with the new primary. Q11. Which feature allows automatic failover in EDB? A. pg_basebackup B. EDB Failover Manager (EFM) C. pg_dump D. pgpool-II Correct Answer: B Explanation: EFM provides high availability and automated failover. Q12. Which join algorithm is most efficient for large unsorted datasets? A. Nested loop B. Hash join C. Merge join D. Cross join Correct Answer: B Explanation: Hash joins are optimized for large datasets without ordering. Q13. Which Oracle feature is emulated by EDB synonyms? A. Views B. Aliases for schema objects C. Materialized views D. Triggers Correct Answer: B Explanation: Synonyms provide alternate names for database objects. Q14.
Which utility performs hot physical backups? A. pg_dump B. pg_restore C. pg_basebackup D. pg_archivecleanup Correct Answer: C Explanation: pg_basebackup supports online physical backups. Q15. What does log_min_duration_statement control? A. Query timeout B. Execution plan logging C. Slow query logging D. Lock wait logging Correct Answer: C Explanation: Logs statements exceeding the specified execution time. Q16. Which isolation level prevents dirty reads? A. Read uncommitted B. Read committed C. Serializable D. Repeatable read Correct Answer: B Explanation: PostgreSQL treats Read Uncommitted as Read Committed, preventing dirty reads. Q17. Which feature allows table partition pruning? A. Inheritance B. Declarative partitioning C. Table clustering
Which role attribute allows database creation? A. SUPERUSER B. CREATEDB C. CREATEROLE D. REPLICATION Correct Answer: B Explanation: CREATEDB allows a role to create databases. Q22. Which EDB feature improves bulk data load performance? A. WAL compression B. COPY command C. Triggers D. Constraints Correct Answer: B Explanation: COPY is optimized for high-speed bulk data loading. Q23. Which index type is ideal for full-text search? A. B-tree B. Hash C. GIN D. BRIN Correct Answer: C Explanation: GIN indexes are designed for composite and full-text search. Q24. Which system view shows replication slot status? A. pg_stat_activity B. pg_stat_replication C. pg_replication_slots
D. pg_wal_status Correct Answer: C Explanation: pg_replication_slots tracks slot usage and WAL retention. Q25. What happens if replication slots are not consumed? A. WAL recycling accelerates B. WAL files accumulate C. Replication stops D. Database shuts down Correct Answer: B Explanation: WAL files are retained until slots are consumed. Q26. Which feature allows transparent data encryption at rest? A. SSL B. pgcrypto C. EDB TDE D. SCRAM Correct Answer: C Explanation: EDB Transparent Data Encryption secures data at rest. Q27. Which configuration enables query plan statistics? A. track_counts B. track_io_timing C. pg_stat_statements D. log_executor_stats Correct Answer: C Explanation: pg_stat_statements collects query execution statistics. Q28.
D. Tablespaces Correct Answer: C Explanation: RLS policies restrict row visibility per role. Q32. Which parameter controls WAL file size before rotation? A. wal_keep_size B. max_wal_size C. wal_buffers D. archive_timeout Correct Answer: B Explanation: max_wal_size controls WAL growth before checkpoints. Q33. Which EDB feature supports Oracle-style sequences? A. Serial columns B. Identity columns C. Sequence caching D. Oracle-compatible sequences Correct Answer: D Explanation: EDB supports Oracle-like sequence behavior. Q34. Which operation benefits most from maintenance_work_mem? A. SELECT B. INSERT C. VACUUM D. CREATE INDEX Correct Answer: D Explanation: Index creation uses maintenance_work_mem. Q35.
Which protocol secures client-server communication? A. SCRAM B. SSL/TLS C. md D. ident Correct Answer: B Explanation: SSL/TLS encrypts data in transit. Q36. Which system catalog stores table metadata? A. pg_database B. pg_class C. pg_roles D. pg_type Correct Answer: B Explanation: pg_class holds metadata for tables and indexes. Q37. Which feature enables parallel index scans? A. max_connections B. parallel_leader_participation C. enable_indexscan D. parallel_index_scan Correct Answer: B Explanation: It allows the leader process to participate in parallel execution. Q38. Which EDB tool provides workload monitoring dashboards? A. pgAdmin B. EDB Postgres Enterprise Manager C. psql
Which catalog tracks active backend processes? A. pg_stat_activity B. pg_locks C. pg_stat_bgwriter D. pg_stat_user_tables Correct Answer: A Explanation: pg_stat_activity shows current sessions and queries. Q43. Which EDB feature supports Oracle-style materialized views refresh? A. CONCURRENTLY B. FAST refresh C. COMPLETE refresh D. B and C Correct Answer: D Explanation: EDB supports both FAST and COMPLETE refresh modes. Q44. Which command updates optimizer statistics? A. VACUUM B. ANALYZE C. EXPLAIN D. CHECKPOINT Correct Answer: B Explanation: ANALYZE updates table and column statistics. Q45. Which isolation level provides strongest consistency? A. Read committed B. Repeatable read
C. Serializable D. Snapshot Correct Answer: C Explanation: Serializable prevents all concurrency anomalies. Q46. Which parameter controls autovacuum frequency? A. autovacuum_max_workers B. autovacuum_naptime C. vacuum_cost_delay D. autovacuum_freeze_max_age Correct Answer: B Explanation: autovacuum_naptime defines delay between autovacuum runs. Q47. Which feature reduces I/O for large tables with ordered data? A. GIN index B. Hash index C. BRIN index D. Bitmap index Correct Answer: C Explanation: BRIN indexes are lightweight and ideal for large ordered tables. Q48. Which EDB compatibility mode supports Oracle outer join syntax (+)? A. PostgreSQL mode B. ANSI mode C. Oracle compatibility mode D. MySQL mode Correct Answer: C Explanation: Oracle compatibility mode supports legacy Oracle syntax.
A. pg_stat_user_tables B. pg_stat_activity C. pg_stat_progress_vacuum D. pg_stat_all_indexes Correct Answer: C Explanation: pg_stat_progress_vacuum shows real-time vacuum progress. Q53. Which configuration controls how many WAL files are retained for standby servers? A. wal_buffers B. wal_keep_size C. max_wal_senders D. archive_mode Correct Answer: B Explanation: wal_keep_size ensures enough WAL files are retained for replication. Q54. Which EDB feature allows resource prioritization per database user? A. pg_stat_statements B. EDB Resource Manager C. pg_hint_plan D. Workload Analyzer Correct Answer: B Explanation: EDB Resource Manager controls CPU and memory usage by roles. Q55. Which statement best describes checkpoint_completion_target? A. Checkpoint interval time B. Percentage of WAL archived
C. Checkpoint I/O spread factor D. Number of WAL segments Correct Answer: C Explanation: It spreads checkpoint I/O over a period to reduce spikes. Q56. Which index scan type reads only index pages without table access? A. Bitmap heap scan B. Sequential scan C. Index scan D. Index-only scan Correct Answer: D Explanation: Index-only scans use visibility map to avoid heap access. Q57. Which EDB tool supports Oracle PL/SQL debugging? A. pgAdmin B. EDB Debugger C. psql D. edbplus Correct Answer: B Explanation: EDB Debugger enables step-by-step debugging of PL/SQL code. Q58. Which SQL clause enforces optimizer hints in EDB? A. /*+ HINT / B. SET enable_nestloop C. PLAN FOR D. USE INDEX Correct Answer: A Explanation: Oracle-style hints using /+ */ are supported in EDB.
C. checkpoint_timeout D. vacuum_cost_delay Correct Answer: A Explanation: bgwriter_delay controls how frequently dirty buffers are written. Q63. Which isolation phenomenon is prevented by Repeatable Read? A. Dirty reads B. Non-repeatable reads C. Phantom reads D. Lost updates Correct Answer: B Explanation: Repeatable Read ensures consistent reads within a transaction. Q64. Which command promotes a standby server? A. pg_ctl restart B. pg_promote() C. pg_rewind D. pg_basebackup Correct Answer: B Explanation: pg_promote() triggers failover to primary. Q65. Which EDB feature provides SQL-level auditing? A. log_statement B. pgaudit C. edb_audit D. syslog Correct Answer: C Explanation: EDB Auditing provides fine-grained audit trails.
Which parameter controls the maximum number of client connections? A. max_worker_processes B. max_parallel_workers C. max_connections D. superuser_reserved_connections Correct Answer: C Explanation: max_connections limits total client connections. Q67. Which join type benefits from sorted input data? A. Hash join B. Nested loop C. Merge join D. Cross join Correct Answer: C Explanation: Merge joins are efficient with pre-sorted data. Q68. Which EDB feature supports Oracle-style ROWNUM? A. LIMIT B. OFFSET C. edb_enable_rownum D. row_number() Correct Answer: C Explanation: edb_enable_rownum provides Oracle-compatible ROWNUM. Q69. Which catalog stores column-level metadata? A. pg_class