exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 2 question 41 discussion

Actual exam question from Microsoft's PL-400
Question #: 41
Topic #: 2
[All PL-400 Questions]

A Microsoft Dataverse database contains two custom tables named TableA and TableB. The tables are configured with the following:

• A one-to-many relationship is configured between TableA and TableB.
• A lookup to TableA appears on a form in TableB.
• Both tables are components of an unmanaged solution.
• Both tables are components in a Power BI report.

You receive an error when attempting to delete TableA.

You need to delete the table.

What should you do?

  • A. Remove TableA from the Power BI report.
  • B. Remove the relationship between TableA and TableB.
  • C. Remove TableA from the unmanaged solution.
  • D. Remove the lookup field to TableA on the TableB form.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Luci79
Highly Voted 2 years, 1 month ago
Not sure if it is possible to delete the relationship before removing the lookup from TableA Form. We should first remove the lookup from TableA form and then delete the relationship.
upvoted 10 times
Emehoku
2 years, 1 month ago
This is correct. The relationship (option B) will be automatically removed by system when you delete the parent table.
upvoted 2 times
...
...
MuhammadSaadFahim
Highly Voted 1 year, 8 months ago
Selected Answer: D
D. Confirm ! System will show dependencies error and will not allow you to delete relationship. You need to removed the Lookup field first from Form.
upvoted 8 times
...
Juan0414
Most Recent 1 month, 3 weeks ago
Selected Answer: D
This is a tricky question. I recreated the scenario and the very first thing that needs to be done is D. Remove the lookup field to TableA on the TableB form. However, after doing this you are still not able to delete TableA because the relationship dependency still exists, so you need to remove the relationship as well. So, if you think about what needs to be first, then the answer should be D.
upvoted 1 times
...
DevInProgress
5 months, 1 week ago
The correct answer is A. The error mentioned in the question is related to the Power BI report. If TableA is being used in a Power BI report, that dependency should be removed first. This is because reports in Power BI keep an active reference to the tables involved. If the table is not removed from Power BI reports, you will not be able to remove it from Dataverse.
upvoted 1 times
...
Ak14Sep
7 months ago
To delete TableA, you need to address the dependencies that are preventing its deletion. In this case, the most appropriate action is to remove the relationship between TableA and TableB. This will eliminate the dependency that TableB has on TableA, allowing you to delete TableA without errors. So, the correct answer is: B. Remove the relationship between TableA and TableB
upvoted 1 times
...
rrustick
1 year, 1 month ago
C. Remove TableA from the unmanaged solution. Explanation: Since both TableA and TableB are components of an unmanaged solution, removing TableA from the unmanaged solution will remove any dependencies or references to TableA within the solution. This includes any references to TableA in the Power BI report as well as any relationships or lookup fields involving TableA. Deleting TableA directly from the unmanaged solution ensures that all associated components, such as the relationship with TableB and any lookup fields on forms, are also removed, allowing for the successful deletion of TableA from the Dataverse database.
upvoted 1 times
...
karammm
1 year, 5 months ago
Selected Answer: D
I just tested it and you will have to remove the field from the form first to be able to delete the relationship then delete the table
upvoted 1 times
...
At09
1 year, 7 months ago
Answer is D
upvoted 1 times
...
HasanAamir11
1 year, 7 months ago
Selected Answer: D
D IS RIGHT
upvoted 1 times
...
jkaur
1 year, 8 months ago
B should be
upvoted 2 times
...
ziggy1117
1 year, 9 months ago
Selected Answer: B
Just tested this out.. If you create Table A then Table B then immediately create a Lookup to Table A from Table B then a 1:N relationship is immediately created. Conversely, if you delete the relationship then the Lookup Column is also deleted allowing you to immediately delete Table A after
upvoted 3 times
NyarukouSAMA
1 year, 7 months ago
Of course lookup field will be created, but it won't appear on the form itself. You need to add it manually. And when you do this, you are creating a dependency. That is the main reason why you can't delete Table A. As for the relation itself, it will be deleted automatically (as well as a lookup field on the related entity), when you are deleting the source table.
upvoted 2 times
...
andresleonz
1 year, 7 months ago
Yeah, that's correct, the lookup field is created and it would work if the lookup wouldn't be on the TableB form. However, the question has this statement "A lookup to TableA appears on a form in TableB". It means the lookup is on the TableB form, therefore, we must remove the lookup field first.
upvoted 1 times
...
...
DummyTest1
1 year, 10 months ago
Selected Answer: B
I think the answer is correct. Just by deleting the lookup feild from the Table B form doesn't ensure the deletion of Table A. Please note that the field is just removed from the form not from the Table B. Hence the final step is to delete the relationship. Additionally, you can't delete the relationship unless field is removed from the Table B form.
upvoted 2 times
qub3
1 year, 8 months ago
According to your explanation, D is the right answer.
upvoted 1 times
...
...
Mitson
1 year, 11 months ago
D seems good
upvoted 2 times
...
whiteblack
1 year, 11 months ago
D is correct answer, relationship not needed to be deleted. Removing the field alone solves the problem.
upvoted 2 times
...
Emehoku
2 years ago
This question was on my 4/7/23 exam
upvoted 2 times
...
Emehoku
2 years ago
Selected Answer: D
The relationship (option B) will be automatically removed by the system when you delete the parent table. But the field must be removed from the form first.
upvoted 1 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