Knowledge Check Answers

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Improves page load times

Minimal Document Object Model (DOM)

Minimizes code during deployment to speed up download and caching of resources

BuildSuite

Lets you load a single image file rather multiple image files

CSS sprite

Retains readability of code during development

Concatenation during deployment

1. Suppose you need to store data across sessions. Which storage strategy or strategies would you use? Select all that apply. Sessions External Systems Custom and System Objects Cookies HTML5

Cookies HTML5

Which storage strategy is most efficient for storing legacy order data? Sessions External Systems Custom and System Objects Cookies HTML5

External Systems

Separates HTML and JavaScript layers

Unobtrusive JavaScript

1. Displaying random products is a creative approach for dealing with: a. Unresponsive checkout services b. Caching failures c. Recommendation timeouts d. Open Commerce API exceptions e. Locked OCAPI services

Answer: c

1. Object quotas limit: a. The number of objects of a particular type per site. b. The amount of memory used to store objects. c. The number of object of a particular type per instance. d. The number of objects used in a pipeline.

Answer: c

When should you use page caching? Select all that apply. The Knowledge Check answer key is on the following page. a. On sandbox, development, and staging instances b. For customer-specific information c. For static content d. For pages that are updated frequently e. For the most heavily visited pages

Answer: c, e.

In the following question, select the ISML code segments you can use to cache the refinement panel (represented as C in the diagram)? Select all that apply. a. Use <iscomponent pipeline ="MyRefine-Start"/> where the MyRefine-Start pipeline generates an ISML template that contains <iscache type="relative" hour="24"/>. b. Use <isinclude template="search/components/myrefinebar"/>. where the included template, myrefinebar, contains <iscache type="relative" minute="30" varyby="price_promotion"/>. c. Use <isinclude template="search/components/myrefinebar"/> where the included template, myrefinebar, contains <iscache type="relative" hour="24"/>. d. Use <isinclude url="$URLUtils('MyRefine-Start')}"/> where the MyRefine- Start pipeline generate an ISML template that contains <iscache type="relative" hour="24"/>.

Answers: a and d. Use remote includes to cache partial pages using the <isinclude url=""> or the <iscomponent pipeline=...> syntax.

2. The Demandware Data Usage Policy provides an outline for specific data usage components, including: a. data-transfer (DT) b. data-processing (DP) c. data-mining (DM) d. data-storage (DS)

Answers: a, b, d

1. Which of the following are methods of reducing the number of HTTP requests to the server? Select all that apply. a. Use aggregated images to optimize image processing. b. Separate the templates from the pipelines. c. Include in-line JavaScript within the HTML. d. Minify CSS and JavaScript files. e. Cache the CSS style sheets.

Answers: a, d

2. Select all that apply to the Open Commerce API: a. OCAPI lets you set a different timeout for each service. b. The timeout for OCAPI is 1 second by default. c. To configure OCAPI, you use the Service Framework. d. The OCAPI configuration is specified in JSON. e. Disable OCAPI web services using Business Manager site preferences.

Answers: a, d

2. Which API methods might you use instead of the methods in this script? Select all that apply. a. ProductSearchModel.orderableProductsOnly() b. GetProductListpipelet c. ProductMgr.getRepresentedVariationValues() d. ProductSearchHit.getRepresentedVariationValues() e. Search pipelet

Answers: a, d, e

Which of these statements about site performance and scalability are true? Select all that apply. The Knowledge Check answer key is on the following page. a. It's important to minimize the transactions that pass from the database to the data grid. b. Web site efficiency is influenced by integrations with external systems. c. Scalability is a result of platform stability and optimal performance. d. The platform scales best when the web tier handles most requests. e. An optimal ratio of database-to-app-server transactions and from app-server-to-web-server transactions is 100:10:1.

Answers: b, c, and d.

1. What are some possible reasons for the poor performance? Select all that apply. a. The script checks for master products using product.master. b. The script iterates over products to determine if a product is a variant. c. The script returns a custom color by iterating over custom objects. d. The script post-processes search results returned using the ProductMgr class. e. The script uses the Search API's availability model to determine if the product variation exists.

Answers: b, d

2. Suppose you need to store data across sessions but you don't want to send the data with each request. Which storage strategy or strategies would you use? Select all that apply. Sessions External Systems Custom and System Objects Cookies HTML5

HTML5

Which storage strategy or strategies let you save state information within a session? Select all that apply. Sessions External Systems Custom and System Objects Cookies HTML5

Sessions Custom and System Objects


संबंधित स्टडी सेट्स

Quiz: Parallel Structure and Misplaced and Dangling Modifiers

View Set

Chapter 12, 13, and 14 Revel Questions

View Set

Chapter 12: International Bond Market

View Set

Sociology- Qualitative and Quantitative research

View Set

Necessary and sufficient Practice

View Set