Search Header Logo

ADBM_Quiz_2_C

Authored by Hamza Ali

Information Technology (IT)

University

Used 4+ times

ADBM_Quiz_2_C
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of data corruption spreading across replicas?

Server crash

Index rebuild

Wrong update applied to all copies

Schema mismatch

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Logical backups are typically created using:

pg_basebackup

filesystem copy

pg_dump

tar command

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Physical replication is best described as:

Table-level copy

Byte-for-byte copy of entire database

Exporting rows to CSV

Copying only indexes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to create a procedure?

MAKE

SETUP

CREATE PROCEDURE

RUN PROC

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Local procedures in PL/pgSQL are simulated using:


psql.exe

Anonymous blocks (DO $$)

Triggers

SELECT blocks

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NEW.salary <> OLD.salary check for?


Salary increase only

If salary has changed

Deletion

Null values

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What clause defines when a trigger fires?


SELECT

AFTER/BEFORE

ON LOG

DO NOW

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?