Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 6 Question 68 Discussion

Posted by Ozell on Feb 26, 2023 at 10:43 AM

A developer wrote an Apex method to update a list of Contacts and wants to make it available for use by Lightning web components.

Which annotation should the developer add to the Apex method to achieve this?

A)

B)

C)

Suggested Answer: B

Get Premium DEX-450 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
KE
Keena 12 months ago
@AuraEnabled is the way to go, trust me!
MA
Mariann 12 months ago
Wait, can you really use @AuraEnabled with LWC? Sounds too easy!
TH
Thurman 12 months ago
I thought @InvocableMethod was the right one for this?
DY
Dylan 1 year ago
Definitely @AuraEnabled! No doubt about it.
MA
Maryann 1 year ago
You need to use the @AuraEnabled annotation for LWC.
CU
Curtis 1 year ago
I believe it’s @AuraEnabled, but I also recall something about @InvocableMethod for other use cases. Just want to be sure!
EL
Elfrieda 1 year ago
I’m a bit confused; I thought there was another annotation for different contexts. Is @AuraEnabled the right one for this case?
RO
Rodrigo 1 year ago
I remember practicing a question about making Apex methods accessible to Lightning components, and I think it was definitely @AuraEnabled.
GA
Gail 1 year ago
I think the annotation we need is @AuraEnabled, but I'm not completely sure if that's the only one we can use for Lightning components.
AL
Alica 1 year ago
This question seems straightforward, I think the answer is B - adding the authors as impersonators of each other.
RO
Rodrigo 1 year ago
Wouldn't DNS be more about resolution than actual communication? I feel unsure, but I have a strong feeling it's XMPP.
PA
Paulene 1 year ago
This one seems pretty straightforward. The Hippocratic Oath is a well-known early expression of medical ethics, so I'm going with that.
SY
Sylvia 1 year ago
I'm uncertain, but I don't think switches disconnect malfunctioning devices, so that rules out C and D for me.
0/2000 characters

Save Cancel