nerdexam
Cisco

300-910 · Question #83

An application communicates with multiple third-party services that use API keys. When stress testing the system, developers must change the URLs of the third-party services. The application must run

The correct answer is C. application parameters. To efficiently manage frequently changing URLs, API keys, and port numbers during application stress testing, application parameters are the most suitable configuration management approach.

Application Deployment and Operations

Question

An application communicates with multiple third-party services that use API keys. When stress testing the system, developers must change the URLs of the third-party services. The application must run on port 5000. But the developers must be able to change the port at runtime if required. Which configuration management approach simplifies the development workflow and reduces the configuration changes?

Options

  • Asecrets
  • Bsane defaults
  • Capplication parameters
  • Dconfig maps

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    11% (3)
  • C
    79% (22)
  • D
    4% (1)

Why each option

To efficiently manage frequently changing URLs, API keys, and port numbers during application stress testing, application parameters are the most suitable configuration management approach.

Asecrets

Secrets are designed for sensitive information requiring secure storage and access, not for general configuration values like dynamic URLs or port numbers that are frequently changed during testing.

Bsane defaults

Sane defaults provide initial reasonable values but do not offer the dynamic, runtime flexibility needed to change critical configurations such as service URLs or ports easily.

Capplication parametersCorrect

Application parameters, often implemented as environment variables or configuration files, allow for externalizing configurable values like service URLs, port numbers, and API keys from the application's codebase. This approach enables developers to modify these settings easily at runtime without the need to recompile or redeploy the application, which is particularly beneficial during development and stress testing scenarios requiring dynamic configuration changes.

Dconfig maps

Config maps are a Kubernetes-specific resource for storing non-sensitive configuration data and represent a specific implementation of externalized configuration, whereas 'application parameters' is a broader, more fundamental concept covering this requirement.

Concept tested: Externalizing application configuration via parameters

Source: https://learn.microsoft.com/en-us/azure/architecture/best-practices/configuration

Topics

#Configuration Management#Application Configuration#Externalized Configuration#Development Workflow

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice