nerdexam
PostgreSQL_CE

PGCES-02 · Question #38

Select one incorrect statement about the command shown below. Note: $ is the command prompt. $ dropuser -U admin foo

The correct answer is B. If admin is notthe owner of foo, an error will occur. See the full explanation below for the reasoning.

Question

Select one incorrect statement about the command shown below. Note: $ is the command prompt. $ dropuser -U admin foo

Options

  • AIf there is a databaseowned by foo, an error will occur.
  • BIf admin is notthe owner of foo, an error will occur.
  • CIf admin doesn't havethe superuser privilege, an error will occur.
  • DThe user admin is removing the user foo.
  • EThe same process can be performed using the SQL command "DROP USER".

How the community answered

(36 responses)
  • B
    83% (30)
  • C
    8% (3)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full PGCES-02 Practice