exam questions

Exam PL-200 All Questions

View all questions & answers for the PL-200 exam

Exam PL-200 topic 1 question 51 discussion

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

DRAG DROP
-

A company uses Power Apps.

You create a custom table and configure a child table relationship with the contact table.
You need to configure the cascading rules for each action.

Which behavior should you use? To answer, drag the appropriate behaviors to the correct actions. Each behavior may be used once, more than once, or not at all. You may need to
drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
RavinBrissy
Highly Voted 1 year, 11 months ago
Another stupid question. Why would you delete a related contact when deleting a custom table record, and why you wouldn't ?. Actually the answer will depend on above context. Which doesn't say in the question (must be in mind of the person who wrote it)
upvoted 29 times
...
Aarch
Highly Voted 2 years ago
Should be Restrict for Delete and Cascade for Share
upvoted 15 times
Newb007
1 year, 11 months ago
https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-entity-relationships look at the parental table... its cascade for all
upvoted 11 times
...
...
businesselements1
Most Recent 1 week ago
Custom table record is deleted → Cascade All This ensures that when a parent record (contact) is deleted, all related child records in the custom table are also deleted automatically. Custom table record is shared → Cascade None This means that when a parent record is shared, it does not affect the child records. The child records maintain their existing permissions and are not automatically shared.
upvoted 1 times
...
MVPConsultant
6 months, 3 weeks ago
This question is missing context i.e what do you want the use case to be? then we can point it to the correct behaviour as far as i'm aware there is 6 table behaviours that exist. 1. Cascade active: Perform action on all related table records. 2. Cascade all: Perform action on related table records 3. Cascade non: Do nothing 4. Remove link: Remove the lookup value from all related records 5. Restrict: Prevent the primary table from being deleted when a related table record exist. 6. Cascade user owner: Perform action on all related table records owned by the same user as the primary table.
upvoted 3 times
...
b304b2c
9 months, 2 weeks ago
1. Restrict 2. Cascade None https://learn.microsoft.com/en-us/power-apps/developer/data-platform/configure-entity-relationship-cascading-behavior
upvoted 4 times
b304b2c
9 months, 2 weeks ago
When configuring cascading rules for a child table relationship in Power Apps, particularly when a custom table record is shared, the behavior you choose depends on the specific business requirements and data integrity rules of your application. Here are the options you have: • Restrict: This prevents the referenced table record from being deleted when referencing tables exist.
upvoted 1 times
b304b2c
9 months, 2 weeks ago
However, it’s important to note that a custom table cannot be the primary table in a relationship with a related system table that cascades. So, if your custom table record is shared and you want to ensure that no automatic changes occur to the related contact table records, you should use Cascade None.
upvoted 1 times
...
b304b2c
9 months, 2 weeks ago
• Cascade All: This performs the action on all referencing table records associated with the referenced table record.
upvoted 1 times
b304b2c
9 months, 2 weeks ago
• Cascade None (NoCascade): This does nothing on the referencing table records when the referenced table record is shared.
upvoted 1 times
b304b2c
9 months, 2 weeks ago
This is used when no automatic action is required.
upvoted 2 times
...
...
...
...
...
b304b2c
9 months, 3 weeks ago
https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-entity-relationships If custom table is Not Parental, then it's Restrict and Cascade None. For example, if you create a new custom table and add a 1:N table relationship with the account table where your custom table is the related table, you can configure the actions for that table relationship to use the options in the Parental column. If you later add another 1:N table relationship with your custom table as the referencing table you can only configure the actions to use the options in the Not Parental column. One problem I have is this: A custom table can't be the primary table in a relationship with a related system table that cascades. This means you can't have a relationship with any action set to Cascade All, Cascade Active, or Cascade User-Owned between a primary custom table and a related system table. Not sure if the table is a system table that cascades?
upvoted 1 times
...
jkaur
10 months, 2 weeks ago
1 - Restrict 2 - Cascade All
upvoted 3 times
...
61be873
10 months, 3 weeks ago
It depends on the behavior you want and this is not stated in the question, so it could be anything
upvoted 2 times
...
MrEz
1 year ago
most probably: the contact table is the parent table and the custom table is adding informatiion to and about the contact. delete contact --> restrict share contact: depends if the others should see sub-records or not. maybe yes. then cascade all is most probable. so everyone can see the details of the contact too.
upvoted 1 times
MrEz
1 year ago
just saw custom table is deleted / shared. non-sense question
upvoted 1 times
...
...
MrEz
1 year, 1 month ago
Assuming that the custom is the child from the contact (parent), because you configure a child table relationship from there with to the (parent) account (while you are in the custom entity). Most probable scenario. As remove link is not an option: 1) deleted - restrict. 2)sharing: parental is Cascade all. (https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-entity-relationships#parental-table-relationships cascade non is not-parental). And it is more a priviledge discussion... A custom table can't be the primary table in a relationship with a related system table that cascades. This means you can't have a relationship with any action set to Cascade All, Cascade Active, or Cascade User-Owned between a primary custom table and a related system table. --> would mean you cannot make a structure like house (account), household(custom), and contact? sort of strange. 3/3
upvoted 2 times
...
MrEz
1 year, 1 month ago
The question also is which entity is parent and which one is child, reading “You create a custom table and configure a child table relationship with the contact table.” Sounds a bit like the custom is parent and the contact is child relationship. But this sounds odd (maybe you have some scenario where account is the house, custom entity is household (many households in 1 account(house), and many contacts in 1 household.). Or is the custom table the child record and the contact is the parent? not sure. One-to-many custom -> Contact works with referential and delete restrict or remove link as an option only (creation works). 2/3
upvoted 1 times
gina_the_boss
1 year ago
literally you can understand it either way and it still sounds right. I wish I could have a talk with the person who wrote the question!
upvoted 1 times
...
...
MrEz
1 year, 1 month ago
I think this answer is wrong. Because when I want to create a One-to-Many relationship from Custom to Contact (contact lookup field). for share and unshare option 'restrict' is not available just:  Cascade All  Cascade Active  Cascade User-Owned  Cascade None For parental and Custom (Delete cascade all) i get an error: Contact is parented to entity with id... (probably account) and name contact. Cannot create another parallel relation with Entity: custom entity. No new relationship can have any action set to Cascade All, Cascade Active, or Cascade User-Owned if the related table in that relationship already exists as a related table in another relationship that has any action set to Cascade All, Cascade Active, or Cascade User-Owned. This prevents relationships that create a multi-parent relationship. (1/2)
upvoted 1 times
...
hismail
1 year, 2 months ago
1- Customer table record is deleted: A- Restrict This will prevent the customer table record from being deleted if there are any related records in the contact table. This will preserve the data integrity and avoid orphaned records. 2- Custom table record is shared: B- Cascade All This will share the custom table record with the same users or teams as the contact table record. This will ensure consistent access and visibility across the related records.
upvoted 6 times
...
Joey444
1 year, 3 months ago
Both are Cascade All. Resource: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-edit-entity-relationships
upvoted 1 times
...
anakinskwlkr
1 year, 4 months ago
there's no way to answer without knowing what is wants! Not possible.
upvoted 6 times
...
ttien
1 year, 5 months ago
on exam 20/9/2023
upvoted 1 times
...
Net_IT
1 year, 5 months ago
I have: Delete - Restrict (parental table) Share - Cascade none Share -
upvoted 4 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