




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This exam preparation guide equips developers with the technical knowledge required to design, customize, and deploy B2B commerce solutions using Episerver Commerce Cloud. Topics include catalog management, pricing models, contract-based purchasing, integrations, APIs, security, and performance optimization. The guide combines conceptual explanations, implementation scenarios, and exam-style questions tailored to enterprise B2B commerce environments.
Typology: Exams
1 / 104
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. In Optimizely B2B Commerce, which layer is primarily responsible for handling HTTP requests and routing them to the appropriate handlers? A) Database Layer B) Application Layer C) Front‑end Layer D) Integration Layer Answer: B Explanation: The Application Layer contains the ASP.NET MVC/Web API controllers that receive HTTP requests and forward them to the handler pipeline. Question 2. Which of the following best describes the purpose of the multi‑tenant architecture in B2B Commerce? A) To allow multiple customers to share the same product catalog without isolation B) To isolate each organization’s data while sharing the same code base and infrastructure C) To enable single‑sign‑on across unrelated platforms D) To duplicate the entire database for each tenant Answer: B Explanation: Multi‑tenant architecture provides data isolation per organization while using a shared application and infrastructure, reducing overhead. Question 3. Which technology stack component is NOT a core part of the Optimizely Cloud environment for B2B Commerce? A) .NET Core
C) MySQL D) SQL Server Answer: C Explanation: Optimizely B2B Commerce runs on .NET, C#, and SQL Server; MySQL is not part of the standard stack. Question 4. In a typical B2B Commerce solution, which front‑end framework is officially supported for building custom storefronts? A) Vue.js B) Angular C) Ember.js D) Backbone.js Answer: B Explanation: Optimizely provides SPA templates and tooling for Angular (and also React via Spire), making Angular an officially supported front‑end framework. Question 5. Which pattern does Optimizely use to process business logic for a request such as “Add to Cart”? A) Repository Pattern B) Handler Pattern C) Singleton Pattern
Answer: B Explanation: Ship‑To addresses are defined at the Organization level, allowing multiple delivery locations per account. Question 8. Which user role typically has the authority to approve a purchase order exceeding a predefined limit? A) Buyer B) Approver C) Administrator D) Guest Answer: B Explanation: Approvers are assigned spending limits and can approve orders that exceed the buyer’s limit. Question 9. In product catalog management, which attribute type allows values to be selected from a predefined list? A) Free‑text attribute B) Numeric attribute C) Enum attribute D) Date attribute Answer: C Explanation: Enum attributes present a list of possible values for selection, useful for options like color or size.
Question 10. To create a relationship where a product is suggested as an upgrade, which relationship type should be used? A) Cross‑sell B) Up‑sell C) Related product D) Bundle Answer: B Explanation: Up‑sell relationships indicate a higher‑priced or more feature‑rich alternative to the current product. Question 11. Which component in B2B Commerce stores inventory quantities for each warehouse? A) Product Catalog B) Stock Keeping Unit (SKU) entity C) Warehouse entity D) Inventory Transaction Answer: C Explanation: The Warehouse entity tracks stock levels per SKU, enabling inventory allocation across multiple locations. Question 12. Contract‑based pricing in B2B Commerce is primarily used for which scenario?
C) At order validation before submission D) After payment processing Answer: C Explanation: The pricing engine validates quantity breaks during order validation to apply the correct unit price. Question 15. In the handler pipeline, which method is called first when a request is processed? A) ExecuteAsync B) PreExecute C) Initialize D) Handle Answer: C Explanation: The Initialize method sets up context before any business logic runs, making it the first call in the pipeline. Question 16. To modify the default behavior of the “Add to Cart” handler without altering the core code, you should: A) Fork the entire repository B) Add a new handler to the chain before the original one C) Edit the web.config file D) Change the database stored procedure
Answer: B Explanation: Adding a custom handler before the original allows you to inject or replace logic while preserving core functionality. Question 17. The Pipe pattern in Optimizely is primarily used for: A) Logging events B) Transforming data between stages C) Managing user authentication D) Scheduling background jobs Answer: B Explanation: Pipes process and transform data as it moves through the pipeline, enabling reusable transformations. Question 18. Which built‑in container does Optimizely use for Dependency Injection? A Unity B Autofac C Ninject D Microsoft.Extensions.DependencyInjection Answer: D Explanation: Optimizely leverages the Microsoft.Extensions.DependencyInjection container for DI throughout the platform.
B) Create reusable page templates C) Configure API endpoints D) Manage user roles Answer: B Explanation: Blueprints are reusable page structures that can be overridden or extended for specific pages. Question 22. When developing a custom widget for Classic CMS, which file type defines its rendering logic? A .cshtml B .js C .css D .xml Answer: A Explanation: Classic CMS widgets use Razor (.cshtml) files to render HTML on the server side. Question 23. Styled Components in the B2B framework are used for: A) Server‑side caching B) Defining CSS in JavaScript C) Managing database migrations D) Configuring API routes
Answer: B Explanation: Styled Components allow you to write CSS directly inside JavaScript/React components, enabling scoped styling. Question 24. Which Storefront API endpoint is used to retrieve a list of available products for a given catalog? A GET /api/catalogs/{catalogId}/products B POST /api/orders C PUT /api/cart/items D DELETE /api/users/{id} Answer: A Explanation: The GET endpoint under /api/catalogs returns product data for the specified catalog. Question 25. To secure Storefront API calls, which authentication method is recommended? A Basic Auth with username/password B API Key in query string C OAuth 2.0 Bearer Token D IP whitelist only Answer: C Explanation: OAuth 2.0 bearer tokens provide a robust, token‑based authentication mechanism for API calls.
C GraphQL D FTP Answer: A Explanation: PunchOut catalogs exchange cXML over SOAP to integrate with buyer procurement systems. Question 29. A webhook that triggers an external system when an order status changes to “Shipped” should be configured on which event? A OrderCreated B OrderSubmitted C OrderStatusChanged D PaymentAuthorized Answer: C Explanation: The OrderStatusChanged event fires whenever the order’s status is updated, allowing webhook execution on “Shipped”. Question 30. Which of the following best describes the “Request for Quote” (RFQ) workflow? A Immediate order placement with no approval B Customer submits a quote request; admin reviews and returns a price
C Automatic price calculation based on contract pricing D Cart is cleared after submission Answer: B Explanation: In an RFQ workflow, the buyer submits a request, and a sales representative provides a tailored quote before the order is placed. Question 31. In B2B Commerce, what is the primary purpose of an “Approval Workflow”? A To calculate tax automatically B To enforce spending limits before order submission C To generate shipping labels D To synchronize inventory with ERP Answer: B Explanation: Approval workflows ensure orders exceeding a user’s limit are reviewed by an approver before finalization. Question 32. Which payment method is NOT natively supported in Optimizely B2B Commerce out of the box? A Credit Card B Purchase Order (PO) C Cryptocurrency D Account Receivable (AR) terms
Question 35. To view application logs for a production environment, which tool is recommended? A Visual Studio Debugger B Admin Console → Logs section C SQL Server Management Studio D Azure DevOps Pipelines Answer: B Explanation: The Admin Console provides access to server logs, enabling troubleshooting without needing direct file system access. Question 36. Which caching strategy reduces database load for product catalog data on the storefront? A Client‑side localStorage caching only B Server‑side in‑memory cache (e.g., MemoryCache) C Disabling all caching to ensure freshness D Caching only CSS files Answer: B Explanation: Server‑side in‑memory caching stores catalog data for quick retrieval, lowering database queries while still allowing cache invalidation. Question 37. When deploying a new version from Sandbox to Production, which process must be performed to ensure custom database schema changes are applied?
A Run a manual SQL script on Production B Use the “Migrate” command in the deployment pipeline C Delete the Production database and re‑import from Sandbox D No action needed; schema changes are automatic Answer: B Explanation: The deployment pipeline includes a migration step that applies Entity Extension and custom schema changes to the target environment. Question 38. Which of the following is a best practice for optimizing SQL queries used by the B2B Commerce platform? A Use SELECT * in all queries B Avoid indexing columns used in WHERE clauses C Leverage stored procedures and proper indexing D Store large JSON blobs in a single column Answer: C Explanation: Stored procedures and appropriate indexes improve query performance and reduce load on the database. Question 39. In the Optimizely DI container, which lifetime scope should be used for services that need a new instance per HTTP request? A Singleton B Transient
Answer: C Explanation: Custom pipes implement the generic IPipe interface, allowing them to be inserted into the pipe chain. Question 42. Which configuration file stores the order of handlers in the pipeline? appsettings.json handlers.config pipeline.config web.config Answer: C Explanation: pipeline.config defines the sequence of handlers for each request type. Question 43. In Spire CMS, how can a non‑technical content editor modify the text displayed on a product detail page? A Edit the Razor view file on the server B Change the widget’s property via the CMS editor C Deploy a new version of the front‑end SPA D Modify the SQL database directly Answer: B Explanation: Widgets expose editable properties that content editors can adjust through the CMS UI without code changes.
Question 44. Which of the following is NOT a valid way to retrieve data from the Storefront API in a React component? A Using fetch with async/await B Using Axios library C Directly accessing the database from the component D Using the built‑in useEffect hook to call the API Answer: C Explanation: React components should never access the database directly; they must call the Storefront API. Question 45. When configuring a Data Job to export order data nightly, which setting determines the file format? ExportType FileExtension DestinationProvider ExportFormat Answer: D Explanation: ExportFormat specifies whether the output is CSV, XML, JSON, etc. Question 46. Which of the following is a key benefit of using the Integration Processor for data mapping? A It eliminates the need for any custom code.