Salesforce
ARC-300 · Question #24
The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it…
The correct answer is A. Create customer groups for desktop and mobile users and uh remote includes based on these. See the full explanation below for the reasoning.
Question
The Client has implemented a different category/search layout for mobile and desktop. The code uses a session attribute called deviceType to choose the corresponding layout. This attribute it populated from the browser user agent. After this implementation they have run into these problems:
- Sometimes desktop pages are being served to both desktop and mobile customers.
- Sometimes mobile pages ate being served to both desktop and mobile customers.
The page has caching implemented that depends; on promotions. SEC is very important and the site traffic is high. Which solution should the Architect select to resolve the issue without impacting the existing requirements?
Options
- ACreate customer groups for desktop and mobile users and uh remote includes based on these
- BCreate customer groups for desktop and mobile users and empty promotions linked to these
- CDisable caching for these pages to ensure that the correct template is used to render the mobile
- DChange the URL structure to include desktop and mobile as URL parameters to ensure different
How the community answered
(23 responses)- A74% (17)
- B13% (3)
- C4% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.