

































































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
Tailored for developers working with Optimizely B2B Commerce Cloud. Covers customer-specific pricing, contract management, quoting systems, PunchOut integration, B2B account management, workflow customization, and advanced catalog handling for large enterprises. Test-takers are evaluated on B2B API usage, architecture planning, ERP integrations, multi-storefront design, and performance tuning for large B2B catalogs.
Typology: Exams
1 / 73
This page cannot be seen from the preview
Don't miss anything!


































































Question 1. Which tool is required to develop Optimizely B2B Commerce extensions on Windows? A) Visual Studio Code B) Visual Studio 2022 C) Notepad++ D) Eclipse Answer: B Explanation: Visual Studio 2022 (or later) provides the .NET tooling, debugging, and project templates required for Optimizely B2B Commerce development. Question 2. In a local Configured Commerce solution, which file holds the database connection string for the development environment? A) appsettings.Development.json B) web.config C) launchSettings.json D) settings.json Answer: A Explanation: The connection strings for each environment are stored in appsettings.{Environment}.json; the Development file is used when running locally. Question 3. Which Azure service is typically used to host the Optimizely B2B Commerce web application in production? A) Azure Functions B) Azure App Service C) Azure Kubernetes Service D) Azure Blob Storage Answer: B Explanation: Azure App Service provides a managed PaaS environment for ASP.NET Core applications, matching the platform’s deployment model. Question 4. What is the primary purpose of deployment slots in Azure App Service? A) To run multiple versions of the same site simultaneously
B) To store static assets C) To manage database migrations D) To host background tasks Answer: A Explanation: Deployment slots allow staging, testing, and swapping of different site versions without downtime. Question 5. Which component of the Configured Commerce solution contains the pipeline definitions? A) Presentation Layer B) Application Layer C) Infrastructure Layer D) Core Layer Answer: B Explanation: Pipelines are defined in the Application/Service layer where business logic resides. Question 6. In the pipeline framework, what is a “handler”? A) A UI controller B) A class that processes a pipeline step C) A database entity D) An authentication token Answer: B Explanation: Handlers implement the logic for a specific pipeline block and are invoked in order during execution. Question 7. Which principle describes the relationship between the API layer and the service layer? A) Tight coupling B) Separation of concerns C) Monolithic design D) Direct database access Answer: B
Question 11. Which ORM is used by Optimizely B2B Commerce for data access? A) Dapper B) NHibernate C) Entity Framework Core D) LINQ to SQL Answer: C Explanation: EF Core provides the code-first and database-first capabilities used throughout the platform. Question 12. To add a custom field “ManufacturerPartNumber” to the Product entity, which attribute should be applied? A) [CustomProperty] B) [Index] C) [EntityProperty] D) [Display] Answer: C Explanation: The [EntityProperty] attribute marks a property as part of the data model, enabling EF mapping and indexing. Question 13. When creating a new custom entity “Supplier”, which step is mandatory? A) Adding a table manually in SQL Server B) Defining a POCO class that inherits from Entity C) Registering the entity in Startup.cs only D) Creating a view model for the UI Answer: B Explanation: Custom entities must inherit from Entity to be recognized by the platform’s data infrastructure. Question 14. Which practice helps maintain compatibility when extending data models? A) Directly modifying the core database schema B) Using Extension tables via the EntityExtension pattern
C) Adding columns to the dbo.Product table without migrations D) Removing unused navigation properties Answer: B Explanation: The EntityExtension pattern stores custom fields in separate tables, avoiding core schema changes. Question 15. Which file format is natively supported by the built-in import/export framework for product data? A) XML only B) CSV only C) JSON and CSV D) Binary protobuf Answer: C Explanation: The framework provides import/export adapters for both CSV and JSON files. Question 16. To create a custom importer that reads data from an external API, which interface must be implemented? A) IImporter B) IDataImporter C) IImportHandler D) IImportPipelineBlock Answer: D Explanation: Custom import logic is added as a pipeline block implementing IImportPipelineBlock. Question 17. Which technique improves performance when importing millions of records? A) Using Entity Framework’s SaveChanges() after each record B) Disabling change tracking and using bulk insert C) Importing synchronously on the UI thread D) Storing data in temporary tables only Answer: B
A) Boolean B) List C) Swatch D) Text Answer: C Explanation: The Swatch attribute type renders visual color selections. Question 22. When the search index is rebuilt, which pipeline is invoked? A) CatalogRebuildPipeline B) SearchIndexPipeline C) IndexingPipeline D) ReindexPipeline Answer: B Explanation: SearchIndexPipeline handles the transformation of entities to searchable documents. Question 23. To include a custom field “EcoScore” in the search index, you must: A) Add the field to the Product table only B) Register a custom DocumentMapper for the product entity C) Modify the UI view model only D) Change the connection string Answer: B Explanation: The DocumentMapper determines which properties are indexed; extending it adds custom fields. Question 24. Which pipeline block would you customize to change the way product data is transformed into a search document? A) TransformProductToSearchDocumentBlock B) MapProductToDtoBlock C) IndexProductBlock D) BuildSearchDocumentBlock Answer: D
Explanation: BuildSearchDocumentBlock handles the conversion of entities to search documents. Question 25. In B2B, which role typically has permission to approve purchase orders? A) Guest B) Buyer C) Approver D) Administrator Answer: C Explanation: The Approver role is designed for order approval workflows in B2B scenarios. Question 26. Which security group controls access to the “Admin Console” for configuration? A) Everyone B) SiteAdmins C) ContentEditors D) Marketing Answer: B Explanation: SiteAdmins have rights to the administration UI. Question 27. How does the platform store password hashes for B2B users? A) Plain text in the database B) MD5 hash in a custom table C) ASP.NET Core Identity hash using PBKDF D) Encrypted with a reversible key Answer: C Explanation: The platform uses ASP.NET Core Identity’s secure hashing algorithm (PBKDF2). Question 28. Which pipeline is executed when a new B2B user registers? A) CustomerRegistrationPipeline B) UserCreationPipeline
Question 32. To inject custom logic during customer login, which pipeline should you extend? A) CustomerLoginPipeline B) AuthenticationPipeline C) SignInPipeline D) UserValidationPipeline Answer: A Explanation: CustomerLoginPipeline runs after credential validation and before the session is created. Question 33. PunchOut integration primarily uses which standard for data exchange? A) SOAP 1. B) cXML (Commerce XML) C) REST/JSON D) EDI X Answer: B Explanation: cXML is the industry-standard protocol for PunchOut between buyers and suppliers. Question 34. Which component of the platform handles the transformation of a PunchOut request into a cart? A) PunchOutRequestHandler B) CartBuilderPipeline C) PunchOutCartPipeline D) OrderImportPipeline Answer: C Explanation: PunchOutCartPipeline creates a cart from the incoming cXML request. Question 35. When adding a line item programmatically, which service is appropriate? A) ICartService
B) IOrderService C) ILineItemRepository D) IShoppingCartFacade Answer: A Explanation: ICartService provides methods to add, update, and retrieve line items. Question 36. To apply a custom shipping fee based on the total weight, where should the logic be placed? A) In a controller action B) In a checkout pipeline block after CalculateShippingBlock C) In the database trigger D) In the UI view model Answer: B Explanation: Checkout pipeline blocks allow manipulation of shipping calculations before final order creation. Question 37. Which block is responsible for validating the cart before checkout begins? A) ValidateCartBlock B) CartVerificationBlock C) CheckoutPreconditionBlock D) CartIntegrityBlock Answer: A Explanation: ValidateCartBlock runs early in the checkout pipeline to ensure cart integrity. Question 38. When integrating a third-party ERP for order submission, which pipeline is ideal for sending the order data? A) OrderSubmissionPipeline B) OrderExportPipeline C) OrderSyncPipeline D) OrderFinalizePipeline Answer: B
Question 42. What is the purpose of a “price list” in Optimizely B2B Commerce? A) To store promotional codes only B) To define a set of prices applicable to a specific customer segment or account C) To manage inventory thresholds D) To configure tax rates Answer: B Explanation: Price lists map products to custom prices for particular accounts or segments. Question 43. Which entity links a promotion rule to a promotion action? A) PromotionRuleActionMap B) PromotionCondition C) PromotionTrigger D) PromotionComponent Answer: A Explanation: The mapping entity defines which rule triggers which action. Question 44. To create a custom promotion rule that gives a discount when the order total exceeds $10,000, you must implement: A) IDiscountRule B) IPromotionRule C) IPriceRule D) IOrderCondition Answer: B Explanation: IPromotionRule is the contract for evaluating promotion eligibility. Question 45. Which service is used to retrieve the current user’s effective price list? A) IPriceListService B) ICustomerPricingService C) IEffectivePriceService D) IAccountPriceService
Answer: A Explanation: IPriceListService resolves the appropriate price list for the logged-in user. Question 46. In the presentation layer, which framework is primarily used for UI rendering? A) AngularJS B) ASP.NET Core MVC with Razor C) React Native D) Vue.js Answer: B Explanation: Optimizely B2B Commerce uses ASP.NET Core MVC and Razor views for server-side rendering. Question 47. To override a default controller action, you should: A) Edit the original controller file directly B) Create a derived controller and register it via DI with higher priority C) Use JavaScript to intercept the request D) Modify the route table only Answer: B Explanation: Overriding through inheritance and DI ensures the platform picks the custom implementation. Question 48. Which folder typically contains theme assets such as CSS and JavaScript? A /src/Infrastructure/Assets B /src/Presentation/Views/Shared C /src/Presentation/Assets D /src/Domain/Resources Answer: C Explanation: The Assets folder under Presentation holds static files for theming.
C) The database schema only D) The routing table Answer: B Explanation: The facet must be indexed (mapper) and then exposed via the front-end facet configuration. Question 53. Which block determines the order of relevance scoring for search results? A) RankSearchResultsBlock B) SearchScoringBlock C) RelevanceEngineBlock D) SortSearchResultsBlock Answer: A Explanation: RankSearchResultsBlock applies the relevance algorithm after the query is executed. Question 54. In the pricing engine, which concept represents a rule that applies only to a specific customer segment? A) Price Tier B) Segment Pricing Rule C) Discount Coupon D) Volume Discount Answer: B Explanation: Segment Pricing Rule ties pricing adjustments to defined customer segments. Question 55. Which Azure feature helps scale the search service under high query load? A) Azure Functions Autoscale B) Azure Search Service with multiple replicas C) Azure Blob CDN D) Azure Logic Apps Answer: B
Explanation: Adding replicas to Azure Search distributes query load and improves latency. Question 56. Which of the following is NOT a recommended practice for improving platform performance? A) Caching catalog data in Redis B) Disabling EF Core tracking for read-only queries C) Storing large binary files directly in the product table D) Using async/await for I/O operations Answer: C Explanation: Large binaries should be stored in a CDN or Blob storage, not in relational tables. Question 57. What does the “Content Delivery Network (CDN)” primarily improve for the storefront? A) Database transaction speed B) Static asset load times for end users C. API authentication latency D. Background task scheduling Answer: B Explanation: CDNs cache static files (CSS, JS, images) closer to the user, reducing load times. Question 58. Which security header should be added to all responses to mitigate click-jacking? A) X-Content-Type-Options B) X-Frame-Options C) Strict-Transport-Security D) Content-Security-Policy Answer: B Explanation: X-Frame-Options prevents the site from being embedded in unauthorized iframes.
Answer: A Explanation: The built-in [RequireHttps] attribute forces HTTPS for the decorated action. Question 63. When a custom background task fails, the platform retries it how many times by default? A) 0 B) 1 C) 3 D) Unlimited Answer: C Explanation: The scheduler retries three times before marking the task as failed. Question 64. Which of the following is a valid way to expose a custom service to the front-end via GraphQL? A) Adding a new controller method B) Implementing IGraphQLResolver and registering it in the schema builder C) Using a static JavaScript file D) Modifying the appsettings.json file Answer: B Explanation: GraphQL resolvers are implemented via IGraphQLResolver and integrated into the schema. Question 65. In the order pipeline, which block is responsible for allocating inventory? A) AllocateInventoryBlock B) InventoryReservationBlock C) StockDeductionBlock D) OrderFulfillmentBlock Answer: B Explanation: InventoryReservationBlock reserves stock before the order is finalized.
Question 66. To prevent duplicate order submissions caused by a user refreshing the checkout page, you should: A) Disable the browser back button B) Implement an idempotency token on the checkout request C) Use client-side caching only D) Increase the session timeout Answer: B Explanation: Idempotency tokens ensure that repeated submissions are ignored after the first successful request. Question 67. Which configuration setting controls the maximum number of items allowed in a cart? A) Cart.MaxItemCount B) ShoppingCart.ItemLimit C) CartSettings.MaximumItems D) CartOptions.MaxLines Answer: C Explanation: CartSettings.MaximumItems is the platform’s setting for this limit. Question 68. What is the purpose of the CatalogImportPipeline? A) To export catalog data to CSV B) To import product data from external sources into the catalog C) To rebuild the search index after catalog changes D) To synchronize inventory levels Answer: B Explanation: The pipeline processes incoming product feeds and creates/updates catalog entities. Question 69. Which attribute is used to mark a property as searchable in the index? A) [Searchable] B) [Indexed] C) [FullText]