Commercetools

Commercetools is a cloud-based headless commerce platform that utilizes a microservices based architecture that powers the next-generation B2C and B2B commerce capabilities.

General Questions

  1. As per profile and experience, what questions do we ask?
  2. What questions are related to current roles and responsibilities?

Commercetools Basics

  1. What is an organization and a project, and how can we create them?
  2. When and where can we define currency, language, countries, zones?
  3. How do you restrict different teams and users for specific access to, for example, Products, Orders, Customers, etc., with options like read-only, edit, or both?
  4. What is an API client in commercetools, and where do you get the API client from?
  5. What is a builder in commercetools, and have you used this?
  6. What is the difference between category and product type?
  7. What is a Custom Object, and why do we use this?
  8. Do you know what a product projection is?
  9. How does product status work in commercetools?
  10. What is your experience with creating customizations or extensions in commercetools? What are API Extensions?
  11. What is your understanding of commercetools' API, and how do you interact with it in your development work?
  12. What do you know about the 'API Playground'? Where do you use this?
  13. How do you customize the API in commercetools?
  14. What is OAuth in commercetools, and where did you use this?

Product Management

  1. How do you handle product catalog management in commercetools?
  2. How do you create a product? Is it required to have a product type for creating a product?
  3. What is a master variant? Do you know what a saleable product is?
  4. How do you set up a product for a specific store? Product Selection?
  5. Write pseudo code for customer creation in case we have first name, last name, and email?

Pricing and Discounts

  1. How does price work in your project?
  2. How many types of prices are available to use?
  3. Do you know about Volume pricing and Tiered pricing?
  4. How would you approach implementing a complex pricing strategy in commercetools?
  5. Do you know how discounts work in commercetools? Can we apply, let's say, five product discounts to a product at any given time?

Order Management

  1. How does Order management work? How do you do Order Refund and cancellation?
  2. If we need to add an attribute for an order, what steps will you follow to do that?
  3. What are Frozen Carts, and when do we need this?

Payment

  1. Do you know how capture and authorize work in payment?

Shipping and Zones

  1. Can we create different shipping rates for different countries?
  2. Steps to create a shipping method in merchant center?
  3. How do you use predicates to define Shipping Method eligibility for Carts?
  4. What are Zones and countries, and how are they related?
  5. We have three countries to set up for shipping methods (Belgium, Germany, and Sweden). In this scenario, we have two currencies. Could you please explain how you would approach setting up the shipping rates?
  6. Is it mandatory to have a zone for any country?

Integration and Extensions

  1. Have you integrated commercetools with any third-party services or systems? If so, can you describe the integration process and any challenges you faced?
  2. What integrations have you worked on in commercetools?

Advanced Topics

  1. How will you implement the multi-country rollout in commercetools?
  2. Theoretical question: understanding of MACH architecture and other commerce-related topics?
  3. How do you decide which price to consider? Let's say we have to define 500 prices for one product variant and also, in some other requirement, we need to define 60k prices for a variant product?
  4. What are some strategies for handling large-scale data migration in commercetools?
  5. How do you ensure data consistency and integrity in a distributed microservices architecture like commercetools?
  6. Can you explain how you would implement a custom workflow for order processing in commercetools?
  7. What are some best practices for optimizing API performance in commercetools?
  8. How do you manage versioning and backward compatibility in commercetools APIs?
  9. What is composable commerce?
  10. Why is everyone talking about composable commerce?
  11. What are the 3 key benefits of composable commerce?
  12. Can composable commerce reduce complexity and costs for businesses?

Other Related Technical Questions

  1. What features and modules have you worked on, and what relevant questions are related to them?
  2. What is Composable Commerce?
  3. How do you set up a new commercetools application in Spring Boot?
  4. Let's say we want to develop an end-to-end service/page in Spring Boot. Please explain all the layers and the source files, methods, and annotations you will create.
  5. What is Mockito framework?
  6. How do you implement performance testing in a project?
  7. CI/CD pipeline experience and implementing a testing framework in the pipeline?
  8. If any service is having an issue, what steps do you follow to resolve the issue?
  9. How do you set up a new pipeline?
  10. Some basic questions on Java/Hybris, especially if they have less experience in commercetools and previous experience in Java/Hybris?

 

THE BACKBONE OF COMPOSABLE COMMERCE: MACH® ARCHITECTURE

Microservices-based: As granular and independent services, microservices make it easy to implement new features, touchpoints and more. 

API-first: Bridge the dialog between your frontends and a centralized backend with APIs. 

Cloud-native: Commerce services hosted in the cloud eliminate server dependencies while enabling automatic updates and auto-scaling. 

Headless commerce: Architecture that decouples customer-facing frontends from internal backend operations provides maximum flexibility and speed. 

 

What is composable commerce? 

Composable commerce is a component-based solution design approach that gives companies flexibility and freedom to build and run outstanding shopping experiences. A composable system combines three core traits: It should be cloud-native, component-based and tech-agnostic. 

 

Why is everyone talking about composable commerce? 

Traditional eCommerce solutions, also known as legacy or monolithic platforms, are indivisible blocks of standardized software that are hard to customize and slow to update. 

Every time you change or update something, the entire system must be retested and redeployed, which may cause issues or even a complete system crash. 

This inherent lack of flexibility and agility doesn’t compute at today’s accelerated pace; consequently, companies struggle to innovate and even hire and retain talent (unsurprisingly, top engineers aren’t eager to work with old technologies). 

Plus, the cost of running monolithic infrastructures has become prohibitive due to additional fees for upgrades, integrations, etc.

 

What are the 3 key benefits of composable commerce? 

True composable commerce provides businesses of any size or industry with three main benefits:

Benefit #1- Infinite scale: 

You can run multiple brands, expand to new markets, bring in new channels and even try out business models with ease. Also, autoscaling enables you to respond to new influxes of traffic and customers in real-time, so your business is ready to monetize on Black Friday-like moments. 

Benefit #2 — Unlimited flexibility and agility: 

Change a component, not the platform. When something doesn’t work, you can easily replace it or drop it. Composable commerce is all about freedom and adaptability: With modular iterations and best-of-breed, you can add, remove or switch functionalities without vendor lock-in. Innovate faster and adapt customer experiences on the fly, and release new features up to 8x faster than legacy tech. 

Benefit #3 — Lower cost: 

When you invest in financial and technological flexibility, you achieve higher cost efficiency and eliminate technical debt. A true composable system optimizes commerce investment because you can select the components and solutions that meet your requirements. With a versionless solution, you no longer have to pay for forced upgrades you don’t need or that don’t drive value for your business. You can effectively say goodbye to maintenance fees and backward compatibility testing, too. 

 

Can composable commerce reduce complexity and costs for businesses? 

As the composable approach is a relatively new technology, it’s common for executives and tech professionals to express misconceptions surrounding complexity and high costs. 

These concerns stem from the misperception that implementing best-of-breed solutions would result in an overwhelming number of vendors, as well as compatibility and interoperability issues. 

Another worry is whether composability requires a large team of developers, which could incur additional personnel, recruitment and training expenses. 

However, composable commerce is actually able to reduce complexity and costs: 

Simplified commerce architecture: By leveraging modular and interchangeable components, composable commerce makes the architecture easier to manage and maintain. 

Seamless integration: The adoption of new cutting-edge solutions, such as search and AI tools, becomes faster and more efficient without incurring additional integration costs. 

Real-time updates and maintenance: True composable systems are versionless and continuously updated and maintained in real-time, which eliminates technical debt and renders version upgrades obsolete. 

Scalability: With a cloud-native SaaS solution, businesses no longer need to manage their own servers or handle capacity increases. The system offers infinite scalability to handle a large number of products or increased online traffic. 

Increased developer productivity: Working with modern tech means developers become more productive, enabling the company to innovate at a faster pace. 

An ecosystem of composable commerce vendors: Vendors like commercetools offer extensive partner networks and accelerators that simplify implementation timelines and enable businesses to leverage best practices. 

These advantages of composable commerce alleviate complexity and costs, providing businesses with a more streamlined and efficient approach to their commerce operations.

Introduction and company’s capabilities



SAP Commerce is a highly flexible, full-featured, and extensible library of tools for building unique commerce experiences.

Its flexibility comes from an architecture that incorporates several layers of abstraction and a modularized feature set.

 

 







Top Interview Hybris Frequently Asked Questions

Most Common Questions

  1. What do you understand by SAP Hybris Cloud for Customer?
  2. What do you understand by Hybris Modeling?
  3. What is the order of items.xml?
  4. How to specifies dependencies of project?
  5. Where to add required extensions?
  6. How to create extensions?
  7. What is Initialization in Hybris?
  8. Difference between Collection and relation?
  9. Difference between type and item?
  10. When you can’t use a deployment table?
  11. What types of relations are required a deployment table?
  12. Why do you need to use a deployment table?
  13. What is difference between B2B and B2C in hybris?
  14. What and steps to write a cronjob?
  15. What is the Indexing in Hybris?
  16. How do we Index in Hybris?
  17. What is difference between addon and extension?
  18. Define AddOns with drawbacks?
  19. What is the difference between hmc and hac?
  20. Define Extension Template and how to add a custom template?
  21. Explain interceptor in hybris?
  22. Life cycle of model?
  23. How to customize backoffice?
  24. Steps for WCMS?
  25. What is write and read attribute in items.xml?
  26. Explain populator and convertor?
  27. What is cockpit?
  28. How many types of cockpit available in hybris?
  29. Expalin quote flow?
  30. How can you configure solr?
  31. How to index in slor?
  32. How to implement hot folder?
  33. What do you understand by Hybris Promotion management?
  34. How to add new custom promotion?
  35. What is PLP and PDP means? Why it is important?
  36. What is business process in hybris?
  37. Explain catalog aware itemType?
  38. How do you create a workflow rule in SAP Hybris?
  39. What are the differences between Process Engine and Task Engine?
  40. Explain the email functionality in hybris?
  41. What is the default URL to access the Backoffice?
  42. What is impex?
  43. How do you know the version of Hybris that you have in your machine?
  44. What action do we need to perform to see the staged catalog information in the online storefront? Explain the steps.
  45. How do we create a new user from the back office?
  46. What are the Accelerator ready stores that we have in Hybris?
  47. What is headless architecture?
  48. Explain OCC?
  49. What is CCV2 ?
  50. Explian any one integration that you worked?
  51. How to integrate payment integration?
  52. What is MVC architecture?
  53. What is junit?
  54. What is agile?
  55. What is scrum?

Advanced Tricky Questions:

  1. What is difference between relation type and collection type? Which one is best to use?
  2. How to abort the cronjob?

Scenario: Sometimes we face a situation where we need to stop/abort a running cronjob, whether because is taking a lot of time or it was executed with the wrong parameters.

Unfortunately, cronjobs are not abortable by default then tell me how to do this.

  1. How can you access the Product Cockpit Management from the Back-office?
  2. How Can I Get More Information on Why an ImpEx Script Doesn't Work?
  3. How to migrate the data from one system to another?
  4. How to add a new field and change the logo for the backoffice?
  5. Have you ever done any backoffice customizations? How to do that?
  6. Requirement is to send out emails from a cron job on a successful execution of a logic - How to do it?
  7. How the authentication works in OOTB?
  8. How authentication and OCC are related?
  9. How can you design a webservice - explain it from end to end for each steps?
  10. Tell me the steps to design a new Custom Component in WCMS?
  11. How to index a localized attribute of a product?
  12. How is session managed in Hybris?
  13. What are the Hybris/SAP Commerce cloud recommended steps for a versions upgrade?
  14. How session is maintained in OCC at Hybris?
  15. Requirement is to insert 5000 rows, how to run an insert in an asynchronous manner?
  16. How to customize the price?
  17. How to implement the custom promotion?
  18. Tell me the steps to implement a new field in the cart page like a custom promotion?
  19. There are a requirement for a new country rollout for multi country so tell all the steps and design you need to write for the developers?
  20. What and all command is getting used for payment from hybris to third party?
  21. What and all interceptor available in hybris and why do we use interceptor?
  22. How many ways to load let say product in the hybris? Like hot folder how many other ways we can do this?
  23. How to make common functionality for all the country and how to do specific funtionality for one country?

Module-wise FAQs

SAP Hybris Cloud for Customer

·       Overview and key features

·       Use cases and benefits

·       Integration with other SAP products

·       FAQs:

o   What are the key benefits of using SAP Hybris Cloud for Customer?

o   How does SAP Hybris integrate with other SAP products?

o   What are the main features of SAP Hybris Cloud for Customer?

o   Can SAP Hybris Cloud for Customer be customized?

o   What are some common use cases for SAP Hybris Cloud for Customer?

o   How does SAP Hybris Cloud for Customer improve customer engagement?

Hybris Modeling

·       Understanding the modeling process

·       Key components of Hybris modeling

·       Best practices for effective modeling

·       FAQs:

o   What are the essential components of Hybris modeling?

o   How do you start the modeling process in Hybris?

o   What are some best practices for effective modeling?

o   How can you ensure the accuracy of your Hybris models?

o   What tools are available for Hybris modeling?

o   How do you troubleshoot modeling issues in Hybris?

Extensions and Add-ons

·       Difference between extensions and add-ons

·       Creating and managing extensions

·       Benefits and drawbacks of add-ons

·       FAQs:

o   How do extensions differ from add-ons in Hybris?

o   What are the steps to create an extension in Hybris?

o   What are the benefits of using extensions over add-ons?

o   How do you manage extensions in Hybris?

o   What are the common drawbacks of using add-ons?

o   Can extensions and add-ons be used together in Hybris?

Impex and Data Management

·       What is Impex and its purpose

·       Using Impex for data import/export

·       Best practices for data management

·       FAQs:

o   What is the purpose of Impex in Hybris?

o   How can Impex be used for data import and export?

o   What are the best practices for data management in Hybris?

o   How do you troubleshoot Impex import/export issues?

o   Can Impex be automated in Hybris?

o   What are the common use cases for Impex in data management?

Converters and Populators

·       Role of converters and populators

·       Implementing custom converters and populators

·       Use cases and examples

·       FAQs:

o   What are converters and populators in Hybris?

o   How do you implement custom converters and populators?

o   What are some use cases for converters and populators?

o   How do you troubleshoot issues with converters and populators?

o   Can converters and populators improve data handling in Hybris?

o   What are the best practices for using converters and populators?

Solr and Indexing

·       Importance of indexing in Hybris

·       Configuring and using Solr

·       Indexing strategies and best practices

·       FAQs:

o   Why is indexing important in Hybris?

o   How can Solr be configured and used effectively?

o   What are the best practices for indexing in Hybris?

o   How do you troubleshoot Solr indexing issues?

o   What are the common indexing strategies in Hybris?

o   Can indexing improve the performance of Hybris applications?

Promotions and Pricing

·       Understanding promotion management

·       Implementing custom promotions

·       Pricing strategies and customizations

·       FAQs:

o   How does promotion management work in Hybris?

o   What are some strategies for customizing pricing?

o   How can you implement custom promotions in Hybris?

o   What are the best practices for promotion management?

o   How do you troubleshoot issues with promotions and pricing?

o   Can pricing strategies be automated in Hybris?

Workflows and Business Processes

·       Defining workflows and business processes

·       Process Engine and Task Engine

·       Customizing workflows and processes

·       FAQs:

o   What are the key components of workflows and business processes in Hybris?

o   How can workflows be customized in Hybris?

o   What is the Process Engine and how is it used?

o   How do you troubleshoot workflow issues in Hybris?

o   What are the best practices for defining business processes?

o   Can workflows be automated in Hybris?

Integrations and Web Services

·       Payment integrations

·       Third-party integrations

·       Designing and implementing web services

·       FAQs:

o   What are the common payment integrations used in Hybris?

o   How are web services designed and implemented in Hybris?

o   What are the best practices for third-party integrations?

o   How do you troubleshoot integration issues in Hybris?

o   Can web services be customized in Hybris?

o   What security measures should be considered for integrations?

Authentication and Security

·       Authentication mechanisms in Hybris

·       Securing Hybris applications

·       Best practices for security and access control

·       FAQs:

o   What authentication mechanisms are available in Hybris?

o   How can you secure Hybris applications?

o   What are the best practices for security and access control in Hybris?

o   How do you troubleshoot security issues in Hybris?

o   Can authentication mechanisms be customized in Hybris?

o   What are the common vulnerabilities in Hybris and how can they be mitigated?

Customizations and Enhancements

·       Customizing the backoffice

·       Enhancing WCMS functionality

·       Best practices for customizations

·       FAQs:

o   How can the Hybris backoffice be customized?

o   What are some best practices for Hybris customizations?

o   How do you enhance WCMS functionality in Hybris?

o   What are the common customization options in Hybris?

o   How do you troubleshoot customization issues?

o   Can customizations impact the performance of Hybris applications?

Performance and Scalability

·       Indexing strategies for performance

·       Scaling Hybris applications

·       Performance optimization techniques

·       FAQs:

o   What are some strategies for optimizing Hybris performance?

o   How can Hybris applications be scaled effectively?

o   What are the best practices for performance optimization in Hybris?

o   How do you troubleshoot performance issues in Hybris?

o   Can indexing strategies improve performance?

o   What tools are available for performance monitoring in Hybris?

Upgrades and Migrations

·       Upgrading Hybris versions

·       Migrating data and configurations

·       Best practices for upgrades and migrations

·       FAQs:

o   What are the steps involved in upgrading Hybris versions?

o   What are some best practices for migrating data and configurations?

o   How do you troubleshoot upgrade issues in Hybris?

o   Can data migrations be automated in Hybris?

o   What are the common challenges during upgrades and migrations?

o   How do you ensure data integrity during migrations?

Testing and Quality Assurance

·       Unit testing in Hybris

·       Integration and end-to-end testing

·       Quality assurance strategies

·       FAQs:

o   What are the best practices for unit testing in Hybris?

o   How can integration and end-to-end testing be effectively performed in Hybris?

o   What are the common quality assurance strategies in Hybris?

o   How do you troubleshoot testing issues in Hybris?

o   Can testing be automated in Hybris?

o   What tools are available for quality assurance in Hybris?