H12-111_V2-5 practice question 7 of 25

When a northbound application calls the authentication interface, what parameter is required ()?

Full set: 176 questions
Answer options
A: appid
B: secret
C: Appid and secret . Correct answer
D: access token
Correct Answer:
C. Appid and secret .
Explanation

To authenticate a northbound application with the Huawei IoT platform (IoTDA, formerly OceanConnect), the application must make an API call to the authentication interface. This call requires the application to provide its unique credentials, which consist of the Application ID (appId) and the corresponding Application Secret (secret). The platform uses these two parameters to verify the application's identity. Upon successful verification, the platform returns an access token for use in subsequent API calls.

Why Incorrect

A. The appid alone only identifies the application; it does not prove its identity and is therefore insufficient for secure authentication.
B. The secret alone is meaningless without the corresponding appid to identify which application it belongs to.
D. The access token is the output of a successful authentication request, not an input parameter for the initial authentication.

References

1. Huawei Cloud. (2024). IoT Device Access API Reference > Application Authentication > Authenticating an Application. In the request body parameters for the POST /v5/iot/{projectid}/auth/token API, both appId and secret are listed as mandatory string parameters. Huawei Cloud Documentation.

2. Huawei. (2020). HCIA-IoT V2.5 Training Material (H12-111). Chapter: "IoT Platform Northbound Interface Design and Development," Section: "Application Authentication." This section details the authentication flow, specifying that appId and secret are required to obtain a token.

Scroll to Top