nerdexam
PostgreSQL_CE

PGCES-02 · Question #112

Configuration file pg_hda.conf is set as below on a host currently running PostgreSQL. local all all trust host all all 192.168.1.0/24 reject host all all 192.168.0.0/16 trust Select a host IP…

The correct answer is C. 192.168.0.1. See the full explanation below for the reasoning.

Question

Configuration file pg_hda.conf is set as below on a host currently running PostgreSQL. local all all trust host all all 192.168.1.0/24 reject host all all 192.168.0.0/16 trust Select a host IP address which is authorized to connect to this database via the network. Note: INET domain socket communication is available.

Options

  • A127.0.0.1
  • B192.168.1.1
  • C192.168.0.1
  • D192.168.1.0
  • ENone can be connected.

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    82% (27)
  • E
    6% (2)

Community Discussion

No community discussion yet for this question.

Full PGCES-02 Practice