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

Salesforce CCM-101 Exam - Topic 7 Question 47 Discussion

Posted by Honey on Aug 04, 2024 at 09:25 AM

A controller route in the SFRA base looks as follows:

In order to extend this route using prepared ( ), what should the developer consider?

Suggested Answer: B

Get Premium CCM-101 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
33 comments · newest first
TA
Tayna 11 months ago
I agree with A, middleware is essential for new functionality!
ER
Erinn 11 months ago
Wait, can you really just remove next()? That sounds off.
DE
Denise 12 months ago
C seems risky, removing next() could break things.
TA
Talia 12 months ago
I think B makes more sense, sticking to base route functions.
DY
Dylan 1 year ago
A is definitely the right choice! Middleware is key.
EM
Emelda 1 year ago
I think we should definitely specify middleware, but I’m torn between A and B. It seems like both could be valid depending on the context.
MI
Miles 1 year ago
I feel like option A makes the most sense since we want to add new functionality, but I might be overthinking it.
FR
Francisca 1 year ago
I remember practicing a similar question where we had to consider middleware, but I can't recall if removing next() is a good idea or not.
LA
Layla 1 year ago
I think we need to specify any middleware functions needed for the new functionality, but I'm not sure if it should be limited to just those called by the base route.
FA
Fatima 1 year ago
I'm not totally sure about this. I'll need to double-check the documentation on extending routes in SFRA to make sure I'm on the right track.
RO
Roselle 1 year ago
I'm feeling pretty confident about this one. The answer is clearly B - I need to specify any new middleware functions while still using the ones called by the base route.
MO
Monroe 1 year ago
Okay, I think I've got this. The key is to consider the middleware functions that are already being used in the base route and build off of those.
GE
Gene 1 year ago
This looks like a tricky question. I'll need to carefully review the base route and think about how to extend it properly.
CH
Cherry 1 year ago
Hmm, I'm a bit confused about the prepared() part. I'll need to make sure I understand how that works in the context of extending a route.
DO
Donette 1 year ago
Hmm, I'm a bit unsure about this one. I know the HIPAA security standards have different categories, but I can't quite remember which one Technical Safeguards is. I'll have to think this through carefully.
CH
Chandra 1 year ago
I'm a little confused by the wording of the question. What exactly are they asking us to identify as the correct options? I'll need to read through the choices carefully.
MO
Mozell 2 years ago
I think removing next(); on the new route is not necessary, so I would go with option B as well.
SH
Sharika 2 years ago
I believe option B is the correct choice, as we should only use middleware functions called by the base route.
EV
Eva 2 years ago
I agree with Micah, it's important to include the necessary middleware functions for the extended route.
RU
Ruth 2 years ago
Hmm, this question is a bit tricky. I'd say the key is to make sure the new functionality integrates seamlessly with the base route.
KA
Katie 2 years ago
I'm not sure, but I think A is the safest bet. Specifying all middleware functions needed for the new functionality seems like the best practice.
ON
Oneida 2 years ago
C seems like a good option too. Removing the next() call would make sure only the new route's middleware functions execute.
AV
Avery 2 years ago
↳ replying to Oneida
C seems like a good option too. Removing the next() call would make sure only the new route's middleware functions execute.
HA
Hailey 2 years ago
↳ replying to Oneida
A) Specify any middleware functions needed for the new functionality.
KE
Kendra 2 years ago
I think B is the correct answer. The developer should consider the middleware functions used by the base route and only extend those for the new functionality.
ST
Staci 2 years ago
↳ replying to Kendra
Exactly, it helps maintain consistency and avoids unnecessary middleware functions.
AL
Alease 2 years ago
↳ replying to Kendra
That makes sense, it ensures that the new functionality is built upon the existing middleware functions.
CA
Carlene 2 years ago
↳ replying to Kendra
I agree, the developer should only use the middleware functions called by the base route when extending the route.
MI
Micah 2 years ago
I think the developer should consider specifying any middleware functions needed for the new functionality.
DE
Deonna 2 years ago
I believe C is incorrect because we shouldn't remove next(); on the new route.
AM
Amina 2 years ago
I'm not sure, but I think B could also be a valid option.
TI
Timmy 2 years ago
I agree with Evette, we need to specify any middleware functions needed for the new functionality.
EV
Evette 2 years ago
I think the answer is A.
0/2000 characters

Save Cancel