Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

PostgreSQL Online Assessment Test

Topics Covered

  • SQL Statements
  • SQL Transactions
  • PostgreSQL Commands
  • Relational Data Model  

Useful for hiring

  • PostgreSQL Database Administrator
  • PostgreSQL Database Developer
  • Senior Database Administrator-PostgreSQL

Start hiring job-fit candidates using this assessment


"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager

Select the CORRECT statements that describe what occurs on the client side when the following command is executed:
pg_ctl -m smart stop

Note: There can be multiple correct answers to this question.

    • Clients will not be able to make new connections.

    • The running transaction for a connected client is rolled back and the connection is disconnected forcibly.

    • Connections are terminated after the currently running transactions have finished.

    • The processes of currently connected clients are processed normally.

    • Connected clients receive a message saying that the server will soon be shut down.


Select the MOST suitable statement about the PostgreSQL license from below.

    • PostgreSQL is distributed under the GPL license.

    • PostgreSQL is distributed under the PostgreSQL license.

    • PostgreSQL is distributed under the LGPL license.

    • PostgreSQL is distributed under the BSD license.

    • PostgreSQL is distributed under the X11(MIT) license.


The tables "t1" and "t2" are defined below.
The tables "t1" and "t2" have columns "id" which are type of INTEGER and column "name"s which are type of TEXT.

The following SQL command was executed.

What will be the number of rows in the result?

    • 2 rows

    • 3 rows

    • 4 rows

    • 5 rows

    • 6 rows

Test details:

Online PostgreSQL test will evaluate candidate’s practical knowledge and will also identify whether the candidate is ready to be employed. PostgreSQL skill test can be taken by the candidate from anywhere in the comfort of their time zone.

PostgreSQL online test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

Test Duration: 20 Minutes

No. of Questions: 20

Test description:

PostgreSQL is an open source object-relational database system. It has a strong reputation for data integrity, reliability, and robust features. PostgreSQL runs on major operating systems like UNIX, LINUX, Solaris, UX, etc. It supports all triggers, views, foreign keys, stored procedures, internationalization, functions and is ACID compliant.
PostgreSQL online test helps recruiters and hiring managers to assess candidate’s ability to work on PostgreSQL queries, statements, commands & transactions. Interview Mocha’s PostgreSQL assessment test is created & validated by experienced subject matter experts (SMEs) to assess & hire PostgreSQL developer as per industry standards.

PostgreSQL skill test helps you to screen the candidates who possess traits as follows:
1.  Ability to work with SQL & query optimization
2.  Strong knowledge of PostgreSQL commands, relational data model, PL SQL, SQL Table
3.  Ability to build and maintain scalable ETL pipelines
Interview Mocha’s powerful reporting & intelligent analytics will help you overview candidate’s performance in each section within a glance. Candidate feedback module will ensure candidates are having excellent experience with Interview Mocha.

PostgreSQL developer test has set of questions crafted by industry experts to cope with recent developments in technology. Moreover, you can add your questions as per the requirement of your job description.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates