CT Exam Final 2 Oct PDF

Summary

This document contains a commercetools exam with questions and answers on topics including CloudEventsFormat, updating products, and adding billing addresses. The questions cover various aspects of the commerce platform, including API interactions, data model elements, and practical implementation scenarios within the commercetools environment. The questions are multiple choice and True/False format.

Full Transcript

1. All Subscription payloads for CloudEventsFormat have a resource field which is a reference to the resource that triggered the message. Select one: True False Ans: True 2. What is the relationship between filter.query and the resulting facets? Select one: a. filter.query acts...

1. All Subscription payloads for CloudEventsFormat have a resource field which is a reference to the resource that triggered the message. Select one: True False Ans: True 2. What is the relationship between filter.query and the resulting facets? Select one: a. filter.query acts only on the facets, not the query results. b. filter.query is applied to the query results during the facet calculation. c. filter.query is applied to the query results before facets have been calculated. d. filter.query is applied to the query results after facets have been calculated. Ans: c 3. Suppose you have a cart with version = 100. If one or more line items are added to that cart, what is true of the version number after the successful update? Select one: a. version >= 101 b. version = 101 c. version = 100 d. version >= 100 Ans: a 4. How can you retrieve the credentials of an existing API client? Question 4Select one: a. Client credentials can be retrieved by contacting Support b. Client credentials are accessible from IMPEX, using settings endpoint c. Client credentials are accessible from Developer settings in the Merchant Center d. Client credentials are accessible only at the time you create it Ans: d 5. What is true about the Missing Data endpoint in Machine Learning API? Select one: a. Allows you to query for and update missing data b. Can be used to implement auto-complete functionality c. This feature is part of the Product Projections Search d. Can be used to query for products found to be missing Attributes, Images, and Prices Ans: d 6. You want to add an attribute to your Product Type to refer to Custom Objects. Which type of reference will you use? Select one: a. product b. external-data c. key-value-document d. custom-object Ans: c 7. What is the correct way to update a product key in the Java SDK? Select one: a. ProductUpdateBuilder.of().version(product.getVersion()).actions( ProductSetKey.of().key("new-product-key").build() ).build() b. ProductUpdateBuilder.of().version(product.getVersion()).actions( ProductSetKeyActionBuilder.of().key("new-product-key").build() ).build() c. ProductUpdateBuilder.of().version(product.getVersion()).actions( ProductChangeKeyActionBuilder.of().key("new-product-key").build() ).build() d. ProductUpdateBuilder.of().version(product.getVersion()).keyUpdateActionBuilder.of().key("new-product-key").build().build() Ans: b 8. What is the correct way to add a billing address to an existing order? Order order = …; Address address = …; apiRoot.orders().withId(order.getId()).post( ) Select one: a. OrderUpdateBuilder.of().version(order.getVersion()).actions( OrderSetBilling.of().address(address).build() ).build() b. OrderUpdateBuilder.of().version(order.getVersion()).actions( OrderSetBillingAddressActionBuilder.of().address(address).build() ).build() c. OrderUpdateBuilder.of().version(order.getVersion()).actions( AddressSetBillingForOrderActionBuilder.of().order(order.getId).build() ).build() d. OrderUpdate.of(order(address)) Ans: b 9. By default, what is the maximum number of Product Discounts that can be active at the same time? Select one: a. 50 b. 200 c. 500 d. Unlimited Ans: c 10. How would you prepare the deletion of a lineItem from a given cart? Select one: a. cart.setQuantityOfLineItemById(lineItem.getId(), 0) b. CartUpdateBuilder.of().version(cart.getVersion()).actions( CartRemoveLineItemActionBuilder.of().lineItemId(lineItem.getId()).build() ).build() c. CartUpdateBuilder.of().version(cart.getVersion()).actions( CartLineItemDeleteActionBuilder.of().lineItemId(lineItem.getId()).build() ).build() d. cart.getLineItems().removeById(lineItem.getId()) Ans: b 11. The key for a project can be updated in the Merchant Center. True or false? Select one: a. TRUE b. FALSE Ans: b 12. What is the purpose of the in production project flag? Select one: a. Projects with in production flag set are granted more data storage b. Changing the in production flag allows you to switch between dev and prod environments c. Projects with in production flag set receive higher quality support d. Projects with in production flag set are covered by the SLA Ans: c 13. After receiving a successful response from an update action, the change as reflected in a product projection search would be strongly consistent. True or false? Select one: a. TRUE b. FALSE Ans: b 14. Which of the following classes is returned by any commercetools ApiMethod.execute()-call to support asynchronous processing? Select one: a. commercetools does not support asynchronous processing b. java.util.concurrent.CompletableFuture c. java.util.concurrent.CompletionStage d. java.util.concurrent.Future Ans: b 15. Which of the following is NOT used to extend the data model in commercetools? Select one: a. Custom Objects b. API Extensions c. Types d. Custom Fields Ans: b 16. Trivial cart predicates, like 1 = 1, can be used to sum or count all line items. Select one: a. TRUE b. FALSE Ans: a 17. How would you add items that are not modeled as products, like insurance add-ons or heavy- weight transportation costs, to a cart? Select one: a. lineItems b. giftLineItems c. customLineItems d. variants Ans: c 18. What happens if you try to create a Standalone Price with a non-existent sku? Select one: a. It will result in ReferencedResourceNotFound error. b. It will result in a staged Standalone Price. c. It will result in a new Standalone Price. d. It will result in InvalidJsonInput error. Ans: c 19. Which of the following query parameters have an effect on facet results? Select one or more: a. filter b. filter.query c. filter.facets d. text.{language} Ans. a, b & c 20. What is true about Product Variants in commercetools? Select one or more: a. Products contain Product Variants, and they all contain Product Attributes. b. Tax categories are modeled on variants c. Product Variants represent a distinct SKU or sellable good. d. URL slugs, display names, and search keywords are modeled on variants Ans. a, c 21. How are Standalone Prices associated with Products? Select one: a. Standalone Prices are associated with Products through the sku field. b. Standalone Prices are associated with Products through the productId and variantId fields. c. Standalone Prices are associated with Products through the externalPrice field. d. Standalone Prices are associated with Products through the key field. Ans. a 22. Which resource can be customized with the following Custom Type: key: "customer-info-custom-type", name: { "de": "Kundendaten", "en": "Customer Info" }, description: { "de": "Kundendaten", "en": "Customer Info" }, resourceTypeIds: ["customer","order"], fieldDefinitions: [{ type: { name: "String" }, name: "shoe-size", label: { "de": "Schuhgröße", "en": "Shoe Size" }, required: true, }] Select one or more: a. quote b. order c. customer d. cart Ans. b, c,d 23. Which of the following message queue types is supported by Subscriptions? Select one: a. AWS SQS b. Google Cloud Pub/Sub c. Azure Service Bus d. All of the above Ans. d 24. It is possible to use external authorization tokens with the commercetools platform. True or false? Select one: a. TRUE b. FALSE Ans: a 25. For a cart discount with stackingMode set to "Stacking", which of the following is true? Select one: a. "stacking" discounts cannot include gift line items (i.e. free gifts) b. The discount will be applied according to the sort order c. This will be the only discount applied to the cart d. No more discounts will be applied after the "stacking" discount Ans: b 26. What's true about the following response from /in-store/key=berlin-store/product-selection- assignments: { "limit" : 20, "offset" : 0, "count" : 1, "results" : [{ "product": { "typeId": "product", "id": "f7188564-30db-4983-8f6e-58b895917665" }, "productSelection": { "typeId": "product-selection", "id": "f33f40f9-464d-4ea2-924e-f56d4fae23cc" }, "assignmentType": "exclusion" }] } Select one or more: a. Product "f7188564-30db-4983-8f6e-58b895917665" is excluded from the Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc". b. Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc" is active for the store. c. Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc" is of type individualExclusion. d. Product "f7188564-30db-4983-8f6e-58b895917665" is not available in the storefront of the store. Ans. a 27. In case of a failed API request, what will commercetools support require you to provide in order to troubleshoot and trace the API call? Select one: a. The date and time of the request b. A copy of the error message c. Access to your code d. The x-correlation-id Ans. d 28. Consider the following requests. final Product product1 = apiRoot.withProjectKey(projectKey).products().withId("e640a70d-4d35-47da-acf2-2d39b8eeaa1d").get().withExpand("productType").execute().toCompletableFuture().get().getBody(); final Product product2 = apiRoot.withProjectKey(projectKey).products().withId("e640a70d-4d35-47da-acf2-2d39b8eeaa1d").get().execute().toCompletableFuture().get().getBody(); What will be true of the lineItems in product1 and product2? Select one: a. Only product1 will have a Reference to ProductType b. product2 will have a Reference to ProductType with the ProductType data expanded; product1 will only have a Reference to ProductType c. Neither product1 nor product2 will have a Reference to ProductType d. product1 will have a Reference to ProductType with the ProductType data expanded; product2 will only have a Reference to ProductType Ans. d 29. Suppose that most of your clients are based in Germany. It is recommended that you use which API host? Select one: a. api.commercetools.de b. api.europe-west1.gcp.commercetools.com c. api.us-central1.gcp.commercetools.com d. ml-eu.europe-west1.gcp.commercetools.com Ans. b 30. Subscription delivery payload contains a notificationType field to identify the payload. What will the value of this field be when a resource is deleted? Select one: a. ResourceUpdated b. ResourceDeleted c. ResourceRemoved d. ResourceUnpublished Ans. b 31. Suppose you have defined a multi-buy discount "Buy Two, Get One Free“, including the fields triggerQuantity, discountedQuantity, and maxOccurrence. If a customer has 10 of the eligible products in their cart, how many free items will the customer receive? Select one: a. It depends on how “maxOccurence” was defined b. It depends on how "discountedQuantity" was defined c. The discount will be applied three times, for three free items d. The discount will only be applied once, for one free item Ans. c 32. What is the best inventory mode for a Limited Supply item that cannot be restocked? Select one: a. None b. TrackOnly c. ReserveOnOrder d. InStock Ans. b 33. How is pricing information stored in product variants? Select one: a. an Object b. an Array of Objects c. a Money d. a String Ans. b 34. Which of the followings ways to retrieve published product data for an online shop is not recommended? Select one: a. Product projection search b. Product query c. Product projection query d. Get product projection by ID or Key Ans. b 35. How would you create a category with the name localizedStringName and the slug localizedStringSlug? apiRoot.categories().post( ).execute(); Select one: a. CategoryDraftBuilder.of().name(localizedStringName).slug(localizedStringSlug); b. CategoryDraftBuilder.of().name(localizedStringName).slug(localizedStringSlug).build(); c. new CategoryDraft(localizedStringName, localizedStringSlug); d. new CategoryDraftImpl(localizedStringName, localizedStringSlug); Ans. b 36. Which of the following statements is TRUE about tax categories in commercetools? Select one: a. Tax categories can only contain one rate per country. b. Tax categories can include several rates per country, if different states are entered. c. All tax rates in a tax category must be defined at the state level. d. All tax rates within a tax category must be unique amounts. Ans. b 37. Suppose a payment object goes through the following transactions: transaction with type "Authorization", state "Success", amount 100 GBP transaction with type “Charge”, state “Success”, amount 80 GBP transaction with type "Charge", state "Pending", amount 20 GBP transaction with type “Refund”, State “Success”, amount 40 GBP transaction with type “Charge”, State “Failed”, amount 20 GBP What amount was effectively collected from the customer in this payment process? Select one: a. 100 GBP b. 40 GBP c. 80 GBP d. 140 GBP Ans. b 38. Which of the following fields is not stored in a payment object? Select one: a. paymentStatus b. creditCardNumber c. amountPlanned d. customer Ans. b 39. It is a best practice to specify a broad scope when creating API clients, to avoid having a large number of clients in a single project. True or False? Select one: a. TRUE b. FALSE Ans. b 40. The Messages Query HTTP API must be enabled in a project for Subscription messages to be delivered. Select one: True False Ans. False 41. What monetary value is represented by the JSON object below? { "type": "highPrecision", "currencyCode": "USD", "centAmount": 6022, "preciseAmount": 602222, "fractionDigits": 4 } Select one: a. $6022.22 b. $6022 c. $60.2222 d. $602222 Ans: c 42. What is the version of a resource used for? Select one: a. To enable Optimistic Concurrency Control. b. To query previous versions. c. To specify which version of the API is used. d. To revert changes made to the resource. Ans. a 43. How can you make HTTP requests in the Java SDK? Select one: a. Blocking requests to any commercetools API b. Non-blocking requests to any commercetools API c. Both of the above d. None of the above Ans. c 44. As a best practice, when is it recommended to create a cart for a customer? Select one: a. The customer adds their first item to Cart b. The customer is ready to check out c. The customer arrives at your website d. The customer signs into your website Ans. a 45. How would you create an order from a given cart? apiRoot.orders().post( ).execute(); Select one: a. CreateOrderFromCart.of().cart(cart) b. cart.createOrder() c. OrderFromCartDraftBuilder.of().id(cart.getId()).version(cart.getVersion()).build() d. OrderFromCartBuilder.of().id(cart.getId()).version(cart.getVersion()).build() Ans. c 46. commercetools API imposes limits on certain parameters and objects. Some limits can be increased on customer request. Which of the following limits can't be increased? Select one: a. Tax Categories b. Subscriptions c. Custom Objects d. Product Discounts Ans. d 47. Which of the following cart predicates will match the cart seen below? question image Select one or more: a. lineItems(variant(attributes(name="designer" and value(label="Chanel")))) b. lineItemExists(attributes.madeInItaly = false) = true c. totalPrice > "300.00 EUR" and lineItemCount > 5 d. shippingAddress.country = "DE" Ans. B,d 48. What will happen if you add a new, required attribute to a product type that is already in use? Select one: a. You will receive an error, as it is not possible to create a required attribute if the product type is already in use. b. The required attribute will be added to all product variants of that type with a default value. c. The required attribute will be added to all product variants of that type, and a value must be set in the next modification of the variant. d. The required attribute will be added to all product variants of that type, and it will be required only for new variants going forward. Ans. c 49. Which Java versions are supported by the commercetools Java SDK? Select one: a. Both 8 and 9 b. Only 8 c. Only 7 d. Only 9 Ans. a 50. By default, API Extensions are always called during an update or create action on the resource they are configured for. Can you create an Extension that is only triggered when certain conditions are met e.g line item price is updated? If yes, how? Select one: a. Adding conditional statements using predicate syntax in triggers when creating an Extension. b. By using an event bus service like EventBridge to perform conditional processing. c. By using an external service as it's not possible in commercetools API Extensions. d. By using a specific message type in triggers when creating an Extension. Ans. a 51. What do you need to be aware of when enabling “markMatchingVariants”? Select one: a. The request will be a bit faster. b. An update will be made to the matching resources. c. The request might take a bit longer. d. Only the first 200 variants will be marked. Ans. b 52. Which of the following HTTP methods does the commercetools platform not support? Select one: a. POST b. PUT c. GET d. DELETE Ans. b 53. How can you handle failures like gateway timeouts and version conflicts in the Java SDK? Select one: a. Configure client with FallbackMiddleware b. Configure client with RetryRequestMiddleware c. Configure client with ErrorMiddleware d. Configure client with InternalLoggerMiddleware Ans. b 54. What is the default priceMode on products? Select one: a. External b. Embedded c. Standalone d. Platform Ans. b 55. How is the country field in a Cart used? Select one or more: a. It affects the tax rate for LineItems. b. It's used for LineItem Price selection. c. It can be used to determine if a CartDiscount is applicable to a Cart. d. It affects the tax rate for Shipping. Ans: a, b & d 56. Suppose you have sent a correct request with bug-free client code and valid data. Which of the following HTTP error classes could still occur? Select one: a. 404 b. 401 c. 409 d. 400 Ans: 409 57. All Subscription payloads for PlatformFormat have a resource field which is a reference to the resource that triggered the message. Select one: True False Ans: True 58. How many default shipping methods can be set in commercetools projects? Select one: a. 1 per project b. 1 per location c. 1 per zone d. 1 per cart Ans: a 59. Subscriptions can be used to execute a behavior _____ an API call succeeds, and API Extensions execute a behavior _____ an API call succeeds. Select one: a. before, before b. before, after c. after, before d. after, after Ans: c 60. Which of the following is a commercetools Machine learning feature? Select one: a. Identify top ten products in a category b. Search the product catalog for similar or duplicate products c. Help build an auto-complete search in the web store d. Suggest best selling products Ans: b 1. How would you add items that are not modeled as products, like insurance add-ons or heavy-weight transportation costs, to a cart? Select one: a. customLineItems b. lineItems c. variants d. giftLineItems Ans: a 2. Cart discount targets define the parts of a cart that will be discounted. Which of the following can be used as a cart discount target? Select one or more: a. giftLineItems b. lineItems c. customLineItems d. shipping Ans: b, c & d 3. Which resource can be customized with the following Custom Type: key: "customer-info-custom-type", name: { "de": "Kundendaten", "en": "Customer Info" }, description: { "de": "Kundendaten", "en": "Customer Info" }, resourceTypeIds: ["customer","order"], fieldDefinitions: [{ type: { name: "String" }, name: "shoe-size", label: { "de": "Schuhgröße", "en": "Shoe Size" }, required: true, }] Select one or more: a. order b. quote c. customer d. cart Ans. a, c, d 4. Which of the following is a commerce tools Machine learning feature? Select one: a. Search the product catalog for similar or duplicate products b. Identify top ten products in a category c. Suggest best selling products d. Help build an auto-complete search in the web store Ans: a 5. Which Java versions are supported by the commercetools Java SDK? Select one: a. Only 7 b. Only 8 c. Both 8 and 9 d. Only 9 Ans: c 6. What do you need to be aware of when enabling "markMatchingVariants"? Select one: a. An update will be made to the matching resources. b. Only the first 200 variants will be marked. c. The request might take a bit longer. d. The request will be a bit faster. Ans. a 7. Your project requires that a customer should have the option to place an order with shipping to multiple addresses using multiple shipping methods. Which of the following statements about shipping in commercetools is true in this scenario? Select one: a. commercetools supports multiple shipping methods, but a single shipping address in an order. b. commercetools supports multiple shipping addresses and multiple shipping methods in an order. c. commercetools supports a single shipping address and a single shipping method per line item in an order. d. commercetools supports multiple shipping addresses, but a single shipping method per order. Ans. b 8. It is recommended that you use blocking calls in the Java SDK in most cases. Select one: a. FALSE b. TRUE Ans. a 9. Which of the following fields is not stored in a payment object? Select one: a. creditCardNumber b. paymentStatus c. amountPlanned d. customer Ans. a 10. What monetary value is represented by the JSON object below? { "type": "highPrecision", "currencyCode": "USD", "centAmount": 6022, "preciseAmount": 602222, "fractionDigits": 4 } Select one: a. $60.2222 b. $6022 c. $602222 d. $6022.22 Ans: a 11. What is the correct way to add a billing address to an existing order? Order order = …; Address address = …; apiRoot.orders().withId(order.getId()).post( ) a. OrderUpdateBuilder.of().version(order.getVersion()).actions(AddressSetBillingForOrderActio nBuilder.of().order(order.getId).build()).build() b. OrderUpdateBuilder.of().version(order.getVersion()).actions(OrderSetBilling.of().address(add ress).build()).build() c. OrderUpdateBuilder.of().version(order.getVersion()).actions(OrderSetBillingAddressActionBu ilder.of().address(address).build()).build() d. OrderUpdate.of(order(address)) Ans. c 12. What is the purpose of the in production project flag? a. Projects with in production flag set receive higher quality support b. Projects with in production flag set are granted more data storage c. Projects with in production flag set are covered by the SLA d. Changing the in production flag allows you to switch between dev and prod environments Ans. a 13. A product description is required to create a product. True or false? a. TRUE b. FALSE Ans. b 14. For Subscription messages with notificationType ResourceUpdated, the resource that has been updated is part of the payload. True False Ans. a 15. After receiving a successful response from an update action, the change as reflected in a product projection search would be strongly consistent. True or false? a. TRUE b. FALSE Ans. b 16. Subscription delivery payload contains a notificationType field to identify the payload. What will the value of this field be when a resource is deleted? a. ResourceRemoved b. ResourceUpdated c. ResourceDeleted d. ResourceUnpublished Ans. c 17. Suppose a Product Projections Search is executed with the settings: text="bottle" fuzzy=true fuzzyLevel=2 Which of the following products will NOT be found? a. A product with name = "battla" b. A product with name = "battle" c. A product with name = "bottel" d. A product with name = "boddel" Ans. d 18. In a Product response, the price field in a Variant may contain an Embedded or a Standalone price. How is the price selected? a. Both, Embedded and Standalone price based on the price selection query parameters in the request. b. Embedded price based on the price selection query parameters in the request. c. Either Embedded or Standalone price, as indicated by the priceMode of the Product, based on the price selection query parameters in the request. d. Standalone price based on the price selection query parameters in the request. Ans. c 19. How would you create an order from a given cart? apiRoot.orders().post( ).execute(); a. OrderFromCartDraftBuilder.of().id(cart.getId()).version(cart.getVersion()).build() b. cart.createOrder() c. OrderFromCartBuilder.of().id(cart.getId()).version(cart.getVersion()).build() d. CreateOrderFromCart.of().cart(cart) Ans. a 20. The majority of commercetools HTTP API endpoints consume and produce standard ______ payloads. a. XML b. Text c. JSON d. HTML Ans: c 21. The commercetools HTTP API uses which of the following to authorize requests made to the platform? Select one: a. OpenID b. Auth0 c. SAML d. OAuth2 Ans. d 22. Which of the following classes is returned by any commercetools ApiMethod.execute()-call to support asynchronous processing? Select one: a. java.util.concurrent.CompletableFuture b. commercetools does not support asynchronous processing c. java.util.concurrent.CompletionStage d. java.util.concurrent.Future Ans. a 23. How would you prepare the deletion of a lineItem from a given cart? Select one: a. cart.getLineItems().removeById(lineItem.getId()) b.CartUpdateBuilder.of().version(cart.getVersion()).actions(CartRemoveLineItemActionBuild er.of().lineItemId(lineItem.getId()).build()).build() c. cart.setQuantityOfLineItemById(lineItem.getId(), 0) d. CartUpdateBuilder.of().version(cart.getVersion()).actions(CartLineItemDeleteActionBuilder.o f().lineItemId(lineItem.getId()).build()).build() Ans: b 24. Currency codes are free text strings and need to be written by the user in Project Settings. True or false? Select one: a. TRUE b. FALSE Ans. b 25. What is the correct way to update a product key in the Java SDK? Select one: a. ProductUpdateBuilder.of().version(product.getVersion()).actions(ProductSetKey.of().key("ne w-product-key").build()).build() b. ProductUpdateBuilder.of().version(product.getVersion()).actions(ProductChangeKeyActionB uilder.of().key("new-product-key").build()).build() c. ProductUpdateBuilder.of().version(product.getVersion()).actions(ProductSetKeyActionBuilde r.of().key("new-product-key").build()).build() d. ProductUpdateBuilder.of().version(product.getVersion()).keyUpdateActionBuilder.of().key("n ew-product-key").build().build() Ans. c 26. When an order is created, which of the following fields are copied to the order from the cart? Select one or more: a. orderNumber b. customerId c. deleteDaysAfterLastModification d. totalPrice Ans. b, d 27. Suppose that most of your clients are based in Germany. It is recommended that you use which API host? Select one: a. ml-eu.europe-west1.gcp.commercetools.com b. api.us-central1.gcp.commercetools.com c. api.commercetools.de d. api.europe-west1.gcp.commercetools.com Ans. d 28. Suppose a shipping method is set with the predicate "any cart value higher than 500€". A cart using this shipping method then drops its cart value to 400€. What impact will this have on the cart and its shipping method? Select one: a. The shipping method is automatically removed when the cart is next updated. b. The cart update is rejected. c. The shipping method remains set, and the ShippingMethodState is updated to "DoesNotMatchCart". d. This will have no impact on the shipping method. Ans. c 29. What happens when a customer cart is merged with an anonymous cart that has a matching line item but with a different quantity? Select one: a. Merged cart has the most recently updated quantity. b. Merged cart has the average of the quantities from both carts. c. Merged cart has the maximum quantity. d. Merged cart has the sum of quantities from both the carts. Ans. c 30. How is pricing information stored in product variants? Select one: a. an Array of Objects b. a Money c. a String d. an Object Ans. a 31. Are Product Discounts applied to Standalone Prices in commercetools Composable Commerce? a. No, Standalone Prices are fixed. b. No, Product Discounts apply to Embedded Prices only. c. Yes, Product Discounts apply to Embedded Prices, as well as Standalone Prices. d. Yes, Product Discounts apply to Standalone Prices but only when the Product's priceMode is Standalone. Ans. c 32. Subscriptions can be used to execute a behavior ____ an API call succeeds, and API Extensions execute a behavior ____ an API call succeeds. a. before, before b. before, after c. after, before d. after, after Ans: c 33. Suppose you need to add a Chinese language option to your website, including product descriptions and categories. Where in the commercetools platform can you do this? a. Update Project languages using the API b. Merchant Center -> Settings -> Project Settings c. Merchant Center -> My Profile -> Languages d. It is not possible to add new languages to existing projects Ans. b 34. What features are available in the ImpEx application? a. Commands to import and export project data b. An API Playground c. A GraphQL IDE d. All of the above Ans: d 35. Can a Product Type already used to create Products be deleted? a. No, it can't be deleted. b. Yes, if all Products referencing the Product Type are deleted first. c. Yes, it can be deleted at any time. d. Yes, if no Product referencing this Product Type is published. Ans: a 36. What is the relationship between filter.query and the resulting facets? a. filter.query acts only on the facets, not the query results. b. filter.query is applied to the query results during the facet calculation. c. filter.query is applied to the query results after facets have been calculated. d. filter.query is applied to the query results before facets have been calculated. Ans: d 37. What is the default RoundingMode in the cart? a. HalfDown b. HalfEven c. HalfUp d. HalfOdd Ans: b 38. The Messages Query HTTP API must be enabled in a project for Subscription messages to be delivered. True False Ans: False 39. The rating field of a review is a number between: a. -100 and 100 b. 1 and 10 c. 0 and 1 d. It is user-defined Ans: a 40. Which of the following is NOT a potential use of the Shopping List? a. As a public collection of products or recommendations b. As a "save-for-later" feature for an individual customer c. As a shareable list of products d. As a product selection to be used in a store Ans: d 41. How would you create a category with the name localizedStringName and the slug localizedStringSlug? apiRoot.categories().post( ).execute(); a. CategoryDraftBuilder.of().name(localizedStringName).slug(localizedStringSlug).build(); b. new CategoryDraftImpl(localizedStringName, localizedStringSlug); c. new CategoryDraft(localizedStringName, localizedStringSlug); d. CategoryDraftBuilder.of().name(localizedStringName).slug(localizedStringSlug); Ans: a 42. How do you create a client (or apiRoot) for a given project key, client id, and client secret? public static ProjectApiRoot projectApiRoot; final String projectKey = …; final String clientId = …; final String clientSecret = …; projectApiRoot = ; a. projectApiRoot = ApiRootBuilder.of().defaultClient( ClientCredentials.of().withClientId(clientId).withClientSecret(clientSecret).build(), ServiceRegion.GCP_EUROPE_WEST1.getOAuthTokenUrl(), ServiceRegion.GCP_EUROPE_WEST1.getApiUrl() ).build(projectKey); b. projectApiRoot = ApiRootBuilder.of().defaultClient(clientId, clientSecret), ServiceRegion.GCP_EUROPE_WEST1.getOAuthTokenUrl(), ServiceRegion.GCP_EUROPE_WEST1.getApiUrl() ).build(projectKey); c. projectApiRoot = ApiRootBuilder.createAsynchHttpClient(); d. projectApiRoot = ApiRootBuilder.of().withClientId(clientId).withClientSecret(clientSecret), ServiceRegion.GCP_EUROPE_WEST1.getOAuthTokenUrl(), ServiceRegion.GCP_EUROPE_WEST1.getApiUrl() ).build(projectKey); Ans: a 43. Provided that your cart’s shippingMode is Multiple, which Update Actions can be used on a Cart? a. addItemShippingAddress addShippingMethod setLineItemShippingDetails b. setShippingAddress setShippingMethod setLineItemShippingDetails c. setCustomShippingMethod setCustomLineItemShippingDetails d. addCustomShippingMethod setCustomLineItemShippingDetails Ans: a, d 44. What's true about the following response from /in-store/key=berlin-store/product-selection- assignments: { "limit" : 20, "offset" : 0, "count" : 1, "results" : [{ "product": { "typeId": "product", "id": "f7188564-30db-4983-8f6e-58b895917665" }, "productSelection": { "typeId": "product-selection", "id": "f33f40f9-464d-4ea2-924e-f56d4fae23cc" }, "assignmentType": "exclusion" }] } Select one or more: a. Product "f7188564-30db-4983-8f6e-58b895917665" is excluded from the Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc". b. Product "f7188564-30db-4983-8f6e-58b895917665" is not available in the storefront of the store. c. Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc" is active for the store. d. Product Selection "f33f40f9-464d-4ea2-924e-f56d4fae23cc" is of type individualExclusion. Ans: a 45. Cart updates trigger a recalculation on the cart to up-to-date prices, taxes, and discounts etc. Is it possible to prevent carts from being modified by changes to prices and discounts? Select one: a. Yes, but a cart can't be ordered if not up-to-date. b. Yes, you can freeze the cart. c. No, a cart in Active state can't skip the updates. d. Yes, you can set updateProductData field to false. Ans. b 46. The number of fields in a resource will always be ________ the number of fields in its draft. Select one: a. less than b. greater than c. twice d. equal to Ans: b 47. If you suspect there is duplicate data in your product catalog, what would be best to use to identify duplicate products? Select one: a. Similar Products endpoint b. Product Suggestions endpoint c. Product Projections Search endpoint d. manual review in Merchant Center Ans: a 48. In case of a failed API request, what will commercetools support require you to provide in order to troubleshoot and trace the API call? Select one: a. The date and time of the request b. The x-correlation-id c. Access to your code d. A copy of the error message Ans: b 49. What is the recommended way to get the latest version of the Java SDK? Select one: a. Download it from commercetools.com b. Retrieve it from Maven Central c. Compile it from the GitHub repository d. Install it on premises Ans: b Siddhant Questions 1. Which of the following is true regarding the Orders and Order Edits endpoints? a. New line Items can be added to Orders directly but the quantity of existing line items can only be modified through Order Edits. b. Orders to "Confirmed" state can only be modified through Order Edits while Orders to "Open" state can be modified directly. c. Orders can only be modified through the Order Edits. d. New line items can be added through Order Edits, but not directly to Orders. Answer: d 2. What will happen to a request to the HTTP API if the request method does not allow a body but the request has one? a. The request will be accepted but the body will be ignored. b. The request will be blocked by the HTTP API. Answer: b 3.What is the best inventory mode for a limited supply item that cannot be restocked? a. None b. ReserveOnOrder c. TrackOnly d. InStock Answer: c 4. How do you create a client (or apiRoot) for a given project key, client id, and client secret? a. projectApiRoot = ApiRootBuilder.of().defaultClient(clientld, clientSecret),.ServiceRegion.GCP_EUROPE_WEST1.getOAuthTokenUr1(),.ServiceRegion.GCP_EUROPE_WEST1.getApiUrl()).build(projectKey) b. projectApiRoot = ApiRootBuilder.createAsyncHttpClient(); c. projectApiRoot = ApiRootBuilder.of().withClientId(clientId).withClientSecret(clientSecret).ServiceRegion.GCP_EUROPE_ WEST1.getOAuthTokenUr1(),.ServiceRegion.GCP_EUROPE_WEST1.getApiUrl().build(projectKey) d. projectApiRoot = ApiRootBuilder.of().defaultClient(ClientCredentials.of().withClientId(clientId).withClientSecret(clientS ecret).build().ServiceRegion.GCP_EUROPE_WEST1.getOAuthTokenUr1(),.ServiceRegion.GCP_EUROPE_WEST1.getApiUrl()).build(projectKey) Answer: d 5. The promotion "Buy 2 items, get one half off" is considered what kind of discount? a. MultibuyLineItem b. CustomLineItem c. LineItem d. Product Answer: a 6. The rating field of a review is a number between: a. -100 and 100 b. 1 and 10 c. 0 and 1 d. It is user-defined Answer: a 7. How many default shipping methods can be set in commercetools projects? a. 1 per project b. 1 per zone c. 1 per location d. 1 per cart Answer: a 8. Which Java versions are supported by the commercetools Java SDK? a. Only 7 b. Only 8 c. Both 8 and 9 d. Only 9 Answer: c 9. What is the version of a resource used for? a. To specify which version of the API is used b. To enable Optimistic Concurrency Control c. To revert changes made to the resource d. To query previous versions Answer: b 10. The number of fields in a resource will always be ________ the number of fields in its draft. a. Equal to b. Less than c. Greater than d. Twice Answer: c 11. What is true about Product Variants in commercetools? a. URL slugs, display names, and search keywords are modeled on variants b. Tax categories are modeled on variants c. Product Variants represent a distinct SKU or sellable good d. Products contain Product Variants, and they all contain Product Attributes Answer: c, d 12. Which of the following statements is TRUE about tax categories in commercetools? a. Tax categories can include several rates per country if different states are entered b. Tax categories can only contain one rate per country c. All tax rates within a tax category must be unique amounts d. All tax rates in a tax category must be defined at the state level Answer: a 13. What happens if you try to create a Standalone Price with a non-existent sku? a. It will result in InvalidJsonInput error. b. It will result in a new Standalone Price. c. It will result in a staged Standalone Price. d. It will result in RefrenceResourceNotFound error. Ans b 14. Which of the following statements about categories is FALSE? a. Categories have a parent field and do not have a child field b. Every single category must have a parent c. Categories know all their ancestors d. Categories can only have one parent Answer: b 15. With Discount Codes, it is possible to give specific Cart Discounts to eligible customers. If you want to prevent carts from being modified by changes to prices and discounts that become active or inactive over time, you have the option to freeze the cart. When a cart is frozen, what happens to Discount Codes that become invalid due to Cart Predicates not matching anymore? a. Discount Codes remain present on the cart with the DiscountCodeState b. Invalid Discount Codes remain present on the cart with the DiscountCodeState c. Discount Codes remain valid and applied, but placing an order reports an error d. Invalid Discount Codes are automatically removed from Cart Answer: b 16. You want to add an attribute to your Product Type to refer to Custom Objects. Which type of reference would you use? a. external-data b. product c. custom-object d. key-value-document Answer: d 17. By default, API Extensions are always called during an update or create action on the resource they are configured for. Can you create an Extension that is only triggered when certain conditions are met (e.g., line item price is updated)? If yes, how? a. By using an event bus service like EventBridge to perform conditional processing b. By using an external service as it’s not possible in commercetools API Extensions c. Adding conditional statements using predicate syntax in triggers when creating an Extension d. By using a specific message type in triggers when creating an Extension Answer: c 18. When defining locations for Zones containing Country/State pairs, the state names must comply with ISO 3166 standard (e.g., 'AU-SA' for South Australia). a. True b. False Answer: b 19. What does it mean if a feature is tagged as "beta"? a. It is not yet under the API contract that guarantees backward compatibility b. It is not yet robust and could throw errors c. It is in its first phase of testing d. It is new, added within the last six months Answer: a 20. True or False? The Product Projections API returns both current and staged projections together. a. TRUE b. FALSE Answer: b 21. How can you handle failures like gateway timeouts and version conflicts in the Java SDK? a. Configure client with FallbackMiddleware b. Configure client with RetryRequestMiddleware c. Configure client with InternalLoggerMiddleware d. Configure client with ErrorMiddleware Answer: b 22. Which of the following is TRUE about Messages and Subscriptions in commercetools? a. Messages are persisted on the REST API by default b. Messages can be delivered via Subscription to a queue c. All changes on a resource result in Messages d. Subscriptions are essentially a subset of the change history for a resource Answer: b 23. A product description is required to create a product. True or false? a. TRUE b. FALSE Answer: b 24. Suppose you have sent a correct request with bug-free client code and valid data. Which of the following HTTP errors could still occur because of the request conflicting with the current state of the involved resource? a. 409 - ConcurrentModification b. 404 - ResourceNotFound c. 400 - SemanticError d. 502 - BadGateway Answer: a 25. Suppose that most of your clients are based in Germany. It is recommended that you use which API host? a. api.europe.west1.gcp.commercetools.com b. ml-eu.europe.west1.gcp.commercetools.com c. api.us-central1.gcp.commercetools.com d. api.commercetools.de Answer: a 26. Which resource can be customized with the following Custom Type: css Copy code key: "customer-info-custom-type", name: { "de" : "Kundendaten", "en" : "Customer Info" }, description: { "de" : "Kundendaten", "en" : "Customer Info" }, resourceTypeIds: ["customer", "order"], fieldDefinitions: [{ type { name: "String" } name: "shoe-size", label: { "de" : "Schuhgröße", "en" : "Shoe Size" } required: true, }] Select one or more: a. cart b. quote c. customer d. order Answer: a, c, d 27. After receiving a successful response from an update action, the change as reflected in a product projection search would be strongly consistent. True or false? a. TRUE b. FALSE Answer: b 28. Two customers can register using the same email address in the same Composable Commerce project as long as they are registered in different stores. a. TRUE b. FALSE Answer: b 29. Which of the following classes is returned by any commercetools ApiMethod.execute() call to support asynchronous processing? a. Java.util.concurrent.CompletableFuture b. Java.util.concurrent.CompletionStage c. Java.util.concurrent.Future d. commercetools does not support asynchronous processing Answer: a 30. In case of a failed API request, what will commercetools support require you to provide in order to troubleshoot and trace the API call? a. The date and time of the request b. A copy of the error message c. The x-correlation-id d. Access to your code Ans: c 31. All OAuth 2.0 clients and access tokens have a scope. Which of the following statements about scope is true? a. If you omit the scope parameter when requesting an access token, the access token is granted read-only scope b. manage_project scope grants permission to use all APIs for the specified Project c. Scope is redefined for the API client if your application requirements change d. Scopes are defined for a single project when creating an API Client Ans: b, d 32. Consider the following requests. final Product product1 = apiRoot.withProjectKey(projectKey).products().withId("e640a70d-4d35-47da-acf2-2d39b8eeaa1d").get().withExpand("productType").execute().toCompletableFuture().get().getBody(); final Product product2 = apiRoot.withProjectKey(projectKey).products().withId("e640a70d-4d35-47da-acf2-2d39b8eeaa1d").get().execute().toCompletableFuture().get().getBody(); What will be true of the lineItems in product1 and product2? Select one: a. Only product1 will have a Reference to ProductType b. product2 will have a Reference to ProductType with the ProductType data expanded; product1 will only have a Reference to ProductType c. Neither product1 nor product2 will have a Reference to ProductType d. product1 will have a Reference to ProductType with the ProductType data expanded; product2 will only have a Reference to ProductType Ans. d 33. The commercetools platform provides several Authorization flows. What is required to obtain an access token through the client credentials flow? a. client_id, client_secret, and scope b. client_id, client_secret, and a refresh token c. client_id and client_secret d. client_id, client_secret, username, and password Answer: c. client_id and client_secret 34. True or false? It is recommended that you use blocking calls in the Java SDK in most cases. a. TRUE b. FALSE Ans: b 35. You were using Embedded prices but with growth over a period of time you need more prices per variant than the default limit. So you decided to create Standalone Prices in your project. Still, a price from Embedded prices is selected when a Line Item is added to a Cart. What could be the reason? a. Product priceMode not set to Standalone b. Standalone prices can be managed and queried from standalone-prices only c. Embedded prices need to be deleted d. Standalone prices are returned by the API only when reference expansion is used on prices Ans: a 36. Subscriptions can be used to execute a behavior _____ an API call succeeds, and API Extensions execute a behavior _____ an API call succeeds. Select one: a. before, before b. before, after c. after, before d. after, after Ans: c 37. What will marking a product type attribute as SameForAll do? Select one: a. Make it a product-level attribute b. Flag any variants with a different value for that attribute c. Prompt the user to confirm that all variants have the same attribute value d. Ensure attribute value is the same across all product variants of that product Ans: d 38. Which HTTP API endpoint should you use if you just want to see the "current" representation of the Product? Select one: a. Product Suggestions b. Product Projections c. Products d. Product Selections Ans: b 39. All Subscription delivery payload for the PlatformFormat have a resource field which is a reference to the resource that triggered the message. Select one: a. True b. False Ans: a 40. Provided that your cart’s shippingMode is Multiple, which Update Actions can be used on a Cart? a. addItemShippingAddress addShippingMethod setLineItemShippingDetails b. setShippingAddress setShippingMethod setLineItemShippingDetails c. setCustomShippingMethod setCustomLineItemShippingDetails d. addCustomShippingMethod setCustomLineItemShippingDetails Ans: a,d 41. It is a best practice to specify a broad scope when creating API clients, to avoid having a large number of clients in a single project. True or False? Select one: a. TRUE b. FALSE Ans. b 42. What is the default RoundingMode in the cart? a. HalfDown b. HalfEven c. HalfUp d. HalfOdd Ans: b 43. True or false. Project settings, such as language, countries, currencies can only be set up using the Merchant Center. Select one: a. True b. False Ans: b 44. True or false. Regardless of a cart freeze, Cart Discounts that are deleted or that become invalid due to Cart Predicates not matching, are removed from the cart. Select one: a. True b. False Ans: a 45. The majority of commercetools HTTP API endpoints consume and produce standard ______ payloads. a. XML b. Text c. JSON d. HTML Ans: c 46. When sending a search request, "markMatchingVariants" is disabled by default. What happens if you enable it? a. The field "markMatchingVariants" is set to "true" on the first 200 variants that match the filter criteria. b. The product variants that match the filter criteria from the search request are returned, and the rest are not. c. The field "markMatchingVariants" is set to "true" on all variants that match the filter criteria from the search request. d. The field "markMatchingVariants" is set to "false" on all variants that match the filter criteria from the search request. Ans: c. 47. What will happen if you add a new, required attribute to a product type that is already in use? Select one: a. You will receive an error, as it is not possible to create a required attribute if the product type is already in use. b. The required attribute will be added to all product variants of that type with a default value. c. The required attribute will be added to all product variants of that type, and a value must be set in the next modification of the variant. d. The required attribute will be added to all product variants of that type, and it will be required only for new variants going forward. Ans. c 48. Can a Product Type already used to create Products be deleted? a. No, it can't be deleted. b. Yes, if all Products referencing the Product Type are deleted first. c. Yes, it can be deleted at any time. d. Yes, if no Product referencing this Product Type is published. Ans: b 49. In regards to the Standard Service Level Agreement (SLA), which statement is true about a Planned Servicing Period? a. commercetools ordinarily informs Customers through the commercetools status page at least three days before a Planned Service Period b. commercetools endeavours to ensure no more than ten hours of Planned Servicing Period per year c. Customer has 14 days after the end of each month to claim a Service Credit for Planned Servicing Period d. Availability (SLA) calculations will exclude unavailability arising from Planned Servicing Period Ans: d 50. How can you add functionality you need for your business into the Merchant Center? For example, viewing carts. a. State Machines b. API Extensions c. Custom Objects d. Custom Applications Ans: d 51. Which of the following ways to retrieve published product data for an online shop is not recommended? a. Product projection query b. Product projection search c. Product query d. Get product projection by ID or Key Ans: c 52. Cart Discounts are used to change the prices of different elements within a Cart. How would you create a discount that sets the price of a line item to a constant price? a. Create cart qualifier rules to apply discount to carts containing specific line items b. Create cart discount target rules to apply discount to specific line items c. Create a Cart Discount of Absolute value d. Create a Cart discount of Fixed value Ans: b, d 53. How are Standalone Prices associated with Products? Select one: a. through its sku field. b. through its productId and variantId fields. c. through product’s externalPrice field. d. through its key field. Ans: a 54. You want to apply a Discount but only to Carts that have at least 5 line items in them. Which of the following will be the correct predicate to achieve this in the Cart discount? a. lineItemCount(1=1)>=5 b. countOfLineItems(1=1)>=5 c. lineItemTotal(1=1)>=5 d. numberOfLineItems(1=1)>=5 Ans: a 55. Which of the following is NOT a potential use of the Shopping List? a. As a public collection of products or recommendations b. As a "save-for-later" feature for an individual customer c. As a shareable list of products d. As a product selection to be used in a store Ans: d 56. You were using Embedded prices but with growth over a period of time you need more prices per variant than the default limit. So you decided to create Standalone Prices in your project. Still, a price from Embedded prices is selected when a Line Item is added to a Cart. What could be the reason? a. Product priceMode not set to Standalone b. Standalone prices can be managed and queried from standalone-prices only c. Embedded prices need to be deleted d. Standalone prices are returned by the API only when reference expansion is used on prices Ans: a 57. You were using Embedded prices but with growth over a period of time you need more prices per variant than the default limit. So you decided to create Standalone Prices in your project. Still, a price from Embedded prices is selected when a Line Item is added to a Cart. What could be the reason? a. Product is not set to Standalone b. Standalone prices can be managed and queried from standalone-prices only c. Embedded prices need to be deleted d. Standalone prices are returned by the API only when reference expansion is used on prices Ans: a 58. Which of the following Cart fields can be set in the CartDraft but can't be updated later? Select one or more: A. currency B. shippingMode C. InventoryMode D. country Ans: a,b and c 59. True or false. When freezing a Cart, Cart Discounts and Product Discounts that expire after cart freeze are no longer applied. A. True B. False 60. Using an AWS Lambda function to verity if the Cart is valid is an example of «ANSWER» A. a Custom Object B. a State Machine C. an API Extension D. a Subscription 61. What fields are part of an ErrorResponse? Select one or more: A. version B. message C. status Code D. errors Ans: b,c,d 62. For a cart discount with stackingMode set to "Stacking", which of the following is true? Select one A. It will be the only discount applied to the cart, irrespective of the sort order B. The discount will be applied first followed by other matching discounts in the sort order C. The discount will be applied along with other matching discounts according to the sort order D. No other discount in the sort order can be applied after this one 63. When creating a Subscription, a test message is sent to ensure the correct configuration of the Destination. A. True B. False 64. What happens when a customer cart is merged with an anonymous cart that has a matching line Item but with a different quantity? Select one A. Merged cart has the maximum quantity. B. Merged cart has the most recently updated quantity. C. Merged cart has the sum of quantities from both the cars D. Merged cart has the average of the quantities from both carts. 65. True or False. Predicates on shipping methods are used to express your business logic for which shipping methods should be offered for a cart during checkout. A. True B. False 66. You are creating a Cart Discount to add a gift item to the Cart when the cart total is more than 100 EUR. The quantity of Line Item to be added to the Cart as a gift can be changed A. True B. False 67. Without applying any customizations, which of the following Composable Commerce resources can contain or refer to customer data? Select one or more: A. DiscountCode B. Category C. Customer D. Order 68. True or false. A Cart can calculate taxes for the items in it before the shippingAddress property is set. Select one: A. True B. False Ans: b 69. To ensure good performance for every project on the platform, the commercetools API Imposes limits on certain parameters and objects. Where can you confirm these limits? Select one: a. Merchant Center b. Project settings c. API Reference Documentation d. Customer Support Portal Ans: c 70. True or False. The GraphQL. API supports reference expansion. Select one: A. True B. False Ans a 71. What is true about the "in production" project flag? Select one: A. Changing the "In production" flag allows you to switch between dew and prod environments B. Projects with the "in production" flag enabled cannot be deleted C. Projects with the "In production" flag enabled set are granted more data storage D. The "in production" flag can be enabled in Settings/Project Settings in the Merchant Center Ans: b LinkedIn Questions 1.True or False? Out of the box commercetools allows you to specify multiple shipping addresses on single cart a. True b. False Ans True https://docs.commercetools.com/api/projects/carts#cartdraft 2. Carts contain line items which are references to product variants (non – reference of product variants) a. True b. False 3. The reference attribute type in CommerceTools can directly reference product variants a. True b. False 4. If you find the Merchant center is missing functionality you need for your business, you can add features to it with a. State machine b. API extensions c. Merchant center custom applications d. Custom objects 5. The primary use of product categories is to a. Assign tax and shipping rates in bulk b. Predict appropriate product images for display c. Organize front end navigation structure d. Easily edit many products at one time 6. When fulfilling an online order, a shipped item’s tracking information can be defined on which commercetools object? a. The Parcel b. The Delivery c. The order d. The Cart 7. Suppose you need to add a Chinese language option to your website including product descriptions and categories. Where in the CommerceTools platform you can do this? a. Merchant Center -> Setting -> Project Setting b. Merchant Center -> MyProfiles -> Languages(Marked) c. It is not possible to add new languages to the existing projects d. Merchant Center -> Dashboard 8. which tax mode should be selected to indicate that tax rates and tax calculations will be handled externally to the commercetools platform https://docs.commercetools.com/api/projects/carts#taxmode a. ExternalAmount b. Platform c. None d. External 9. the promotion “buy 2 items, get one half off” is considered what kind of discount? a. Lineitem b. Custom line items c. Product d. Multibuylineitems 10. a product description must be provided when creating a product a. True b. False 11. it is a best practice to create a customer cart…. a. When they view the cart for the first time b. When they first arrive to the website c. When they are ready to checkout d. When they add their first item to the cart 12. when storing external prices in a B2B scenario (i.e. variant prices are negotiated on a per customer bases) it is most efficient to key on… https://docs.commercetools.com/api/projects/carts#lineitem-price-selection Customer group a. CustomerID b. Product ID + Variant ID c. CustomerID + Product ID d. It depends on how many customers and products there are 13.Machine learning at commercetools can do which of the following https://docs.commercetools.com/api/ml a. Suggest which categories a product could belong to b. Search the product catalogue for similar or duplicated products c. Identify products with missing data d. All of the above 14. which of the following discount scenario is not considered as a product discount // he mentioned cartlevel a. All listing for women’s sandals are discounted by $10 b. Subscribers receive a discount code for $15 off a product c. A discontinued SKU is marked down by 50% d. Insider’s club members receive 5% off all product listings (Customer Group Discount & apply for all products. not product specific) 15. suppose you are creating a shipping method where shipping is free for orders over $40 you can define this criteria a. Via point-and-click in the merchant center b. By writing a cartPredicate in the merchant center c. By writing a cartPredicate directly to the API d. All of the above 16. what can be found through IMPEX? a. An application to import and export project platform b. An API playground c. A GraphQL IDE d. All of the above 17. the platform tax mode in commercetools works best in a. The united states, because tax rules require heavy maintenance and oversight b. The united states because it is necessary to find an external vendor c. Europe because it is easy to configure the tax rules there d. Europe because of their stricter compliance regulations 18. which of the following would not be a valid use of the set attribute type? a. Storing attribute values that don’t affect inventory b. Storing color values in multiple languages c. Storing a group of reference to related products d. Storing attribute values that are dependent on each other(e.g. length and width of tv screen) 19. what is the maximum number of variants that can be specified on a product https://docs.commercetools.com/api/contract#product-variants a. 100 b. 250 c. 500 d. unlimited 20. by default what is the maximum number of product discounts that can be active at the same time? a. 50 b. 200 c. 500 d. Unlimited 21. which geographies are included in a commercetools zone? https://docs.commercetools.com/merchant-center/project-settings#configuring-zones a. Zone includes states only b. Zone always includes countries and may include states, cities and zip codes c. Zone always includes countries and may include states d. Zones include countries only 22. for cart discounts marked as “stacking” which of the following is true? https://docs.commercetools.com/merchant-center/discounts-overview#discount-stacking-and- ranking a. All discounts will be applied until the stacking discounts and then no more will be applied b. “stacking” discounts cannot include gift line items (i.e. free gifts) c. “stacking” discounts will always be applied according to the sort order d. Only one “stacking” discount will be applied per cart 23. Suppose a product has two attributes color and size and is marked as “combination unique”. One variant of this product has the attribute values “red” for color and small for size. Which combination of attribute values will cause an error when adding a new variant? a. Color: red, size: medium b. Color: red, size: small c. Color: green, size: small d. Both A and B 24. If using the platform’s default behavior, when merging two carts with different quantities of the same items, the final cart will contain…. Merging cart https://docs.commercetools.com/api/projects/customers#authenticate-customer-sign-in If a LineItem in the anonymous cart matches an existing line item, or a CustomLineItem matches an existing custom line item in the customer's cart, the maximum quantity of both line items is used as the new quantity. ItemShippingDetails are copied from the item with the highest quantity. If itemShippingAddresses are different in the two carts, the resulting cart contains the addresses of both the customer cart and the anonymous cart. Note, that it is not possible to merge carts that differ in their currency or store (set during creation of the cart). a. The sum of the quantities (applicable only line item merge https://docs.commercetools.com/api/projects/carts#add-lineitem ) b. The avg of the quantities c. The greater of the quantities d. It’s impossible to say 25. to ensure good performance for every project on the platform, the commercetools APIs imposes limits on certain parameters and objects, these limits can be found in the …. https://docs.commercetools.com/api/contract a. Code comments b. Merchant center c. API contract d. Platform release notes 26. select the correct statement about the commercetools product data model https://docs.commercetools.com/tutorials/product-modeling/overview a. Products variants contain product types b. Product types contains Products variants c. Product types contains Products d. Products contains Product variants 27. where can external prices be stored? a. In custom-objects b. In an external database c. In product catalog d. Both A and B 28. Inventory supply channels offen ___ and productDistribution channel often ___ https://docs.commercetools.com/api/projects/channels#channelroleenum a. Determine pricing, represent brick and mortar store locations b. Determine pricing, represent warehouses c. Represent warehouses, determine pricing d. Represent brick and mortar store locations, determine inventory 29. suppose you are creating the discount buy 1, get 1 free in the merchant center, what number you should provide in the merchant center interface? When a customer buys__ line items, he/she gets __ with __%off a. 2,1,1 b. 1,1,1 c. 1,1,100 d. 2,1,100 30. suppose your company sells some hazardous materials and orders containing hazardous materials must be shipped using a particular shipping methods. Which of the following strategy is not recommended to define that shipping method? https://docs.commercetools.com/api/projects/predicates#cart-predicate-examples https://docs.commercetools.com/api/projects/predicates#cart-predicates a. Add all hazardous items to a category and write a cartPredicate targeting items in that category b. Add a “hazardous materials” flag to all items in the catalog and write a cartPredicate targeting items where that flag is true c. Write a cartPredicate that targets all hazardous items by SKU (Marked) d. Need more information 31. which inventory mode will throw an outofstock error when inventory =0? https://docs.commercetools.com/api/projects/carts#inventorymode a. “none” No inventory checks or modifications b. Track-only(Marked). Creating an order will succeed even if the line item's available quantity is zero or negative c. Reserve on order d. All of the above 32. states can be combined together in workflows by defining ___ between each state https://docs.commercetools.com/api/projects/states a. Transitions b. Extensions c. Drafts d. Links 33. suppose all employees who shop on their stores website receive special, lower prices on certain items in the catalog, what price field can be used to model this? https://docs.commercetools.com/api/projects/customerGroups#customergroup a. Price tiers b. Date (Marked) c. Channel d. Customer group 34. Prices on the commercetools platform are stored as ___ on the ____ https://docs.commercetools.com/api/projects/products#productvariant a. An array, product variant(Marked) b. An attribute, product type c. A money object, product variant d. An array, product 35. what is the best way to request support for the commercetools platform a. Use the support portal at support.commercetools.com b. Write an email to [email protected] c. Call the commercetools office d. Email your point of contact 36. what does it mean if a feature is tagged as “Beta” https://docs.commercetools.com/api/contract#beta-features a. The related APIs are not yet under the backwards compatibility contract b. The implementation is in its first phase of testing c. The feature is new, added within the last 6 months d. The implementation is not yet robust and could throw errors 37. if the DeleteDaysAfterLastModification field isn’t set on your cart or project, when will abandoned carts be deleted? https://docs.commercetools.com/api/projects/project#carts-configuration a. After 30 days b. After 60 days c. After 90 days d. Never 38. which of the following is not a potential use of the shopping list functionality https://docs.commercetools.com/api/projects/shoppingLists a. As a shareable wishlist b. As a “save-for-later” feature for an individual customer c. As a public collection of products or recommendations d. As a personal market where customers can sell goods 39. which of the following use cases does not suggest using external pricing? https://docs.commercetools.com/api/contract#prices a. Bypassing the 100-price limit b. Offering dynamic pricing (as calculated by an algorithm) c. Offering bulk pricing d. Adding an optional donation to the cart total 40. what is the purpose of the isProduction project flag? https://docs.commercetools.com/merchant-center/projects#marking-a-project-as-in-production bit confused with 3 options a. isProduction projects are granted more data storage b. isProduction projects receive higher quality support c. changing the isProduction flag allows you to switch between dev & prod environment d. isProduction projects are monitored more closely for potential issues 41. Slugs are defined at the _____ level, and SKUs are defined at the _____ level For Slug : https://docs.commercetools.com/api/projects/products#productdata For SKU : https://docs.commercetools.com/api/projects/products#productvariant https://docs.commercetools.com/api/projects/products a. Product variant, Product variant b. Product type, Product variant c. Product variant, product d. Product, Product variant 42. Suppose you plan to have 90 active cart discount in your project and an additional 90 cart discount activated only by discount code. Is this allowed, given the limits in the API contract? https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountdraft https://docs.commercetools.com/api/contract#cart-discounts a. Yes (With discount code no restrictions and also we can reach support team to increase this limit as well) b. No 43. Suppose a shipping method is set with the predicate “any cart value higher than 500Euro”. A cart using this shipment method then drops its value to 400 euros. What impact will this have on the cart and its shipping method? https://docs.commercetools.com/api/projects/carts#shippingmethodstate https://docs.commercetools.com/api/projects/carts#set-shippingmethod https://docs.commercetools.com/tutorials/shipping-method-with-predicate#how-are-shipping- method-predicates-evaluated-during-a-checkout a. The shipping method remains set, and the ShippingMethodState is updated to “DoesNotMatchCart” b. The previous selection is honored and the shipping method does not change c. The cart update is rejected d. The shipping method is automatically removed when the cart is next updated 44. which of the following statements about organizations is correct? https://docs.commercetools.com/merchant-center/organizations a. If you have administrative permissions for one project in an organization, you have administrative permissions for all projects in that organizations (Marked) b. Projects can be moved independently of their organization c. A customer of partner company must have exactly one organization in commercetools d. Organizations must have unique names & keys 45. when working in commercetools mindset it is important to first learn the constraints of the APIs then scope down customer requirement to fit those constraints https://docs.commercetools.com/api/contract a. True b. False 46. “External prices” get their names because they are always stored off-platform https://docs.commercetools.com/api/projects/order-edits#set-lineitem-price a. True b. False 47. Buyable items that are not modeled as products like insurance add-ons or heavy-weight transportation cost can be added to carts as… https://docs.commercetools.com/api/projects/carts#customlineitem a. Line items b. Gift line items c. Custom line items d. Variants 48. what is the purpose of adding a language to your project setting? https://docs.commercetools.com/merchant-center/project-settings#international a. To automatically display the new language option in your shop’s front end selector b. To change the language in which the merchant center UI is presented c. To enable the option to define localized product information d. To translate existing data into the new language 49. which of the following actions occurs at the variant level of the product data model? a. Assigning to a category b. Setting prices c. Publishing and unpublishing d. Returning search results 50. Cart discount targets defines the parts of a carts that will be discounted which of the following cannot be used as a cart discount target? https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget https://docs.commercetools.com/api/projects/cartDiscounts#gift-line-item a. A custom line items b. A gift line items c. Line items d. Shipping cost 51. Marking a product type attribute as same for all will… https://docs.commercetools.com/merchant-center/product-types#attribute-constraints a. Flag any variants with a different value for that attribute b. Make it a product level attribute c. Prompt the user to confirm that all variants have the same attribute value d. Ensure the attribute value is the same across all products and product variant of that ProductType 52. Which LineItemPriceMode is more popular when using external pricing? https://docs.commercetools.com/api/projects/carts#lineitempricemode https://docs.commercetools.com/api/projects/carts#lineitemdraft a. ExternalTotal, because it allows you to retain price filtering and sorting b. ExternalPrice, because it allows you to retain cart discounts c. ExternalTotal, because it allows you to retain cart discounts d. ExternalPrice, because it allows you to retain price filtering and sorting 53. Which of following is true about custom objects in commercetools https://docs.commercetools.com/api/projects/custom-objects#representations a. They don’t have keys b. There is an additional provisioning cost to use them c. They don’t support reference expansion d. They don’t have a version control 54. Which of the following allows you to design your own custom workflows in commercetools? a. Subscriptions b. Merchant center custom applications c. API extensions d. State machines 55. Suppose you are managing you product catalog with an external product inventory managing (PIM). Which of the following approaches to product type will you likely use in commercetools? Doubt----- a. A few broad product types b. One “catch-all” product type c. No product types d. Many specific product types 56. Which of the following is not a means of customizing data In commercetools? https://docs.commercetools.com/api/projects/types#top a. Types b. Custom Objects c. API extensions d. Custom fields 57. Shipping and cart discounts are mapped to carts using the same cart predicate syntax https://docs.commercetools.com/api/projects/predicates a. True b. False 58. which of the following is not a product status in commercetools? a. Modified b. Published c. Unpublish d. Updated 59. An alternative to using custom objects in commercetools is to use.. https://docs.commercetools.com/api/projects/custom-objects a. Reference expansion b. Custom types c. An external database d. API extensions 60. Creating very specific product types is useful when you wish to provide extra guidance or “guardrails” https://docs.commercetools.com/tutorials/product-modeling/overview a. True (Marked) b. False 61. Which of the following is not available attribute type in commercetools? a. Hierarchy b. Reference c. Text d. Number 62. Suppose you are selling a style of jeans that comes in over 300 variations, differentiated by size and color wash. Which of the following product data models should not be considered in this situation? a. Define each color wash as its own product, where sizes are variants. Map them together using a category b. Define each size and color wash combination as its own product, where there is only one master variant c. Define the jeans as a single product, where every size and color wash combination is a variant in the product// defining all the variant in single product d. Define each color wash as its own product where sizes are variants. Map them together using a “master product” 63. True or false? You have to delete and recreate objects in commercetools in order to add new, custom fields to them. a. True b. False 64. If you wish to be notified when a product is published, but for no other product activities, you should. a. A subscribe to the ProductPublished message b. Build a state machine to notify you when a product has been published c. Subscribe to “changes” on products d. Routinely query for the ProductPublished message from the Message endpoint 65. Suppose you are creating a bundle in your project for the first time. It will contain between 3 and 5 products that each have only one variant. Which of the following strategies should be used? a. Create a category called bundles and tag each of the products with that category b. Create a product type with one set attribute, where the set contains nested attributes c. Create a product type with three product reference attributes d. Create a product type with one set attribute, where the set contains product references 66. Suppose you wish to add an additional field to the carts object in commercetools. Which of the following approaches should you use? a. Create a custom type on carts, to add a new field b. Create a custom object, to store the additional information c. Create a custom type on order, because carts are converted into orders d. Create the field in the cart key, which is user defined 67. What is the best inventory tracking method for an item with inventory that can quickly be restocked and should not go on backorder? a. “reserve on order” b. “track only” c. “out of stock” d. None 68. In a custom state machine that includes transitions, you can move from any defined state to another using the Merchant Center, regardless of if a transition between them as been defined. a. True b. False 69. which of these statements about the Order Edits endpoint is true? a. It is the only way to make changes to an order once it has been placed b. It follows the same update workflow as the orders endpoint c. It allows you to make changes to a placed order without updating the final price d. It allows you to preview multiple changes to an order before choosing one to submit 1. Which combination of attribute values are possible when considering the lifecycle of a Product? Select all that apply. Select one or more: a. published: true hasStagedChanges: true b. published: false hasStagedChanges: true c. published: true hasStagedChanges: false d. published: false hasStagedChanges: false 2. Which update actions can be done through all of the following endpoints: Carts, Orders, Order Edits? Select all that apply. Select one or more: a. Add Payment b. Change TaxMode c. Set Customer Email d. Set Order Number 3. Are Product Discounts applied to Standalone Prices in commercetools Composable Commerce? Select one: a. Yes, Product Discounts apply to Standalone Prices only. b. Yes, Product Discounts apply to Embedded Prices, as well as Standalone Prices. c. No, Standalone Prices are fixed. d. No, Product Discounts apply to Embedded Prices only. 4. What features are available in the ImpEx application? Select one: a. Commands to import and export project data b. An API Playground c. A GraphQL IDE d. All of the above 5. Is it possible that different Product Discounts are applied to the different prices in a Variant or different Variants of a Product? Select one: a. Yes, correct Product Discount to be applied is determined in the Cart. b. No, at any given moment only one Product Discount can be applied to a Product. c. No, individual Prices can only be targeted with TargetPredicate in a Cart Discount. d. Yes, each Product Discount can target a different Product Variant or Product Price by using Predicates. 6. Which commercetools feature allows you to model your custom business workflows? Select one: a. State Machines b. Subscriptions c. API Extensions d. Channels 7. What happens if you try to create a Standalone Price with a non-existent sku? Select one: a. It will result in InvalidJsonInput error. b. It will result in ReferencedResourceNotFound error. c. It will result in a new Standalone Price. d. It will result in a staged Standalone Price. 8. Which of the following approaches would you use to add a custom field to orders in commercetools? The custom field should also be available in the cart resource. Select one: a. Create a custom type for both cart and order resources b. Create a custom object, to store the additional field and reference from cart and order c. Create a custom type for cart resource as custom fields from cart are copied when order is created d. Create a custom type for order resource as both Cart and Order are referenced by the same string 'order' 9. The key for a project can be updated in the Merchant Center. True or false? Select one: a. TRUE b. FALSE 10. How can you populate the "Order workflow status“ selector in Merchant Center with a custom workflow? Select one: a. Contact commercetools to define them b. Create custom orderStates in the Merchant Center c. Create custom orderStates via the States endpoint d. Order Workflow States cannot be customized 11. True or false. Project settings, such as language, countries, currencies can only be set up using the Merchant Center. Select one: a. True b. False 12. The reference attribute type in commercetools Product Data Model can directly reference product variants. True or false? Select one: a. TRUE b. FALSE 13. All Subscription delivery payload for the PlatformFormat have a resource field which is a reference to the resource that triggered the message. Select one: a. True b. False 14. Without applying any customizations, which of the following Composable Commerce resources can contain or refer to customer data? Select one or more: a. Category b. Order c. DiscountCode d. Customer 15. When storing external prices in a B2B scenario (i.e. variant prices are negotiated on a per customer basis), what is the most efficient way to key the data? Select one: a. Customer ID b. Product ID + Variant ID c. Customer ID + Product ID d. It depends on how many customers and products there are. 16. How can you add functionality you need for your business into the Merchant Center? For example, viewing carts. Select one: a. Custom Objects b. Custom Applications c. API Extensions d. State Machines 17. Suppose your company sells some hazardous materials, and orders containing hazardous materials must be shipped using a particular shipping method. Which of the following strategies is recommended to define that shipping method? Select one or more: a. Add all hazardous products to a category, and write a cartPredicate targeting items in that category b. Add a “hazardous” attribute to the product type, and write a cartPredicate targeting items with attribute value set to True c. Write a cartPredicate that targets all hazardous items by their SKU d. Move all hazardous products to a dedicated product type, and write a cartPredicate targeting the product type 18. What do you understand from the following in the product response? "published": true, "hasStagedChanges": true Select one: a. Product doesn't have a current projection but is ready to be published with staged changes. b. Product is modified and the staged projection is yet to be published. c. Product is published and the staged projection is the same as the current projection. d.Product has a current projection which is only available from the Product Projection Search endpoint. 19. In which type of countries will the Platform tax mode work the best? Select one: a. Countries where tax rules require heavy maintenance and oversight b. Countries where an external tax compliance vendor is needed c. Countries where the tax rules are easy to configure d. Countries where tax regulations are very strict 20. Where can external prices be stored? Select one or more: a. In custom objects b. In an external data store c. In Standalone Prices d. In Custom Fields 21. InventorySupply channels often _______, and ProductDistribution channels often _______. Select one: a. represent shipping options, determine inventory b. can be used in selecting Product price, represent warehouses c. represent warehouses, can be used in selecting Product price d. can be used in selecting Product price, represent suppliers 22. "External prices" get there name because they are always stored off-platform. True Or false? Select one: a. True b. False 23. What will marking a product type attribute as SameForAll do? Select one: a. Make it a product-level attribute b. Flag any variants with a different value for that attribute c. Prompt the user to confirm that all variants have the same attribute value d. Ensure attribute value is the same across all product variants of that product 24. What is the meaning of the following error code returned by the commercetools Composable Commerce: "errors" [ { "code" : "SearchDeactivated", "message" : "The endpoint is deactivated for this project. Please enable if.. " } ] Select one: a. The API client in use doesn't have the scope to use Product Search b. Full-text Search on Products can only be used in the Merchant Center. c. Indexing of Product information is deactivated in a Project. d. Indexing of Product information is still in progress, 25. True or false. Regardless of a cart freeze, Cart Discounts that are deleted or that become invalid due to Cart Predicates not matching, are removed from the cart. Select one: a. True b. False 26. Without applying any customizations. which of the followtng Composable Commerce resources can contain or refer to customer data? Select one or more: a. DiscountCode b. Category c. Order d. Customer 27. At what level in the commercetools Product Model are Slugs and Tax categories defined? Select one: a. Category b. Product type c. Product d. Product variant 28. True or false. You can have two customers With the same email in the same project as long as they have been registered in different stores. Select one: a. True b. False 29. To ensure good performance for every project on the platform, the commercetools API imposes limits on certain parameters and objects. Where can you confirm these limits? Select one: a. API Contract b. Project settings c. Platform Release notes d. Merchant Center 30. Which HTTP API endpoint should you use if you just want to see the "current" representation of the Product? Select one: a. Product Suggestions b. Product Projections c. Products d. Product Selections 31. what should you do if you wish to be notified when a product is published, but for no other product activities? Select one: a. Subscribe to "charges" on products b. Subscribe to the ProductPublished message c. Routinely query for the ProductPublished message from the Messages endPoint d. Build a stete machine to notify you when a product has been published 32. Which taxMode should be selected to indicate that tax rates and tax calculations Will be handled external to the commercetools platform? Select one: a. Platform b. ExternalAmount c. External d. Disabled 33. Which of the following is NOT used to extend the data model in commercetools? Select one: a. API Extensions b. Custom Objects c. Custom Fields d. Types 34. In order to permanently delete personal data from the commercetools platform, what must you do? Select one: a. Set dataErasure = true and run a DELETE request b. Contact commercetools support c. Delete the project containing the data d. Run a default DELETE request 35. Which of the following statements is TRUE about tax categories in commercetools? Select one: a. All tax rates in a tax category must be defined at the state level. b. Tax categories can only contain one rate per country. c. All tax rates within a tax category must be unique amounts. d. Tax categories can include several rates per country, if different states are entered. 36. Which of the following statements about filters and facets is FALSE? Select one: a. Filters and facets are a powerful part of Product Projection Search b. Following a search, facets can often appear as checkboxes in a left-hand navigation c. Filters and facets work together to limit search results d. Filters return terms created based on the attribute values of a product set 37. Let's assume that a project has two stores configured. What is the maximum number of active Cart Discounts (not requiring a discount code) that can exist in this project. Select one: a. 200 b. 500 c. 300 d. 100 38. How can you retrieve the credentials of an existing API client? Select one: a. Client credentials are accessible from Developer settings in the Merchant Center, but only at the time of creating a new API client b. Client credentials can Be retrieved by contacting Support c. Client credentials are accessible from Developer settings jn the Merchant Center at any time d. Client credentials are accessible from ImpEx, using the Settings endpoint 39. InventorySuppIy channels often _______, and ProductDistribution channels often _______ Select one: a. represent warehouses, can be used in selecting Product price b. can be used in selecting Product price, represent warehouses c. can be used in selecting Product price, represent suppliers d. represent shipping options, determine inventory 40. Suppose you need to add a Chinese language option to your website, Including product descriptions and categories. Where in the commercetools platform can you do this? Select one or more: a. It is not possible to add new languages to existing projects b. Update Project languages using the API c. Merchant Center -> Settings -> Prqect Settings d. Merchant Center -> My Profile -> Languages 41. What is the primary use of product categories? Select one: a. Assign tax and shipping rates in bulk b. Easily edit many products at one time c. Predict appropriate product images for display d. Organize front-end navigation structures 42. Suppose you are creating a shipping method where shipping is free for orders over $4O. How can you achieve this? Select one or more: a. By defining freeAbove in the shtpping rates in the Shipping Method using the API b. By defining a cartPredtcate in the Shipping Method in the Merchant Center c. By defining a cartPredicate in the Shipping Method using the API d. By defirvng freeAbove in the shipping rates tn the Shipping Method in the Merchant Center 43. Commercetools allows you to set multiple shipping addresses for one line item in a Cart. True or false? a. TRUE b. FALSE 44. Suppose you have 90 active Cart Discounts in your project. You would like to have an additional 90 active Cart Discounts that require a Discount Code. Is this allowed, given the default limits on your project? a. Yes, the default limit on Cart Discounts without Discount Codes and with Discount Codes is 100 each b. Yes, the default Cart Discounts limit that includes all active Cart Discounts is 500 c. Yes, the limit on Cart Discounts doesn't apply to Discounts that require a Discount Code d. No, the default Cart Discounts limit that includes all active Cart Discounts is 100 45. True or False. Two Product Variants can have the same value for SKU as long as they belong to different Products. a. True b. False 46. What numbers should you provide in the Merchant Center to create a Buy 1, Get 1 Free discount? “When a customer buys ___ line items, they get ___ with ___% off.” a. 1, 1, 100 b. 2, 1, 100 c. 1, 1, 1 d. 2, 1, 1 47. Which of the following statements about filters and facets is FALSE? a. Following a search, facets can often appear as checkboxes in a left-hand navigation b. Filters return terms created based on the attribute values of a product set c. Filters and facets work together to limit search results d. Filters and facets are a powerful part of Product Projection Search 48. Which of the following message queue types is supported by Subscriptions? a. AWS SQS b. Google Cloud Pub/Sub c. Azure Service Bus d. All of the above 49. Suppose you are creating a shipping method where shipping is free for orders over $40. How can you achieve this? Select one or more: a. By defining a cartPredicate in the Shipping Method in the Merchant Center b. By defining freeAbove in the shipping rates in the Shipping Method using the API c. By defining freeAbove in the shipping rates in the Shipping Method in the Merchant Center d. By defining a cartPredicate in the Shipping Method using the API 50. Which of the the following are recommended best practices when creating Categories? a. Assign products to one category each b. Keep front-end navigation structures in mind c. Create category trees nested many levels deep d. Create multiple category trees 51. When adding a Custom Line Item to a cart, it’s price and taxes are handled by the price selection like Line Items. a. True b. False 52. Suppose a Product Projections Search is executed with the settings: text="bottle" fuzzy=true fuzzyLevel=2 Which of the following products will NOT be found? a. A product name = "battla" b. A product name = "boddel" c. A product name = "battle" d. A product name = "bottel" 53. You are creating a Cart Discount to add a gift item to the Cart when the cart total is more than 100 EUR. The quantity of Line Item to be added to the Cart as a gift can be changed. a. True b. False 54. Which of the following is NOT a potential use of the Shopping List? a. As a "save-for-later" feature for an individual customer b. As a public collection of products or recommendations c. As a product selection to be used in a store d. As a shareable list of products 55. You have to delete and recreate objects in commercetools in order to add new custom fields to them. True or false? a. TRUE b. FALSE 56. Which approach can we use to give the customer free shipping if their total cart amount is above $500? Select all that apply. Select one or more: a. Create an API Extension that can be triggered by a cart update and have it add a custom line item to any cart valued over $500 with a negative amount to whatever the current shipping rate is, which should bring the final shipping cost down to 0. b. When setting up the fixed shipping rate on a shipping method, enter $500 in the “Free above” field. c. Create a cart discount which would provide a 100% relative shipping mode discount for any cart valued over $500. 57. Suppose a product has two attributes, color and size, and is marked as “combination unique”. One variant of this product has the attribute values “red” for color and “small” for size. Which combination of attribute values will cause an error when adding a new variant? a. color: red, size: medium. b. color: red, size: small. c. color: green, size: medium. d. Both a and b 58. Shipping Methods and Cart Discounts are mapped to carts using the same cart predicate syntax. True or false? a. TRUE b. FALSE 59. For Subscription messages with notificationType ResourceUpdated, the body of the resource that has been updated is part of the payload. a. True b. False 60. As a best practice, when is it recommended to create a cart for a customer? a. The customer adds their first item to Cart b. The customer signs into your website c. The customer is ready to check out d. The customer arrives at your website 61. How would you add items that are not modeled as products, like insurance add-ons or heavy- weight transportation costs, to a cart? a. giftLineItems b. lineItems c. variants d. customLineItems 62. Which of the following discount scenarios must be implemented as a Cart Discount? a. A discontinued SKU is marked down by 50% b. Insider's Club members receive 5% off all product listings c. Subscribers receive a discount code for $15 off their next order d. All listings for women's sandals are discounted by $10 63. All Subscription payloads for CloudEventsFormat have a resource field which is a reference to the resource that triggered the message. a. True b. False 64. If more than one Product Discount matches a Price, which one will be applied? Question 40Select one: a. The discount that was first created. b. The discount that was first activated. c. The discount with the highest sortOrder. d. The discount with the lowest sortOrder. 65. Suppose you are selling a style of jeans that is available in over 10 sizes, 15 colors and 3 fits. Which of the following Product Data Models should be considered in this situation? Select one or more: a. Define each fit as a product, where color and size are variants. b. Define each size as a product, where color and fit are variants. c. Define jeans as a single product, where every size, color and fit are variants. d. Define each color as a product, where size and fit are used as variants. 66. Which of the following query parameters have an effect on facet results? Select one or more: a. filter.facets b. filter.query c. markMatchingVariants d. filter 67. What can be used as an alternative to custom objects in commercetools? Select one: a. A third-party persistence solution b. Custom types c. API extensions d. Reference expansion AYUSH_Video 1.) Which of the following is NOT used to extend the data

Use Quizgecko on...
Browser
Browser