Salesforce
B2B Commerce for Developers Accredited Professional (AP-202)
Q1:
Which three decorators can be used in Lightning Web Components?
☐
A
@api☐
B
@track☐
C
@wire☐
D
@class☐
E
@import
Salesforce
B2B Commerce for Developers Accredited Professional (AP-202)
Q2:
Which three statements are accurate?
☐
A
An Aura component can contain another Aura component☐
B
An Aura component can contain a Lightning Web Component☐
C
A Lightning Web Component can contain an Aura component☐
D
A Lightning Web Component cannot contain an Aura component
Salesforce
B2B Commerce for Developers Accredited Professional (AP-202)
Q3:
Which two items are required for a developer to bring picklist values into a Lightning Web Component?
☐
A
import { getPicklistvValues } from 'lightning/uiObjectinfoApi';☐
B
import { LightningElement, wire } from 'lwc';☐
C
import { wire } from 'lwc';☐
D
import { picklistValues } from 'lightning/uiObjectinfoApi';
Salesforce
B2B Commerce for Developers Accredited Professional (AP-202)
Q4:
Which wire adapter can a developer use to retrieve metadata about a specific object?
○
A
getObject○
B
getObjectMetadata○
C
All of the above○
D
getObjectinfo
Salesforce
B2B Commerce for Developers Accredited Professional (AP-202)
Q5:
What are two common and maintainable ways the content layout of a Lightning Web Component can be implemented?
☐
A
Spreading layout styles across several separate components☐
B
Styling the :host pseudo-element (or other elements) via the CSS file☐
C
Using inline styles☐
D
Applying SLDS classes to internal elements