Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Alfresco APSCE Exam - Topic 8 Question 67 Discussion

Actual exam question for Alfresco's APSCE exam
Question #: 67
Topic #: 8
[All APSCE Questions]

Which of the following code snippets will ADD a custom rule expression registry to the DMN Engine configuration? Choose 1 answer.

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Rex
5 months ago
I thought D was it at first, but C makes more sense.
upvoted 0 times
...
Karima
5 months ago
B seems like a typo, right? Should be C.
upvoted 0 times
...
Adela
5 months ago
Wait, is A even a real method? Sounds off.
upvoted 0 times
...
Gearldine
6 months ago
Agreed, C looks correct to me too!
upvoted 0 times
...
Derick
6 months ago
I think it's definitely C. That's the right method.
upvoted 0 times
...
Lavonda
6 months ago
I'm confused about the options; I thought there was a method that started with "add" but now I can't remember if it was for a different context.
upvoted 0 times
...
Mose
6 months ago
I have a vague memory that the method should include "setCustom" in it, so maybe it's C after all.
upvoted 0 times
...
Nidia
6 months ago
I remember practicing a question similar to this, and I feel like "addCustomExpressionFunctionRegistry" was mentioned, but I can't recall if that's the right syntax.
upvoted 0 times
...
Stefany
7 months ago
I think the correct answer might be C, but I'm not entirely sure about the method name.
upvoted 0 times
...
Mirta
7 months ago
I'm leaning towards B. The question says to "ADD" a custom rule expression registry, and the `setPostCustomExpressionFunctionRegistry()` method sounds like it would do that, by adding the registry after the default ones.
upvoted 0 times
...
Clarinda
7 months ago
Option D looks promising to me. The method `addCustomExpressionFunctionRegistry()` seems like it would be the way to add a custom registry, rather than just setting it. But I'm not 100% confident in that.
upvoted 0 times
...
Marylyn
7 months ago
Hmm, I'm not sure about this one. The options seem pretty similar, and I'm not familiar with the DMN Engine configuration API. I'll have to carefully read through each choice to try to figure out the right answer.
upvoted 0 times
...
Cyril
7 months ago
I think the answer is C. The question is asking how to add a custom rule expression registry to the DMN Engine configuration, and the method `setCustomExpressionFunctionRegistry()` seems to be the most direct way to do that.
upvoted 0 times
...
Fatima
7 months ago
I'm a bit confused on the differences between these test approaches. I'll review my notes and try to narrow it down to the best answer.
upvoted 0 times
...
Beckie
7 months ago
I think Sandra might be a laggard since she's sticking with an outdated phone while others have moved on to newer models.
upvoted 0 times
...
Benton
11 months ago
I heard the DMN Engine team added a new expression function called 'isItLunchTime()'. Spoiler alert: it always returns true!
upvoted 0 times
...
Rebecka
11 months ago
Oh man, these DMN engine questions are always tricky. I hope I don't get a question about the 'FeelEngineImpl' class on the exam!
upvoted 0 times
...
Frederica
11 months ago
I'm gonna go with option B. It sounds like it adds the custom expression function registry after the configuration is set up.
upvoted 0 times
Elbert
10 months ago
Great, let's go with option B then.
upvoted 0 times
...
Adelaide
11 months ago
I think you're right, it seems like the most logical choice.
upvoted 0 times
...
Stephanie
11 months ago
That makes sense, it sounds like it adds the custom expression function registry after the configuration is set up.
upvoted 0 times
...
Celestina
11 months ago
Option B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
upvoted 0 times
...
...
Jordan
12 months ago
Option D looks interesting, but the method name has a typo, it should be 'addCustomExpressionFunctionRegistry' without the 'f' at the end.
upvoted 0 times
Tricia
11 months ago
C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
upvoted 0 times
...
Helga
11 months ago
C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
upvoted 0 times
...
Huey
11 months ago
B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
upvoted 0 times
...
Fabiola
11 months ago
B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
upvoted 0 times
...
Teddy
11 months ago
A) drnnEngineConfiguration.setPreCustornExpressionFunctionRegistry(myExpressionFunctionRegistry);
upvoted 0 times
...
Rana
11 months ago
A) drnnEngineConfiguration.setPreCustornExpressionFunctionRegistry(myExpressionFunctionRegistry);
upvoted 0 times
...
...
Charlene
1 year ago
I think option C is the correct answer. It directly sets the custom expression function registry in the DMN engine configuration.
upvoted 0 times
Mohammad
10 months ago
Option C looks like the most suitable one to me.
upvoted 0 times
...
Karl
10 months ago
I would go with option C as well.
upvoted 0 times
...
Brett
11 months ago
I think option C is the best answer too.
upvoted 0 times
...
Latanya
12 months ago
I agree, option C seems like the correct choice.
upvoted 0 times
...
...
Bo
1 year ago
I'm not sure, but I think D) might also work by adding the custom expression function registry.
upvoted 0 times
...
Refugia
1 year ago
I agree with Effie, setting the custom expression function registry using C) makes sense.
upvoted 0 times
...
Effie
1 year ago
I think the answer is C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
upvoted 0 times
...

Save Cancel