ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
1.Hivewillcreate
Selectone:
a.Directoryfordatabasesandfilesfortables
b.Filesfordatabasesandfilesfirtables
c.Filesfordatabasesanddirectoryfortables
d.Directoryfordatabasesandsubdirectoryfortables
2.Torunjobsinparallelinoozietherequirednodeis
Selectone:
a.<forkname=>
b.<startto=>
c.<caseto=>
d.<okto=>
3.WhichofthefollowingisnottrueincontextofSpark
Selectone:
a.distinctisatransformation
b.reduceisanaction
c.map()isatransformation
d.filter()isanaction
4.MongoDBcanbeinstalled
Selectone:
a.OnUNIX
b.OnWindows
c.OnLinux
d.Onanyofthementionedoptions
5.InCassandrawhenahintedhandoffoccurs?
Selectone:
a.Whenanodeisbusyduringread
b.Whenanodeisofflineduringread
c.Whenanodeisbusyduringwrite
d.Whenanodeisofflineduringwrite
6.InPigfragmentreplicatejoinmeans
Selectone:
a.Jointwotablesfirstbriningbothinmemory.
b.Joinonesmalltableinmemoryandonelargetablefromdisk
c.Jointwolargestablesinfragmentedway
d.Joinonelargetableinmemorywithonesmalltableindisk
7.WhichofthefollowingistrueincontextofpySpark
Selectone:
a.YoucanworkwithoutanySaprkContextandsoitisnotnecessarytocreateone.
b.ASparkContextisalreadycreatedforuseandyoucannotcreateanewoneevenif
youwant
c.NoSparkContextiscreatedautomaticallyanduserhavetocreateitbeforeuse
d.ASparkContextisalreadycreatedforusebutyoucancreateanewoneifyouwant
8.Hiveisbestsuitedfor
Selectone:
a.OLTP
b.Realtimequeries
c.Allofthementioned
d.OLAP
9.InpySparkbroadcastvariablesare
Selectone:
a.Bothreadandwritevariablessendtoworkersonlywhenthedemandit
b.Bothreadandwritevariablessendtoallworkers
c.Readonlyvariablessendtoallworkers
d.Readonlyvariablessendtoworkersonlywhentheydemandit
10.Suppose,youaregiventwovariablesX,Y.ThePearsoncorrelationcoefficientsfor(X,
Y)isP1.Now,youhaveadded2inallvaluesofX,subtracted3fromallvaluesofY.The
newcoefficientsfor(X,Y)isP2.Thenwhichofthefollowingistrue
Selectone:
a.P2=P1+2
b.P2=P1
c.P2=P1-1
d.P2=P1-3
11.WhatisthenameofdefaultdatabaseinmongoDB?
Selectone:
a.test
b.local
c.Thereisnodefaultdatabase
d.default
12.WhenyoutrytoinsertnewrecordsincappedcollectioninmongoDBabovethemax
value,whichofthefollowingwillhappen
Selectone:
a.Neitheritwillinsertrecordnoritwillgenerateerror.
b.Itwilloverwritetheoldestrecordinthecollection
c.Itwillinsertrecordtooverflowareawithwarningmessage.
d.Itwillnotinsertrecordandgenerateerrormessage.
13.InHbaseeachHtablecontains#controversy
Selectone:
a.Datafromonecolumn
b.Datafromforethanonecolumnfamilydependinguponthreshold
c.Datafromonecolumnfamily
d.Datafrommorethanonecolumndependinguponthreshold
14.Insparkthecommandrddval=sc.parallelize(value,4)means
Selectone:
a.Runrddvalin4cores
b.Createtherddvalwith4partition
c.Runrddvalinparallelin4threads
d.Allthementionedaretrue
15.TobreakthedatainmoremanageablechunksinHivethebesttechniqueis
Selectone:
a.Bucketing
b.Itdependsofthecolumnonwhichbucketingorpartitioningwillbedone
c.EitherofPartitioningorBucketing
d.Partitioning
16.InHbasetheremaybemorecolumnsundereachcolumnfamily.Whichofthe
followingistrue
Selectone:
a.Anyofthementionedoptionwillcreateatable
b.Wehavetodefinecolumnsonlyduringtablecreation
c.Wehavetodefinecolumnsandcolumnfamiliesduringtablecreation
d.Wehavetodefinecolumnfamiliesonlyduringtablecreation
17.AfeatureFwhichrepresentsgradeofstudentscantakecertainvalue:A,B,C,D,E,
Whichofthefollowingstatementistrueinthiscontext
Selectone:
a.Itdoesntbelongtoanyoftheabovecategory.
b.FeatureFisanexampleofnominalvariable.
c.FeatureFisanexampleofordinalvariable.
d.Noneofgivenaretrue
18.InteractiveshellinPigiscalledas
Selectone:
a.Pigexecutionengine
b.Piglatin
c.Piginterpreter
d.Grunt
19.ItiscalledasrowinRDBMS.WhatisitequivalentinMonogoDB
Selectone:
a.Fields
b.Collection
c.Shard
d.Documents
20.>A=foreachBgenerategroup,COUNT(val);
InabovePigcommandthereducephaseisstartedby
Selectone:
a.generate
b.count
c.foreach
d.group
21.Machinelearningis
Selectone:
a.Theautonomousacquisitionofknowledgethroughtheuseofmanualprograms
b.Theautonomousacquisitionofknowledgethroughtheuseofcomputerprograms
c.Theselectiveacquisitionofknowledgethroughtheuseofcomputerprograms
d.Theselectiveacquisitionofknowledgethroughtheuseofmanualprograms
22.Bloomfilteralgorithmisa
Selectone:
a.Deterministicandcangivefalsepositive
b.Nondeterministicandcangivefalsenegative
c.Deterministicandcangivefalsenegative
d.Nondeterministicandcangivefalsepositive
23.InPigwhichofthefollowingcollectsrecordsofmorethanoneinputsbasedonakey
Selectone:
a.filter
b.cross
c.cogroup
d.group
24.nperspectiveofthisinstructioninPiginteractiveshell,whichofthefollowingis
correct
Selectone:
a.BothforeachandAiscasesensitive
b.foreachisnotcasesensitivebutAiscasesensitive
c.NoneofforeachandAiscasesensitive
d.foreachiscasesensitivebutAisnotcasesensitive
25.MongoDBstoresdatain
Selectone:
a.CSONformat
b.JSONformat
c.Canstoredataineitherofthementionedformat.
d.BSONformat
26.Inhivewecancreateeitherofexternalofinternaltables.Whichofthefollowingis
trueinthiscontext
Selectone:
a.Wehavetogivethepathtofileforbothinternalandexternaltable
b.Wemustgivepathifwementionexternaltablebutnopathisrequirediftheword
externalisnotmentionedduringcreation.
c.Weneednotgiveanypathforeitherofexternalorinternaltable,onlythewordinternal
orexternalissufficient.
d.Wehavetogivepathifitisinternaltablebutnopathisrequirediftheexternalis
mentioned.
27.WhichofthefollowingistrueinperspectiveofindexinmongoDB
Selectone:
a.Itwillnotcreateindexifuserdoesntdefineit
b.Itwillautomaticallycreateanindexonthefirstcolumndefinedbyuser
c.Itwillautomaticallycreatean_idfieldandcreateindexonthat
d.mongoDBneverusesanindex
28.WhchofthefollowingistrueinHbase
Selectone:
a.Anyofthementionedconfigurationwillwork
b.TherearemanyHMasterserver,manyHRegionservercontrolledbyzookeeper
c.ThereareoneHMasterserver,manyHRegionserver
d.ThereareexactlyoneHMasterserver,exactlyoneHRegionserver
29.Topredictthenumberviewsofanonlinearticlewecanusetheauthorname,noof
viewsofpastarticlebysameauthoretc.Evaluationmetricweshoulduse
Selectone:
a.Anyoneofthementionedwillwork
b.F1score
c.Meansquareerror
d.Accuracy
30.ToimplementcounterswhichwillworkgloballyamongalltasksinpySparkwe
shoulduse
Selectone:
a.Broadcastvariable
b.Anyofthementionedwillwork
c.Accumulators
d.Globalvariable
31.zk>delete/zk/zc
Selectone:
a.Itmayormaynotbesuccessful
b.Commandiswrong
c.Itwillalwaysfail
d.Itwillalwayssuccessful
32.Hivestores
Selectone:
a.MetadatainHDFSandprocesseddatainRDBMS
b.MetadatainRDBMSandprocesseddatainRDBMS
c.MetadatainHDFSandprocesseddatainHDFS
d.MetadatainRDBMSandprocesseddatainHDFS
33.Whatistheentropyofthetargetvariable?
Selectone:
a.5/8log(3/8)¡ª 3/8log(5/8)
b.3/8log(5/8)+5/8log(3/8)
c.-(5/8log(5/8)+3/8log(3/8))
d.5/8log(5/8)+3/8log(3/8)
34.InCassandradataissortedinapartitiondependingon
Selectone:
a.Primarykey
b.Compositekey
c.Partitionkey
d.Clusteringkey
35.InCassandraforupdaterequestwouldgoto
Selectone:
a.ToanyoftheCassandranodethatisholdingreplica
b.Cassandramaster
c.ToanyofCassandranode
d.TheCassandraslavewherethedataisthere
36.InMongoDBtocreateadatabasetestdbthecommandis
Selectone:
a.db.createDatabase(testdb)
b.db.createCollection(testdb)
c.usedefault(testdb)
d.usetestdb
37.Whichofthefollowingisthecorrectmethodtocreateawatchinzookeepr
Selectone:
a.zk>create/zk/watchtrue;zk&gt;set/zk/watch1;
b.zk>create/zk/watch1
c.Anyofthementionedcommandwillwork
d.zk>create/zk/watchtrue;zk&gt;get/zk/watch1;
38.InCassandra
Selectone:
a.Readisslowerthanwrite
b.Dependingonsituationeitherofreadorwritecanbefaster
c.Readandwritearebothofequalspeed
d.Writeisslowerthanread
39.Cassandrachoosesreplicaplacementserversonthering
Selectone:
a.distributereplicasevenlyonallthenodesinring
b.onclockwisemanner
c.onrandommanner
d.onanti-clockwisemanner
40.InmongoDBtofindalltherecordsstrictlylessthanavalueoneshoulduse
Selectone:
a.$ngte
b.$lt
c.$lte
d.$ngt
Share 'bda quiz2

More Related Content

Share 'bda quiz2