exam questions

Exam PL-200 All Questions

View all questions & answers for the PL-200 exam

Exam PL-200 topic 6 question 21 discussion

Actual exam question from Microsoft's PL-200
Question #: 21
Topic #: 6
[All PL-200 Questions]

You are creating a model-driven app that has an embedded Power BI report. Another functional consultant set up an environment variable for the report.

You add the dashboard to a solution in the development environment and then import the changes to a production environment as a managed solution.

When you test the report, the data appears the same as it did in the development environment.
You delete the solution in production.

You need to resolve the development environment issue before redeploying the solution.

What should you do?

  • A. Update the environment variable current value
  • B. Remove the environment variable current value.
  • C. Update the environment variable default value.
  • D. Create a new environment variable.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
HTS
2 months ago
Selected Answer: C
Tricky! The correct way would be to set the environment variable to its correct environment-specific value during deployment, e.g. by using ADO pipeline libraries. First I thought to update the environment variable’s current value in the PROD system after solution deployment. But the question says: ‘you delete the solution in PROD’ -> the variable will no longer exist in PROD. So you have to change its DEFAULT value in the DEV system, this will then be included in the solution to be deployed to PROD. Then you have to change its CURRENT value in DEV back to point to the correct DEV version of the report. This is NOT a good ALM practice :(
upvoted 1 times
...
cch999
2 months, 1 week ago
Selected Answer: A
On exam Feb 23, 2025
upvoted 1 times
...
Hamed64
3 months, 2 weeks ago
Selected Answer: C
Copilot Let's clarify the difference between updating the environment variable's current value and its default value: Updating the environment variable current value (Option A) would change the value for the current environment only. This might work temporarily, but it doesn't address the root issue when moving solutions between environments. Updating the environment variable default value (Option C) ensures that the correct value is used whenever the solution is imported into a new environment. This is crucial for maintaining consistency across different environments, such as development and production. By updating the default value, you ensure that the environment variable points to the correct data source in the production environment, resolving the issue more effectively.
upvoted 1 times
...
killionb12
4 months ago
Selected Answer: A
To resolve the issue where the data in the Power BI report appears the same in both the development and production environments, you should: A. Update the environment variable current value This action ensures that the environment variable is set correctly for the production environment, allowing the Power BI report to display the appropriate data specific to that environment
upvoted 1 times
...
Tootru2bReal
4 months, 2 weeks ago
Selected Answer: B
B is the correct answer. If you update the "current value" while in the development environment, you change that environment's reference to the correct dashboard. You must Remove the value and when you import the solution to the targeted environment, it will prompt and allow you to set the value for environment variables.
upvoted 1 times
...
Ogerelata
6 months, 3 weeks ago
Selected Answer: A
A. seems right
upvoted 2 times
...
33a7f9e
6 months, 4 weeks ago
I believe it is A Option B, removing the environment variable current value, would not resolve the issue because it would leave the environment variable without a specific value, potentially causing the report to fail or default to an incorrect value. Updating the current value (Option A) ensures that the environment variable points to the correct data source for the production environment, allowing the Power BI report to display the appropriate data for each environment.
upvoted 2 times
...
Patrick666
8 months, 2 weeks ago
A. Update the environment variable current value.
upvoted 2 times
...
5f14337
8 months, 3 weeks ago
Selected Answer: A
A. Update the environment variable current value.
upvoted 3 times
...
91e9a8d
8 months, 4 weeks ago
Selected Answer: B
Should be remove the current valve from the solution.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago