Select the most suitable statement about the creation of a new database.
Suggested Answer: E
Get Premium PGCES-02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
LE
Leila
7 hours ago
D is definitely wrong. OS superuser isn't needed for this.
NI
Nichelle
5 days ago
Exactly! Regular users can create databases too.
VI
Virgie
11 days ago
I feel like A is misleading. Superuser isn't the only one.
DA
Dannie
16 days ago
True, but it's better to set it during creation.
LE
Leila
21 days ago
But we can set encoding later, right?
NI
Nichelle
26 days ago
Option E sounds good too. Character encoding is important.
VI
Virgie
1 month ago
Agreed! It specifies where the database files go.
DA
Dannie
1 month ago
I think option B is correct. The PGDATA variable is crucial.
LO
Loise
1 month ago
I think C is wrong. Multiple databases can be accessed simultaneously.
AL
Almeta
2 months ago
E is a good choice too. Setting encoding helps with multi-language support.
CO
Colette
2 months ago
A is too restrictive. Many users can create databases with the right permissions.
SU
Sue
2 months ago
Definitely B. Without specifying the directory, it won't work.
IZ
Izetta
2 months ago
I feel like E is also important. Character encoding matters for data integrity.
BE
Bette
2 months ago
Option A is misleading. Superuser isn't the only one who can create databases.
EM
Emmanuel
2 months ago
I agree, B makes the most sense. Environment variables are key.
PE
Pearlie
3 months ago
I think option B is correct. PGDATA is crucial for database creation.
CY
Cyril
3 months ago
C seems off, multiple databases can be accessed at once.
LA
Lashanda
3 months ago
E is a good point, character encoding is important!
JE
Jerry
3 months ago
Surprised that people think only root can create databases!
GL
Glenna
3 months ago
I disagree with A, any user with the right privileges can create a database.
LA
Latonia
3 months ago
B is correct! PGDATA or -D is the way to go.
AN
Anna
4 months ago
E is a nice feature, love that you can set character encoding!
PA
Pamella
4 months ago
Surprised to see D listed, thought any user could create one.
SH
Sherron
4 months ago
Wait, C is totally wrong! You can connect to multiple databases at once.
BE
Bette
4 months ago
I disagree with A, regular users can create databases too.
OD
Odette
4 months ago
B is correct! You can specify the target directory.
ED
Edna
4 months ago
I vaguely remember that we can set character encoding when creating a database, which makes option E a strong candidate.
DA
Dahlia
5 months ago
I’m pretty sure that multiple databases can be created and accessed simultaneously, so option C doesn’t seem right.
JO
Joseph
5 months ago
I think option B sounds familiar because we discussed environment variables in class, but I can’t recall if PGDATA is the only way to specify the directory.
FR
Francine
5 months ago
I remember something about superuser privileges, but I’m not sure if it’s only PostgreSQL superusers or if regular users can create databases too.