nerdexam
Huawei

H13-831_V2.0 · Question #2

Which of the following microservice configuration item sources has the highest priority?

The correct answer is A. microservice.yaml file. In certain microservice frameworks (particularly those common in Chinese cloud/enterprise certifications), the local microservice.yaml file is treated as the highest-priority configuration source because it represents the most service-specific, developer-intentional…

Cloud Governance, O&M, and DevOps Architecture

Question

Which of the following microservice configuration item sources has the highest priority?

Options

  • Amicroservice.yaml file
  • BSystem Property
  • CConfiguration Center
  • DEnvironment variables

How the community answered

(33 responses)
  • A
    79% (26)
  • B
    12% (4)
  • C
    3% (1)
  • D
    6% (2)

Explanation

In certain microservice frameworks (particularly those common in Chinese cloud/enterprise certifications), the local microservice.yaml file is treated as the highest-priority configuration source because it represents the most service-specific, developer-intentional configuration - acting as a direct, hardcoded override that takes precedence over all runtime-injected values.

Why the distractors are wrong:

  • B (System Property): System properties are injected at runtime (e.g., via JVM -D flags) and rank below the local service config file in this priority model.
  • C (Configuration Center): External config centers (e.g., Nacos, Apollo) provide centralized but lower-priority defaults that the local file can override.
  • D (Environment variables): Env vars are OS/container-level settings and sit below the local YAML in this framework's defined hierarchy.

Memory tip: Think of it as "closest to the code wins" - the file bundled directly with the microservice (microservice.yaml) is the most intentional and specific configuration, so it takes top priority, while external sources (config center, env vars, system props) are progressively more "distant" and thus lower priority.

Note: This priority ordering is framework/exam-specific. In standard Spring Boot, command-line args and system properties typically outrank config files - so confirm which framework your exam targets.

Topics

#Microservice Configuration#Configuration Priority#Configuration Hierarchy#Cloud Native

Community Discussion

No community discussion yet for this question.

Full H13-831_V2.0 Practice