Question 2
Where does IBM Bluemix store information necessary to allow an application to interact with IBM Data Connect using the Data Load REST API?
In an associated Cloudant NoSQL database
In the VCAP_SERVICES environment variable
In an encrypted file within the application code
In a cookie placed on the developer’s computer when creating the service
Correct answer: B
Explanation:
To ensure that your app can interact with a Data Connect service instance, add code to your app to parse the connection information in the VCAP_SERVICES environment variable. The value of the VCAP_SERVICES environment variable contains the information that your app needs in order to interact with the Data Connect service. In the first REST method that your app calls, use the user ID and password from the VCAP_SERVICES environment variable to authenticate by using HTTP basic access authentication. The first call returns an authentication cookie, which other REST calls from your app can use. References: https://console.bluemix.net/docs/services/dataworks1/index.html#getting-started-with-data-connect
To ensure that your app can interact with a Data Connect service instance, add code to your app to parse the connection information in the VCAP_SERVICES environment variable.
The value of the VCAP_SERVICES environment variable contains the information that your app needs in order to interact with the Data Connect service.
In the first REST method that your app calls, use the user ID and password from the VCAP_SERVICES environment variable to authenticate by using HTTP basic access authentication. The first call returns an authentication cookie, which other REST calls from your app can use.
References: https://console.bluemix.net/docs/services/dataworks1/index.html#getting-started-with-data-connect