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

SAP C_CPE_2409 Exam - Topic 1 Question 14 Discussion

You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use?
A) cds.Service
B) cds.Request
C) cds.Event

SAP C_CPE_2409 Exam - Topic 1 Question 14 Discussion

Actual exam question for SAP's C_CPE_2409 exam
Question #: 14
Topic #: 1
[All C_CPE_2409 Questions]

You want to register custom event handlers using instances of CAP Node.js SDK classes. Which one do you use?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Rodolfo
9 months ago
cds.Request seems off for this.
upvoted 0 times
...
Arleen
9 months ago
I thought it was cds.Service?
upvoted 0 times
...
Shantay
9 months ago
Definitely cds.Event for custom handlers!
upvoted 0 times
...
Alexia
10 months ago
Wait, are we sure it's not cds.Service?
upvoted 0 times
...
Sheron
10 months ago
100% agree, cds.Event is the way to go!
upvoted 0 times
...
Jesusa
10 months ago
I thought cds.Event was the correct choice, but I need to double-check if it applies to custom handlers specifically.
upvoted 0 times
...
Georgiana
10 months ago
I'm leaning towards cds.Request, but I can't recall if that's specifically for event handlers or something else.
upvoted 0 times
...
Norah
10 months ago
I remember practicing a question about event handling, and I feel like cds.Service was mentioned, but it doesn't seem right for this.
upvoted 0 times
...
Avery
11 months ago
I think we might need to use cds.Event for registering custom event handlers, but I'm not entirely sure.
upvoted 0 times
...
Anjelica
11 months ago
I'm pretty confident the answer is C. The cds.Event class seems like the logical choice for registering custom event handlers.
upvoted 0 times
...
Willodean
11 months ago
I'm a bit confused by this question. I'll need to think it through carefully and make sure I understand the CAP Node.js SDK before answering.
upvoted 0 times
...
Beatriz
11 months ago
Based on the question, I believe the correct answer is A. The cds.Service class should provide the functionality to register custom event handlers.
upvoted 0 times
...
Adelle
11 months ago
Hmm, I'm not sure about this one. I'll need to review the CAP Node.js SDK documentation to see which class is used for registering custom event handlers.
upvoted 0 times
...
Mollie
12 months ago
I think the answer is C. The cds.Event class should allow me to register custom event handlers.
upvoted 0 times
...
Alisha
1 year ago
I'm going with C) cds.Event. It's the only one that makes sense for registering custom event handlers.
upvoted 0 times
Rikki
1 year ago
Yes, cds.Event is specifically designed for handling events in CAP Node.js SDK.
upvoted 0 times
...
Vivan
1 year ago
I agree, cds.Event is the right choice for registering custom event handlers.
upvoted 0 times
...
...
Francisca
1 year ago
Haha, I bet Merlyn just wants to use cds.Service for everything. That's the Swiss Army knife of the CAP SDK!
upvoted 0 times
...
Merlyn
1 year ago
A) cds.Service? Really? I don't think that's the correct option here. Isn't that for something else?
upvoted 0 times
...
Nicholle
1 year ago
Definitely C) cds.Event. I remember learning about that in the CAP Node.js SDK documentation.
upvoted 0 times
Brock
12 months ago
I agree, cds.Event is the way to go for registering custom event handlers.
upvoted 0 times
...
...
Stephanie
1 year ago
I think the answer is C) cds.Event. That's the class we use to register custom event handlers, right?
upvoted 0 times
Marylin
1 year ago
I believe it is cds.Request that we use to register custom event handlers.
upvoted 0 times
...
Karol
1 year ago
No, the correct class to use is cds.Service for registering custom event handlers.
upvoted 0 times
...
Brynn
1 year ago
Yes, you are correct. We use cds.Event to register custom event handlers.
upvoted 0 times
...
...
Judy
1 year ago
I agree with Xenia, cds.Service makes more sense for registering custom event handlers
upvoted 0 times
...
Xenia
1 year ago
But the documentation says we should use cds.Service for custom event handlers
upvoted 0 times
...
Josefa
1 year ago
I disagree, I believe it's C) cds.Event
upvoted 0 times
...
Xenia
1 year ago
I think the answer is A) cds.Service
upvoted 0 times
...

Save Cancel