A pg_hba.conf file is set up as follows. local all all md5 host all all 127.0.0.1/32 md5 host all all 172.16.1.0/24 md5 When user foo connects to database bar from host IP address 172.16.1.2, I would like password verification to not be performed. Select one appropriate line for the new pg_hba.conf file.
Suggested Answer: B
Get Premium PGCES-02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
17 comments · newest first
HI
Hildred
10 months ago
Option B is just wrong, it mixes up user and database.
JU
Juliana
11 months ago
Definitely not E, those settings need a change!
CO
Colene
11 months ago
Wait, why would we want to skip password verification?
CL
Clay
11 months ago
Nah, I believe option C makes more sense.
TE
Teresita
11 months ago
I think option A is the right choice.
BO
Bok
12 months ago
I’m leaning towards option C, but I’m not completely confident about whether it should be in the last row or if it matters at all.
OZ
Ozell
12 months ago
I practiced a similar question where we had to modify pg_hba.conf, and I feel like the user should be 'foo' and the database 'bar' in the entry.
SA
Samira
12 months ago
I remember something about the 'trust' method allowing connections without a password, but I can't recall the exact syntax for the user and database.
LO
Lorriane
1 year ago
I think we need to add a line that specifies the user and database correctly, but I'm not sure if it should be the first or last row.
CH
Chauncey
1 year ago
I've seen questions like this before. I think the answer is pretty straightforward, but I'll review the options carefully just to be sure.
SA
Sarah
1 year ago
I'm a bit confused by the wording of the question. I'll need to re-read it a few times to make sure I'm understanding it correctly.
LI
Lisha
1 year ago
Okay, let me break this down step-by-step. The key is understanding how the pg_hba.conf file works and what the different options mean.
ON
Onita
1 year ago
Hmm, I think I know the answer, but I want to double-check the details in the question to make sure I'm not missing anything.
CH
Chantell
1 year ago
This looks like a tricky one. I'll need to carefully read through the question and the options to figure out the right approach.
AD
Adell
1 year ago
This seems pretty straightforward. The key issue here is that the confidentiality of the message can be affected since a malicious intermediary is intercepting the communication.
SU
Susy
1 year ago
I'm a little confused by this question. Does it mean Alibaba Cloud can register clusters running on other clouds, or just on-premise? I'll have to review the details.
ER
Eric
1 year ago
I think option C is the way to go. Increasing the logging level on the specific packages involved in the issue view process should give us the detailed information we need to identify the root cause of the slowness.