nerdexam
Adobe

AD0-E121 · Question #13

A customer wants to place lag manager scripts on its pages based on the environment The three environments are as follows: - Dev Environment - QA Environment - Production Environment The Business…

The correct answer is B. Runmodes. Runmodes are an AEM (Adobe Experience Manager) feature that allows configurations to be applied based on the specific environment an instance is running in - such as dev, qa, or prod. By defining environment-specific OSGi configurations tied to runmodes, the correct tag manager…

Administering and Maintaining Sites

Question

A customer wants to place lag manager scripts on its pages based on the environment The three environments are as follows:

  • Dev Environment
  • QA Environment
  • Production Environment

The Business practitioner needs to recommend a feature so that the scripts are loaded in the correct environment. What should the Business Practitioner recommend the company use?

Options

  • AHost names
  • BRunmodes
  • CAdobe Target
  • DReplication Agent

How the community answered

(45 responses)
  • A
    9% (4)
  • B
    84% (38)
  • C
    4% (2)
  • D
    2% (1)

Explanation

Runmodes are an AEM (Adobe Experience Manager) feature that allows configurations to be applied based on the specific environment an instance is running in - such as dev, qa, or prod. By defining environment-specific OSGi configurations tied to runmodes, the correct tag manager script variant is automatically loaded without manual intervention or code changes.

Why the others are wrong:

  • A. Host names - While host names can identify environments, AEM has no native mechanism to conditionally load scripts based on them; this is not the recommended approach.
  • C. Adobe Target - Target is a personalization and A/B testing tool, not an environment configuration mechanism.
  • D. Replication Agent - Replication Agents push content from Author to Publish instances; they play no role in determining which scripts load per environment.

Memory tip: Think of Runmodes as "Run this config when the server is in this mode" - each environment gets its own "mode" and AEM runs the matching configuration automatically.

Topics

#Runmodes#Environment Configuration#Script Loading#Site Administration

Community Discussion

No community discussion yet for this question.

Full AD0-E121 Practice