HACKER SAFEにより証明されたサイトは、99.9%以上のハッカー犯罪を防ぎます。
カート(0

Databricks Associate-Developer-Apache-Spark 問題集

Associate-Developer-Apache-Spark

試験コード:Associate-Developer-Apache-Spark

試験名称:Databricks Certified Associate Developer for Apache Spark 3.0 Exam

最近更新時間:2024-05-17

問題と解答:全179問

Associate-Developer-Apache-Spark 無料でデモをダウンロード:

PDF版 Demo ソフト版 Demo オンライン版 Demo

追加した商品:"PDF版"
価格: ¥6599 

無料問題集Associate-Developer-Apache-Spark 資格取得

質問 1:
Which of the following statements about RDDs is incorrect?
A. RDDs are great for precisely instructing Spark on how to do a query.
B. The high-level DataFrame API is built on top of the low-level RDD API.
C. RDD stands for Resilient Distributed Dataset.
D. An RDD consists of a single partition.
E. RDDs are immutable.
正解:D
解説: (Topexam メンバーにのみ表示されます)

質問 2:
The code block shown below should return a DataFrame with two columns, itemId and col. In this DataFrame, for each element in column attributes of DataFrame itemDf there should be a separate row in which the column itemId contains the associated itemId from DataFrame itemsDf. The new DataFrame should only contain rows for rows in DataFrame itemsDf in which the column attributes contains the element cozy.
A sample of DataFrame itemsDf is below.
Code block:
itemsDf.__1__(__2__).__3__(__4__, __5__(__6__))
A. 1. filter
2. array_contains("cozy")
3. select
4. "itemId"
5. explode
6. "attributes"
B. 1. filter
2. "array_contains(attributes, 'cozy')"
3. select
4. "itemId"
5. explode
6. "attributes"
C. 1. filter
2. "array_contains(attributes, 'cozy')"
3. select
4. "itemId"
5. map
6. "attributes"
D. 1. where
2. "array_contains(attributes, 'cozy')"
3. select
4. itemId
5. explode
6. attributes
E. 1. filter
2. "array_contains(attributes, cozy)"
3. select
4. "itemId"
5. explode
6. "attributes"
正解:B
解説: (Topexam メンバーにのみ表示されます)

質問 3:
The code block displayed below contains an error. The code block should produce a DataFrame with color as the only column and three rows with color values of red, blue, and green, respectively.
Find the error.
Code block:
1.spark.createDataFrame([("red",), ("blue",), ("green",)], "color")
Instead of calling spark.createDataFrame, just DataFrame should be called.
A. The commas in the tuples with the colors should be eliminated.
B. The "color" expression needs to be wrapped in brackets, so it reads ["color"].
C. Instead of color, a data type should be specified.
D. The colors red, blue, and green should be expressed as a simple Python list, and not a list of tuples.
正解:B
解説: (Topexam メンバーにのみ表示されます)

質問 4:
The code block displayed below contains one or more errors. The code block should load parquet files at location filePath into a DataFrame, only loading those files that have been modified before
2029-03-20 05:44:46. Spark should enforce a schema according to the schema shown below. Find the error.
Schema:
1.root
2. |-- itemId: integer (nullable = true)
3. |-- attributes: array (nullable = true)
4. | |-- element: string (containsNull = true)
5. |-- supplier: string (nullable = true)
Code block:
1.schema = StructType([
2. StructType("itemId", IntegerType(), True),
3. StructType("attributes", ArrayType(StringType(), True), True),
4. StructType("supplier", StringType(), True)
5.])
6.
7.spark.read.options("modifiedBefore", "2029-03-20T05:44:46").schema(schema).load(filePath)
A. Columns in the schema definition use the wrong object type and the syntax of the call to Spark's DataFrameReader is incorrect.
B. Columns in the schema definition use the wrong object type, the modification date threshold is specified incorrectly, and Spark cannot identify the file format.
C. The data type of the schema is incompatible with the schema() operator and the modification date threshold is specified incorrectly.
D. The attributes array is specified incorrectly, Spark cannot identify the file format, and the syntax of the call to Spark's DataFrameReader is incorrect.
E. Columns in the schema are unable to handle empty values and the modification date threshold is specified incorrectly.
正解:B
解説: (Topexam メンバーにのみ表示されます)

質問 5:
Which of the following options describes the responsibility of the executors in Spark?
A. The executors accept tasks from the cluster manager, execute those tasks, and return results to the driver.
B. The executors accept jobs from the driver, analyze those jobs, and return results to the driver.
C. The executors accept jobs from the driver, plan those jobs, and return results to the cluster manager.
D. The executors accept tasks from the driver, execute those tasks, and return results to the cluster manager.
E. The executors accept tasks from the driver, execute those tasks, and return results to the driver.
正解:E
解説: (Topexam メンバーにのみ表示されます)

質問 6:
Which of the following code blocks stores DataFrame itemsDf in executor memory and, if insufficient memory is available, serializes it and saves it to disk?
A. itemsDf.persist(StorageLevel.MEMORY_ONLY)
B. itemsDf.cache(StorageLevel.MEMORY_AND_DISK)
C. itemsDf.cache()
D. itemsDf.write.option('destination', 'memory').save()
E. itemsDf.store()
正解:C
解説: (Topexam メンバーにのみ表示されます)

弊社のDatabricks Associate-Developer-Apache-Sparkを利用すれば試験に合格できます

弊社のDatabricks Associate-Developer-Apache-Sparkは専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社はAssociate-Developer-Apache-Spark問題集の質問と答えが間違いないのを保証いたします。

Associate-Developer-Apache-Spark無料ダウンロード

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のDatabricks Associate-Developer-Apache-Sparkを利用すれば、君は一回で試験に合格できます。

一年間の無料更新サービスを提供します

君が弊社のDatabricks Associate-Developer-Apache-Sparkをご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたDatabricks Associate-Developer-Apache-Sparkをお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のDatabricks Associate-Developer-Apache-Sparkを持っていることを保証します。

TopExamは君にAssociate-Developer-Apache-Sparkの問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。

安全的な支払方式を利用しています

Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社のAssociate-Developer-Apache-Spark問題集は全部Credit Cardで支払われることができます。

領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。

弊社は無料Databricks Associate-Developer-Apache-Sparkサンプルを提供します

お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料Associate-Developer-Apache-Sparkサンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこのAssociate-Developer-Apache-Spark問題集は自分に適するかどうか判断して購入を決めることができます。

Associate-Developer-Apache-Spark試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。

弊社は失敗したら全額で返金することを承諾します

我々は弊社のAssociate-Developer-Apache-Spark問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のDatabricks Associate-Developer-Apache-Sparkを利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。

Databricks Certified Associate Developer for Apache Spark 3.0 認定 Associate-Developer-Apache-Spark 試験問題:

1. Which of the following code blocks returns a copy of DataFrame transactionsDf that only includes columns transactionId, storeId, productId and f?
Sample of DataFrame transactionsDf:
1.+-------------+---------+-----+-------+---------+----+
2.|transactionId|predError|value|storeId|productId| f|
3.+-------------+---------+-----+-------+---------+----+
4.| 1| 3| 4| 25| 1|null|
5.| 2| 6| 7| 2| 2|null|
6.| 3| 3| null| 25| 3|null|
7.+-------------+---------+-----+-------+---------+----+

A) transactionsDf.drop([col("predError"), col("value")])
B) transactionsDf.drop(["predError", "value"])
C) transactionsDf.drop("predError", "value")
D) transactionsDf.drop(col("value"), col("predError"))
E) transactionsDf.drop(value, predError)


2. Which of the following code blocks returns a DataFrame with a single column in which all items in column attributes of DataFrame itemsDf are listed that contain the letter i?
Sample of DataFrame itemsDf:
1.+------+----------------------------------+-----------------------------+-------------------+
2.|itemId|itemName |attributes |supplier |
3.+------+----------------------------------+-----------------------------+-------------------+
4.|1 |Thick Coat for Walking in the Snow|[blue, winter, cozy] |Sports Company Inc.|
5.|2 |Elegant Outdoors Summer Dress |[red, summer, fresh, cooling]|YetiX |
6.|3 |Outdoors Backpack |[green, summer, travel] |Sports Company Inc.|
7.+------+----------------------------------+-----------------------------+-------------------+

A) itemsDf.select(col("attributes").explode().alias("attributes_exploded")).filter(col("attributes_exploded").co
B) itemsDf.select(explode("attributes").alias("attributes_exploded")).filter(attributes_exploded.contains("i"))
C) itemsDf.select(explode("attributes").alias("attributes_exploded")).filter(col("attributes_exploded").contain
D) itemsDf.explode(attributes).alias("attributes_exploded").filter(col("attributes_exploded").contains("i"))
E) itemsDf.select(explode("attributes")).filter("attributes_exploded".contains("i"))


3. Which of the following code blocks writes DataFrame itemsDf to disk at storage location filePath, making sure to substitute any existing data at that location?

A) itemsDf.write(filePath, mode="overwrite")
B) itemsDf.write.mode("overwrite").parquet(filePath)
C) itemsDf.write.mode("overwrite").path(filePath)
D) itemsDf.write().parquet(filePath, mode="overwrite")
E) itemsDf.write.option("parquet").mode("overwrite").path(filePath)


4. Which of the following code blocks returns the number of unique values in column storeId of DataFrame transactionsDf?

A) transactionsDf.dropDuplicates().agg(count("storeId"))
B) transactionsDf.select(distinct("storeId")).count()
C) transactionsDf.select("storeId").dropDuplicates().count()
D) transactionsDf.select(count("storeId")).dropDuplicates()
E) transactionsDf.distinct().select("storeId").count()


5. The code block displayed below contains an error. The code block should return a DataFrame where all entries in column supplier contain the letter combination et in this order. Find the error.
Code block:
itemsDf.filter(Column('supplier').isin('et'))

A) The expression only returns a single column and filter should be replaced by select.
B) The expression inside the filter parenthesis is malformed and should be replaced by isin('et', 'supplier').
C) Instead of isin, it should be checked whether column supplier contains the letters et, so isin should be replaced with contains. In addition, the column should be accessed using col['supplier'].
D) The Column operator should be replaced by the col operator and instead of isin, contains should be used.


質問と回答:

質問 # 1
正解: C
質問 # 2
正解: C
質問 # 3
正解: B
質問 # 4
正解: C
質問 # 5
正解: B

Associate-Developer-Apache-Spark 関連試験
Databricks-Certified-Data-Engineer-Associate - Databricks Certified Data Engineer Associate Exam
Databricks-Certified-Professional-Data-Engineer - Databricks Certified Professional Data Engineer Exam
Databricks-Certified-Data-Engineer-Professional - Databricks Certified Data Engineer Professional Exam
Databricks-Certified-Professional-Data-Scientist - Databricks Certified Professional Data Scientist Exam
連絡方法  
 [email protected] サポート

試用版をダウンロード

人気のベンダー
Apple
Avaya
CIW
FileMaker
Lotus
Lpi
OMG
SNIA
Symantec
XML Master
Zend-Technologies
The Open Group
H3C
3COM
ACI
すべてのベンダー
TopExam問題集を選ぶ理由は何でしょうか?
 品質保証TopExamは我々の専門家たちの努力によって、過去の試験のデータが分析されて、数年以来の研究を通して開発されて、多年の研究への整理で、的中率が高くて99%の通過率を保証することができます。
 一年間の無料アップデートTopExamは弊社の商品をご購入になったお客様に一年間の無料更新サービスを提供することができ、行き届いたアフターサービスを提供します。弊社は毎日更新の情況を検査していて、もし商品が更新されたら、お客様に最新版をお送りいたします。お客様はその一年でずっと最新版を持っているのを保証します。
 全額返金弊社の商品に自信を持っているから、失敗したら全額で返金することを保証します。弊社の商品でお客様は試験に合格できると信じていますとはいえ、不幸で試験に失敗する場合には、弊社はお客様の支払ったお金を全額で返金するのを承諾します。(全額返金)
 ご購入の前の試用TopExamは無料なサンプルを提供します。弊社の商品に疑問を持っているなら、無料サンプルを体験することができます。このサンプルの利用を通して、お客様は弊社の商品に自信を持って、安心で試験を準備することができます。