Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 3 question 19 discussion

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

HOTSPOT -
You are developing a Power Platform solution. You plan to add three buttons to a form. The buttons have the following requirements:

You need to complete each button's action.
Which commands should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Now() only.
The Now function returns the current date and time as a date/time value.
Box 2: Switch() or IF()
If and Switch functions in Power Apps determines whether any condition in a set is true (If) or the result of a formula matches any value in a set (Switch) and then returns a result or executes an action.
Box 3: isMatch( TextInput1.Text,"emergency",Contains & IgnoreCase )
Example: IsMatch( TextInput1.Text, "hello", Contains & IgnoreCase )
Tests whether the user's input contains the word "hello" (case insensitive).
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-if

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
No_Doubt
Highly Voted 1 year, 11 months ago
Ensure the the word Emergency is entered as "Emergency", which mean CASE SENSITIVE! So, for me, in the 3rd question, option 1 is the right option.
upvoted 15 times
marimar
9 months, 2 weeks ago
In the 3rd question, the correct answer is the first one, however, it should have been put like this: IsMatch( TextInput1.Text, "Emergency",Contains) because the statement says that it was written as "Emergency" and not as "emergency".
upvoted 3 times
...
...
At09
Most Recent 1 year ago
3rd would be asked as inputing 'emergency' and in conditions check for 'Emergency' then Ignorecase would work. But as its the otherway rond would go with option 1, we can't Ignore case ;)
upvoted 3 times
SagaTeja
7 months, 2 weeks ago
To pass the exam, which one should select as you think? I am following your comments. LOL
upvoted 1 times
...
...
zewzew
1 year, 1 month ago
For the 3rd question. It has to be case insensitive. If else, there is no correct answer.
upvoted 3 times
...
JerryAnt
1 year, 1 month ago
These functions perform a case-sensitive match. Use MatchOptions.IgnoreCase to perform case-insensitive matches. So question 1 should be option 1.
upvoted 1 times
JerryAnt
1 year, 1 month ago
sorry, question 3 should be option 1.
upvoted 2 times
NyarukouSAMA
1 year, 1 month ago
Agree about case-sensitive search, but unfortunately, no one variant provides us with "Emergency" with a capital E. In this case, the most fit variant will be option 3.
upvoted 1 times
...
...
...
f935db7
1 year, 2 months ago
3rd question poorly worded, no option is right
upvoted 4 times
...
jkaur
1 year, 2 months ago
Now() switch or if isMatch( TextInput1.Text, "emergency", Contains)
upvoted 2 times
...
ziggy1117
1 year, 2 months ago
3rd question should be Contains
upvoted 1 times
...
V05
1 year, 9 months ago
Given answer is correct. Ex: from Microsoft Doc: IsMatch( TextInput1.Text, "Hello world" ) Tests whether the user's input matches, exactly, the string "Hello world". true IsMatch( TextInput1.Text, "Good bye" ) Tests whether the user's input matches, exactly, the string "Good bye". false IsMatch( TextInput1.Text, "hello", Contains ) Tests whether the user's input contains the word "hello" (case sensitive). false IsMatch( TextInput1.Text, "hello", Contains & IgnoreCase ) Tests whether the user's input contains the word "hello" (case insensitive). true
upvoted 3 times
...
rober13
1 year, 10 months ago
For me is : Now() switch or if isMatch( TextInput1.Text, "emergency", Contains)
upvoted 4 times
...
hertino
2 years, 1 month ago
Correct, but 3rd is weird. https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-now-today-istoday https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-ismatch
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 ...