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

Posted by Paulene on Jul 16, 2024 at 04:38 PM

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

Get Premium APSCE Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
RE
Rex 11 months ago
I thought D was it at first, but C makes more sense.
KA
Karima 11 months ago
B seems like a typo, right? Should be C.
AD
Adela 11 months ago
Wait, is A even a real method? Sounds off.
GE
Gearldine 12 months ago
Agreed, C looks correct to me too!
DE
Derick 12 months ago
I think it's definitely C. That's the right method.
LA
Lavonda 1 year 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.
MO
Mose 1 year ago
I have a vague memory that the method should include "setCustom" in it, so maybe it's C after all.
NI
Nidia 1 year 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.
ST
Stefany 1 year ago
I think the correct answer might be C, but I'm not entirely sure about the method name.
MI
Mirta 1 year 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.
CL
Clarinda 1 year 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.
MA
Marylyn 1 year 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.
CY
Cyril 1 year 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.
FA
Fatima 1 year 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.
BE
Beckie 1 year ago
I think Sandra might be a laggard since she's sticking with an outdated phone while others have moved on to newer models.
BE
Benton 1 year ago
I heard the DMN Engine team added a new expression function called 'isItLunchTime()'. Spoiler alert: it always returns true!
RE
Rebecka 1 year 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!
FR
Frederica 1 year ago
I'm gonna go with option B. It sounds like it adds the custom expression function registry after the configuration is set up.
EL
Elbert 1 year ago
↳ replying to Frederica
Great, let's go with option B then.
AD
Adelaide 1 year ago
↳ replying to Frederica
I think you're right, it seems like the most logical choice.
ST
Stephanie 1 year ago
↳ replying to Frederica
That makes sense, it sounds like it adds the custom expression function registry after the configuration is set up.
CE
Celestina 1 year ago
↳ replying to Frederica
Option B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
JO
Jordan 1 year ago
Option D looks interesting, but the method name has a typo, it should be 'addCustomExpressionFunctionRegistry' without the 'f' at the end.
TR
Tricia 1 year ago
↳ replying to Jordan
C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
HE
Helga 1 year ago
↳ replying to Jordan
C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
HU
Huey 1 year ago
↳ replying to Jordan
B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
FA
Fabiola 1 year ago
↳ replying to Jordan
B) dmnEngineConfiguration.setPostCustomExpressionFunctionRegistry( myExpressionFunctionRegistry);
TE
Teddy 1 year ago
↳ replying to Jordan
A) drnnEngineConfiguration.setPreCustornExpressionFunctionRegistry(myExpressionFunctionRegistry);
RA
Rana 1 year ago
↳ replying to Jordan
A) drnnEngineConfiguration.setPreCustornExpressionFunctionRegistry(myExpressionFunctionRegistry);
CH
Charlene 2 years ago
I think option C is the correct answer. It directly sets the custom expression function registry in the DMN engine configuration.
MO
Mohammad 1 year ago
↳ replying to Charlene
Option C looks like the most suitable one to me.
KA
Karl 1 year ago
↳ replying to Charlene
I would go with option C as well.
BR
Brett 1 year ago
↳ replying to Charlene
I think option C is the best answer too.
LA
Latanya 1 year ago
↳ replying to Charlene
I agree, option C seems like the correct choice.
BO
Bo 2 years ago
I'm not sure, but I think D) might also work by adding the custom expression function registry.
RE
Refugia 2 years ago
I agree with Effie, setting the custom expression function registry using C) makes sense.
EF
Effie 2 years ago
I think the answer is C) dmnEngineConfiguration.setCustomExpressionFunctionRegistry( myExpressionFunctionRegistry );
0/2000 characters

Save Cancel