Question Bank

3705 approved questions from the community

What is the benefit of using a WITH statement (CTE) in SQL?

HARD
SINGLE CHOICE
40s
SQL
by Mohamed

How would you calculate the total cash spent across all customers?

MEDIUM
SINGLE CHOICE
30s
SQL
by Mohamed

How would you count customers who have items in their cart?

MEDIUM
SINGLE CHOICE
30s
SQL
by Mohamed

How would you join the Customers table to the Orders table?

MEDIUM
SINGLE CHOICE
35s
SQL
by Mohamed

How would you display which customer ordered which items?

HARD
SINGLE CHOICE
40s
SQL
by Mohamed

Why is `purchased_at >= '2017-01-01' AND purchased_at <= '2017-12-31'` better than `YEAR(purchased_at) = '2017'`?

HARD
SINGLE CHOICE
40s
SQL
by Mohamed

What is SQL?

EASY
SINGLE CHOICE
25s
SQL
by Mohamed

What is the main difference between SQL and NoSQL databases?

MEDIUM
SINGLE CHOICE
35s
SQL
by Mohamed

When is it best to use SQL databases?

MEDIUM
SINGLE CHOICE
30s
SQL
by Mohamed

When is it best to use NoSQL databases?

MEDIUM
SINGLE CHOICE
35s
SQL
by Mohamed

How would you select all fields from a Customers table?

EASY
SINGLE CHOICE
25s
SQL
by Mohamed

How would you retrieve a specific customer's cart items using their name?

EASY
SINGLE CHOICE
30s
SQL
by Mohamed

Which of the following are common SQL aggregate functions? (Select all that apply)

EASY
MULTIPLE CHOICE
30s
SQL
by Mohamed

What is PromQL?

EASY
SINGLE CHOICE
25s
Prometheus
by Mohamed

How does Prometheus compare to InfluxDB?

HARD
SINGLE CHOICE
40s
Prometheus
by Mohamed

What is an Alert in Prometheus?

EASY
SINGLE CHOICE
30s
Prometheus
by Mohamed

Prometheus is suitable for per-request billing that requires 100% accuracy.

MEDIUM
TRUE FALSE
25s
Prometheus
by Mohamed

What is the difference between an Instance and a Job in Prometheus?

EASY
SINGLE CHOICE
35s
Prometheus
by Mohamed

Prometheus uses a push-based model where targets push metrics to the server.

EASY
TRUE FALSE
25s
Prometheus
by Mohamed

Prometheus stores all of its data in a time-series database optimized for read-heavy workloads.

MEDIUM
TRUE FALSE
30s
Prometheus
by Mohamed
PreviousPage 44 of 186Next