ExamGecko
Home / Microsoft / DP-500 / List of questions
Ask Question

Microsoft DP-500 Practice Test - Questions Answers, Page 4

Add to Whishlist

List of questions

Question 31

Report Export Collapse

You have a Power Bl data model.

You need to refresh the data from the source every 15 minutes.

What should you do first?

Enable the XMLA endpoint.
Enable the XMLA endpoint.
Define an incremental refresh policy.
Define an incremental refresh policy.
Change the storage mode of the dataset.
Change the storage mode of the dataset.
Configure a scheduled refresh.
Configure a scheduled refresh.
Suggested answer: D
Explanation:

You cannot schedule a refresh on 15-minute increments. Only 30, unless using XMLA endpoint.

asked 02/10/2024
Arnaldo Martinez 2-30793
48 questions

Question 32

Report Export Collapse

You are configuring a Power Bl report for accessibility as shown in the following table.

Microsoft DP-500 image Question 6 90283 10022024015932000000

You need to change the default colors of all three visuals to make the report more accessible to users who have color vision deficiency. Which two settings should you configure in the Customize theme window? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Theme colors
Theme colors
Sentiment colors
Sentiment colors
Divergent colors
Divergent colors
First-level elements colors
First-level elements colors
Suggested answer: A, B
Explanation:

Reference: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes

asked 02/10/2024
Arkadiusz Skopinski
48 questions

Question 33

Report Export Collapse

You are creating a Python visual in Power Bl Desktop.

You need to retrieve the value of a column named Unit Price from a DataFrame.

How should you reference the Unit Price column in the Python code?

pandas.DataFrame('Unit Price')
pandas.DataFrame('Unit Price')
dataset['Unit Price']
dataset['Unit Price']
data = [Unit Price]
data = [Unit Price]
('Unit Price')
('Unit Price')
Suggested answer: A
Explanation:

You can retrieve a column in a pandas DataFrame object by using the DataFrame object name, followed by the label of the column name in brackets.

So if the DataFrame object name is dataframe1 and the column we are trying to retrieve the 'X' column, then we retrieve the column using the statement, dataframe1['X'].

Here's a simple Python script that imports pandas and uses a data frame:

import pandas as pd data = [['Alex',10],['Bob',12],['Clarke',13]] df = pd.DataFrame(data,columns=['Name','Age'],dtype=float) print (df)

When run, this script returns:

Name Age

0 Alex 10.0

1 Bob 12.0

2 Clarke 13.0

Reference: http://www.learningaboutelectronics.com/Articles/How-to-retrieve-a-column-from-a-

asked 02/10/2024
Marcel Wienhusen
49 questions

Question 34

Report Export Collapse

You have a Power Bl report that contains one visual.

You need to provide users with the ability to change the visual type without affecting the view for other users.

What should you do?

From Report setting, select Personalize visuals.
From Report setting, select Personalize visuals.
From Tabular Editor, create a new perspective.
From Tabular Editor, create a new perspective.
From the Bookmarks pane, select Focus mode, and then select Add.
From the Bookmarks pane, select Focus mode, and then select Add.
From Visual options in Report settings, select Use the modern visual header with updated styling options.
From Visual options in Report settings, select Use the modern visual header with updated styling options.
Suggested answer: A
Explanation:

Enable personalization in a report

You can enable the feature either in Power BI Desktop or the Power BI service. You can also enable it in embedded reports.

To enable the feature in Power BI Desktop, go to File > Options and settings > Options > Current file > Report settings. Make sure Personalize visuals is turned on.

asked 02/10/2024
soufiane chafik
46 questions

Question 35

Report Export Collapse

You have a Power Bl report that contains the visual shown in the following exhibit.

Microsoft DP-500 image Question 9 90286 10022024015932000000

You need to make the visual more accessible to users who have color vision deficiency. What should you do?

Change the font color of values in the Sales column to white.
Change the font color of values in the Sales column to white.
Change the red background color to orange.
Change the red background color to orange.
Add icons to represent the sales status of each product.
Add icons to represent the sales status of each product.
Add additional measures to the table values.
Add additional measures to the table values.
Suggested answer: B
Explanation:

Themes, contrast and colorblind-friendly colors

You should ensure that your reports have enough contrast between text and any background colors.

Certain color combinations are particularly difficult for users with color vision deficiencies to distinguish. These include the following combinations:

**---> green and black

green and red

green and brown

blue and purple

green and blue

light green and yellow

blue and grey

green and grey

Avoid using these colors together in a chart, or on the same report page.

Reference: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-accessibility-creating-reports

asked 02/10/2024
javier mungaray
43 questions

Question 36

Report Export Collapse

You have the following Python code in an Apache Spark notebook.

Microsoft DP-500 image Question 10 90287 10022024015932000000

Which type of chart will the code produce?

a stacked bar chart
a stacked bar chart
a pie chart
a pie chart
a bar chart
a bar chart
an area chart
an area chart
Suggested answer: D
Explanation:

The matplotlib.pyplot.fill_between function fills the area between two horizontal curves.

The curves are defined by the points (x, y1) and (x, y2). This creates one or multiple polygons describing the filled area.

Reference: https://matplotlib.org/3.5.0/api/_as_gen/matplotlib.pyplot.fill_between.html

asked 02/10/2024
Daniela Stojanovska
45 questions

Question 37

Report Export Collapse

You use Azure Synapse Analytics and Apache Spark notebooks to You need to use PySpark to gain access to the visual libraries. Which Python libraries should you use?

Seaborn only
Seaborn only
Matplotlib and Seaborn
Matplotlib and Seaborn
Matplotlib only
Matplotlib only
Matplotlib and TensorFlow
Matplotlib and TensorFlow
TensorFlow only
TensorFlow only
Seaborn and TensorFlow
Seaborn and TensorFlow
Suggested answer: B
Explanation:

Matplotlib

You can render standard plotting libraries, like Matplotlib, using the built-in rendering functions for each library.

Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy.

Additional libraries

Beyond these libraries, the Azure Synapse Analytics Runtime also includes the following set of libraries that are often used for data visualization:

Seaborn Seaborn is a Python data visualization library based on matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics.

Reference: https://docs.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-datavisualization

https://seaborn.pydata.org/

asked 02/10/2024
JASON HOLT
41 questions

Question 38

Report Export Collapse

You are using a Python notebook in an Apache Spark pool in Azure Synapse Analytics. You need to present the data distribution statistics from a DataFrame in a tabular view. Which method should you invoke on the DataFrame?

freqltems
freqltems
explain
explain
rollup
rollup
describe
describe
Suggested answer: D
Explanation:

The aggregating statistic can be calculated for multiple columns at the same time with the describe function.

Example:

titanic[["Age", "Fare"]].describe()

Out[6]:

Age Fare

count 714.000000 891.000000

mean 29.699118 32.204208

std 14.526497 49.693429

min 0.420000 0.000000

25% 20.125000 7.910400

50% 28.000000 14.454200

75% 38.000000 31.000000

max 80.000000 512.329200

Reference:

https://pandas.pydata.org/docs/getting_started/intro_tutorials/06_calculate_statistics.html

asked 02/10/2024
JP Pelovello
54 questions

Question 39

Report Export Collapse

You have a kiosk that displays a Power Bl report page. The report uses a dataset that uses Import storage mode. You need to ensure that the report page updates all the visuals every 30 minutes.

Which two actions should you perform? Each correct answer presents part of the solution. NOTE:

Each correct selection is worth one point.

Enable Power Bl embedded.
Enable Power Bl embedded.
Configure the data sources to use DirectQuery.
Configure the data sources to use DirectQuery.
Configure the data sources to use a streaming dataset
Configure the data sources to use a streaming dataset
Select Auto page refresh.
Select Auto page refresh.
Enable the XMIA endpoint.
Enable the XMIA endpoint.
Add a Microsoft Power Automate visual to the report page.
Add a Microsoft Power Automate visual to the report page.
Suggested answer: B, D
Explanation:

Automatic page refresh in Power BI enables your active report page to query for new data, at a predefined cadence, for DirectQuery sources.

Automatic page refresh is available for DirectQuery sources and some LiveConnect scenarios, so it will only be available when you are connected to a supported data source. This restriction applies to both automatic page refresh types.

Reference: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-automatic-pagerefresh

asked 02/10/2024
kinshuk choubisa
35 questions

Question 40

Report Export Collapse

You have an Azure Synapse Analytics dedicated SQL pool.

You need to ensure that the SQL pool is scanned by Azure Purview.

What should you do first?

Register a data source.
Register a data source.
Search the data catalog.
Search the data catalog.
Create a data share connection.
Create a data share connection.
Create a data policy.
Create a data policy.
Suggested answer: B
asked 02/10/2024
William Kerr
45 questions
Total 162 questions
Go to page: of 17
Search

Related questions