ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 397 - Certified Platform Developer II discussion

Report
Export

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 this 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?

A.
import { subscribe, unsubscribe, onError } from 'lightning/MessageChannel'
Answers
A.
import { subscribe, unsubscribe, onError } from 'lightning/MessageChannel'
B.
import { subscribe, unsubscribe, onError } from 'lightning/empApi';
Answers
B.
import { subscribe, unsubscribe, onError } from 'lightning/empApi';
C.
import { subscribe, unsubscribe, onError } from 'lightning/pubsub'
Answers
C.
import { subscribe, unsubscribe, onError } from 'lightning/pubsub'
D.
import { subscribe, unsubscribe, onError } from 'lightning/ServerUpdate'
Answers
D.
import { subscribe, unsubscribe, onError } from 'lightning/ServerUpdate'
Suggested answer: B
asked 23/09/2024
Nestor Quintero
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first