ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 9 - PL-400 discussion

Report
Export

You need to configure the trigger for the priority field in the Account entity.

Which expression should you use?

A.

DIFFINWEEKS(now,1)

Answers
A.

DIFFINWEEKS(now,1)

B.

SUBTRACTDAYS(10, Now())

Answers
B.

SUBTRACTDAYS(10, Now())

C.

ADDWEEKS(1, CreatedOn)

Answers
C.

ADDWEEKS(1, CreatedOn)

D.

DIFFINDAYS(Createdon, now())

Answers
D.

DIFFINDAYS(Createdon, now())

E.

ADDDAYS(10, CreatedOn)

Answers
E.

ADDDAYS(10, CreatedOn)

Suggested answer: C

Explanation:

A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created.

Note:

Date.AddWeeks returns the date, datetime, or datetimezone result from adding numberOfWeeks weeks to the datetime value dateTime.

CreatedOn gets the value to store in the history table indicating when this entry was created.

Reference: https://docs.microsoft.com/en-us/powerquery-m/date-addweeks https://docs.microsoft.com/en- us/dotnet/api/system.data.entity.migrations.model.inserthistoryoperation.createdon?view=entity-framework-4.3.1

asked 05/10/2024
Aline Oliveira
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first