Salesforce
PDII · Question #342
PDII Question #342: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #342. The question stem and answer options stay visible for context.
Question
Get Cloudy Consulting (GCC) has a multitude of servers that host its customers' websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate the on the server side, a developer created a Server Update platform event. The developer is working on a Lightning web component to display the information. What should be added to the Lightning web component to allow the developer to interact with the Server Update platform event?
Options
- Aimport { subscribe, unsubscribe, onError } from 'lightning/ServerUpdate'
- Bimport { subscribe, unsubscribe, onError } from 'lightning/MessageChannel'
- Cimport { subscribe, unsubscribe, onError } from 'lightning/pubsub'
- Dimport { subscribe, unsubscribe, onError } from 'lightning/empApi';
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.