M70-301

Review 107 M70-301 practice questions with answer explanations and community insights.

Question 1

Which of the following is the correct code for assigning a custom template file using layout XML?

  1. <block type=ג€core/text_listג€ name=ג€custom.templateג€ template=ג€ folder/custom_template.phtmlג€/>
  2. <block type=ג€core/templateג€ name=ג€custom templateג€ template=ג€ folder/custom_template.phtmlג€/>
  3. <block type=ג€block/templateג€ name=ג€custom templateג€ template=ג€ folder/custom_template.phtmlג€/>
  4. <block type=ג€cms/blockג€ name=ג€custom.templateג€ template=ג€ folder/custom_template.phtmlג€/>
  5. <block type=ג€block/htmlג€ name=ג€custom templateג€ template=ג€ folder/custom_template.phtmlג€/>

Question 2

You want to create a wrapper block that uses an HTML tag name which is set by the action setHtmlTagName. The wrapper block should render all its child blocks within the HTML tag. Which block type should you use to create the wrapper block?

  1. page/html
  2. page/wrapper
  3. page/div wrapper
  4. page/html_wrapper

Question 3

You want to figure out which phtml-files are rendering in the front end. Which developer tool helps you do that?

  1. Profiler
  2. Exception.log
  3. Block Class Names
  4. Template Path Hints
  5. System.log

Question 4

Which is the correct order of the three types of translations by priority (1 = highest, 3 = lowest)?

  1. 1. Database (Inline) translation 2. Module translation 3. Theme translation
  2. 1. Database (Inline) translation 2. Theme translation 3. Module translation
  3. 1. Module translation 2. Database (In line) translation 3. Theme translation
  4. 1. Theme translation 2. Database (In line) translation 3. Module translation

Question 5

Which piece of code creates a url that links to the store pages in transactional email templates?

  1. { {store url= ג€ ג€}}
  2. { { store_page url= ג€ ג€} }
  3. { { store_url= ג€ ג€} }
  4. { { store_name url= ג€ ג€} }
We are moving to a new platform

CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.