Check Point Certified Cloud Specialist (CCCS) R82 — Question 66
PostgreSQL is powerful, open source relational database management system. Check Point offers a command for viewing the database to interact with Postgres interactive shell. Which command do you need to enter the PostgreSQL interactive shell?
Answer options
- A. psql_client cpm postgres
- B. mysql_client cpm postgres
- C. psql_client postgres cpm
- D. mysql -u root
Correct answer: A
Explanation
The correct command to enter the PostgreSQL interactive shell is 'psql_client cpm postgres', which directly connects you to the Postgres environment. Options B and D refer to MySQL commands, which are not applicable to PostgreSQL, while option C has the arguments in the wrong order and is therefore invalid.