New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 6 Question 68 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 68
Topic #: 6
[All DEX-450 Questions]

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)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Keena
4 months ago
@AuraEnabled is the way to go, trust me!
upvoted 0 times
...
Mariann
4 months ago
Wait, can you really use @AuraEnabled with LWC? Sounds too easy!
upvoted 0 times
...
Thurman
4 months ago
I thought @InvocableMethod was the right one for this?
upvoted 0 times
...
Dylan
4 months ago
Definitely @AuraEnabled! No doubt about it.
upvoted 0 times
...
Maryann
4 months ago
You need to use the @AuraEnabled annotation for LWC.
upvoted 0 times
...
Curtis
5 months ago
I believe it’s @AuraEnabled, but I also recall something about @InvocableMethod for other use cases. Just want to be sure!
upvoted 0 times
...
Elfrieda
5 months ago
I’m a bit confused; I thought there was another annotation for different contexts. Is @AuraEnabled the right one for this case?
upvoted 0 times
...
Rodrigo
5 months ago
I remember practicing a question about making Apex methods accessible to Lightning components, and I think it was definitely @AuraEnabled.
upvoted 0 times
...
Gail
5 months 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.
upvoted 0 times
...
Alica
5 months ago
This question seems straightforward, I think the answer is B - adding the authors as impersonators of each other.
upvoted 0 times
...
Rodrigo
5 months ago
Wouldn't DNS be more about resolution than actual communication? I feel unsure, but I have a strong feeling it's XMPP.
upvoted 0 times
...
Paulene
5 months ago
This one seems pretty straightforward. The Hippocratic Oath is a well-known early expression of medical ethics, so I'm going with that.
upvoted 0 times
...
Sylvia
5 months ago
I'm uncertain, but I don't think switches disconnect malfunctioning devices, so that rules out C and D for me.
upvoted 0 times
...

Save Cancel