wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Technical Quiz & Challenge

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

After changing the default block size and restarting the cluster, to which data does the new size apply?

a)

all data

b)

no data

c)

existing data

d)

new data

2.

Data node failure is handled by?

a)

Replication-factor

b)

Checkpointing

c)

Block Report

d)

Secondary NameNode

3.

What will happen if the block size in Hadoop cluster is set to 4KB?

a)

Under utilization of cluster.

b)

Lesser number of blocks are created.

c)

Over burdening of NameNode

d)

Better parallelism will be achived.

4.

Suppose, in Hadoop 2.0 we have a 750 MB of input file and there are 3 nodes in the cluster, with default replication factor, what will be the total number of blocks generated in HDFS for that file?

a)

10

b)

24

c)

12

d)

18

5.

What kind of scaling does HDFS supports primarily?

a)

Vertical

b)

Horizontal

c)

Adaptive

d)

Diagonal

6.

How NameNode gets to know if a data block is corrupted?

a)

Heartbeat

b)

Secondary NameNode sends Notification

c)

Metadata

d)

Block Report

7.

What does Apache Spark provide?

a)

storage + computation

b)

all things whatever Hadoop core provides

c)

Only computation

d)

Only storage.

8.

Command to rename a file

a)

Hadoop fs -cp

b)

Hadoop fs -mv

c)

Hadoop fs -get

d)

Hadoop fs -rename

9.

What will this command do?

ls -ltr|tail

a)

It will error out

b)

display 10 oldest files/folders

c)

display 10 newest files/folders

d)

display 20 newest files/folders

10.

How to find out how many lines in file contains the word hello?

a)

ls file.txt|grep hello| wx -l

b)

cat file.txt|grep hello| wc -l

c)

grep hello| wc -l|cat file.txt

d)

it will error out

11.

In SQL Which is better truncate or delete?

a)

truncate

b)

delete

c)

both truncate and delete have same performance.

12.

Is there an error with this query? If so, which statement best describes the problem?

SELECT OrderID, SUM(LineTotal) AS SubTotal

FROM Sales

WHERE SUM(LineTotal) > 1000

GROUP BY OrderID

ORDER BY OrderID;

a)

Yes, you cannot GROUP BY and ORDER BY the same field.

b)

Yes, the WHERE clause should use the SubTotal alias.

c)

No, there is nothing wrong with this query.

d)

Yes, a WHERE clause cannot be used with an aggregate function.

13.

In Telstra which Redundancy is maintained for prod b2b adls storage account.

a)

LSR

b)

ZRS

c)

LA-GRS

d)

GZRS

14.

In Telstra B2B DH, what is the minimum number of nodes that will be used when ADF python activity is ran to load IDMS table using IDM linked service.

a)

0

b)

1

c)

2

d)

3

e)

4

15.

In Telstra B2B DH, what will be minimum number of worker nodes that will be used when ADF python activity is ran using single node linked service

a)

0

b)

1

c)

2

d)

3

e)

4

16.

 

In Telstra B2B DH, what will be maximum number of worker nodes that will be used when ADF python activity is ran using IDM linked service

a)

3

b)

4

c)

5

d)

6

17.

DataLake supports updates and Delete.

a)

True

b)

False

18.

What does BLOB in SQL stand for?

a)

Binary Large object

b)

big large object

c)

Binary language for object

d)

none

19.

Why is the name node no longer a single-point of failure in Hadoop 2?

a)

Replication-factor

b)

Block Report

c)

Heart Beat

d)

Checkpointing

20.

print(2**3 + (5 + 6)**(1 + 1))

a)

129

b)

8

c)

121

d)

12

21.

Which answer is NOT a type of table index?

nonclustered

a)

nonclustered

b)

unique

c)

heap

d)

hash

22.

Point out the correct statement.

a)

Spark enables Apache Hive users to run their unmodified queries much faster

b)

Spark interoperates only with Hadoop

c)

Spark is a popular data warehouse solution running on top of Hadoop

d)

All of the above