Get all latest (August) Cloudera CCA-500 Actual Test 31-40

Ensurepass

QUESTION 31

Your cluster’s mapred-start.xml includes the following parameters

 

<name>mapreduce.map.memory.mb</name>

 

<value>4096</value>

 

<name>mapreduce.reduce.memory.mb</name>

 

<value>8192</value>

 

And any cluster’s yarn-site.xml includes the following parameters

 

<name>yarn.nodemanager.vmen-pmen-ration</name>

 

<value>2.1</value>

 

What is the maximum amount of virtual memory allocated for each map task before YARN will kill its Container?

 

A.

4 GB

B.

17.2 GB

C.

8.9 GB

D.

8.2 GB

E.

24.6 GB

 

Correct Answer: D

 

 

QUESTION 32

You have recently converted your Hadoop cluster from a MapReduce 1 (MRv1) architecture to MapReduce 2 (MRv2) on YARN architecture. Your developers are accustomed to specifying map and reduce tasks (resource allocation) tasks when they run jobs: A developer wants to know how specify to reduce tasks when a specific job runs. Which method should you tell that developers to implement?

 

A.

MapReduce version 2 (MRv2) on YARN abstracts resource allocation away from the idea of “tasks” into memory and virtual cores, thus eliminating the need for a developer to specify the number of reduce tasks, and indeed preventing the developer from specifying the number of reduce tasks.

B.

In YARN, resource allocations is a function of megabytes of memory in multiples of 1024mb. Thus, they should specify the amount of memory resource they need by executing -D mapreduce-reduces.memory-mb-2048

C.

In YARN, the ApplicationMaster is responsible for requesting the resource required for a specific launch. Thus, executing -D yarn.applicationmaster.reduce.tasks=2 will specify that the ApplicationMaster launch two task contains on the worker nodes.

D.

Developers specify reduce tasks in the exact same way for both MapReduce version 1 (MRv1) and MapReduce version 2 (MRv2) on YARN. Thus, executing -D mapreduce.job.reduces-2 will specify reduce tasks.

E.

In YARN, resource allocation is function of virtual cores specified by the ApplicationManager making requests to the NodeManager where a reduce task is handeled by a single container (and thus a single virtual core). Thus, the developer needs to specify the number of virtual cores to the NodeManager by executing -p yarn.nodemanager.cpu-vcores=2

 

Correct Answer: D

 

 

QUESTION 33

Your cluster has the following characteristics:

 

clip_image002A rack aware topology is configured and on

clip_image002[1]Replication is set to 3

clip_image002[2]Cluster block size is set to 64MB

 

Which describes the file read process when a client application connects into the cluster and requests a 50MB file?

 

A.

The client queries the NameNode for the locations of the block, and reads all three copies. The first copy to complete transfer to the client is the one the client reads as part of hadoop’s speculative execution framework.

B.

The client queries the NameNode for the locations of the block, and reads from the first location in the list it receives.

C.

The client queries the NameNode for the locations of the block, and reads from a random location in the list it receives to eliminate network I/O loads by balancing which nodes it retrieves data from any given time.

D.

The client queries the NameNode which retrieves the block from the nearest DataNode to the client then passes that block back to the client.

 

Correct Answer: B

 

 

QUESTION 34

You have a cluster running with a FIFO scheduler enabled. You submit a large job A to the cluster, which you expect to run for one hour. Then, you submit job B to the cluster, which you expect to run a couple of minutes only. You submit both jobs with the same priority. Which two best describes how FIFO Scheduler arbitrates the cluster resources for job and its tasks? (Choose two)

 

A.

Because there is a more than a single job on the cluster, the FIFO Scheduler will enforce a limit on the percentage of resources allocated to a particular job at any given time.

B.

Tasks are scheduled on the order of their job submission.

C.

The order of execution of job may vary.

D.

Given job A and submitted in that order, all tasks from job A are guaranteed to finish before all tasks from job B.

E.

The FIFO Scheduler will give, on average, and equal share of the cluster resources over the job lifecycle.

F.

The FIFO Scheduler will pass an exception back to the client when Job B is submitted, since all slots on the cluster are use.

 

Correct Answer: AD

 

 

 

 

 

QUESTION 35

Assuming you’re not running HDFS Federation, what is the maximum number of NameNode daemons you should run on your cluster in order to avoid a “split-brain” scenario with your NameNode when running HDFS High Availability (HA) using Quorum- based storage?

 

A.

Two active NameNodes and two Standby NameNodes

B.

One active NameNode and one Standby NameNode

C.

Two active NameNodes and on Standby NameNode

D.

Unlimited. HDFS High Availability (HA) is designed to overcome limitations on the number of NameNodes you can deploy

 

Correct Answer: B

 

 

QUESTION 36

In CDH4 and later, which file contains a serialized form of all the directory and files inodes in the filesystem, giving the NameNode a persistent checkpoint of the filesystem metadata?

 

A.

fstime

B.

VERSION

C.

Fsimage_N (where N reflects transactions up to transaction ID N)

D.

Edits_N-M (where N-M transactions between transaction ID N and transaction ID N)

 

Correct Answer: C

Explanation:

http://mikepluta.com/tag/namenode/

 

 

QUESTION 37

Which command does Hadoop offer to discover missing or corrupt HDFS data?

 

A.

Hdfs fs -du

B.

Hdfs fsck

C.

Dskchk

D.

The map-only checksum

E.

Hadoop does not provide any tools to discover missing or corrupt data; there is not need because three replicas are kept for each data block.

 

Correct Answer: B

Explanation:

https://twiki.grid.iu.edu/bin/view/Storage/HadoopRecovery

 

 

QUESTION 38

Your cluster is configured with HDFS and MapReduce version 2 (MRv2) on YARN. What is the result when you execute: hadoop jar SampleJar MyClass on a client machine?

 

A.

SampleJar.Jar is sent to the ApplicationMaster which allocates a container for SampleJar.Jar

B.

Sample.jar is placed in a temporary directory in HDFS

C.

SampleJar.jar is sent directly to the ResourceManager

D.

SampleJar.jar is serialized into an XML file which is submitted to the ApplicatoionMaster

 

Correct Answer: A

QUESTION 39

Table schemas in Hive are:

 

A.

Stored as metadata on the NameNode

B.

Stored along with the data in HDFS

C.

Stored in the Metadata

D.

Stored in ZooKeeper

 

Correct Answer: B

 

 

QUESTION 40

What does CDH packaging do on install to facilitate Kerberos security setup?

 

A.

Automatically configures permissions for log files at & MAPRED_LOG_DIR/userlogs

B.

Creates users for hdfs and mapreduce to facilitate role assignment

C.

Creates directories for temp, hdfs, and mapreduce with the correct permissions

D.

Creates a set of pre-configured Kerberos keytab files and their permissions

E.

Creates and configures your kdc with default cluster values

 

Correct Answer: B

 

Free VCE & PDF File for Cloudera CCA-500 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

 

This entry was posted in CCA-500 Real Exam (August) and tagged , , , , , , . Bookmark the permalink.