Download IBM Cloud Platform Application Development v2.C5050-384.Prep4Sure.2018-07-17.34q.vcex

Vendor: IBM
Exam Code: C5050-384
Exam Name: IBM Cloud Platform Application Development v2
Date: Jul 17, 2018
File Size: 32 KB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
What is the first test that should be performed as part of load testing an application to evaluate performance?
  1. Baseline test
  2. Benchmark test
  3. Scalability test
  4. Compatibility test
Correct answer: A
Explanation:
The first test will be used as a baseline for performance. References: https://www.ibm.com/blogs/bluemix/2015/09/load-testing-bluemix-load-impact/
The first test will be used as a baseline for performance. 
References: https://www.ibm.com/blogs/bluemix/2015/09/load-testing-bluemix-load-impact/
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?
  1. In an associated Cloudant NoSQL database
  2. In the VCAP_SERVICES environment variable
  3. In an encrypted file within the application code
  4. 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
Question 3
What can a user do after deploying a boilerplate application?
  1. Use IBM Cloud provided test data in the application.
  2. Copy the application to another IBM Cloud region using the dashboard.
  3. Connect additional managed services to the application.
  4. Choose the runtime they wish to use for that application.
Correct answer: B
Explanation:
References: http://www.learnquest.com/assets/pdfs/3_IBM_Bluemix_boilerplates.pdf
References: http://www.learnquest.com/assets/pdfs/3_IBM_Bluemix_boilerplates.pdf
Question 4
Which OpenStack API generates authorization tokens that will enable an application or service to access objects in an IBM Bluemix Object Storage container?
  1. Stack API
  2. Swift API
  3. Karbor API
  4. Keystone API
Correct answer: B
Explanation:
IBM Object storage is based on SWIFT api . The service uses OpenStack Identity (Keystone) for authentication and can be accessed directly by using OpenStack Object Storage (Swift) API v1 calls. References: https://harishvarma8055.wordpress.com/2017/06/30/object-storagehow-to-generate-credentials-and-token-using-node-js-application-on-bluemix/
IBM Object storage is based on SWIFT api . The service uses OpenStack Identity (Keystone) for authentication and can be accessed directly by using OpenStack Object Storage (Swift) API v1 calls. 
References: https://harishvarma8055.wordpress.com/2017/06/30/object-storagehow-to-generate-credentials-and-token-using-node-js-application-on-bluemix/
Question 5
Which is a feature provided for both Managed service instances and User-provided service instances in IBM Cloud Foundry?
  1. Automatic encryption of service instance metadata.
  2. Instance lifecycle management via the Cloud Controller.
  3. Automatic creation of service instances during application deployment.
  4. Expose service instance metadata to applications via the VCAP_SERVICES environment variable.
Correct answer: D
Explanation:
When you bind a service to your application Bluemix will add details about the service to an environment variable VCAP_SERVICES. VCAP_SERVICES allows your application to discover bound services and how to access the service. User-provided services (private to an organization) can be created - accessed the same way as a Bluemix provided service.
When you bind a service to your application Bluemix will add details about the service to an environment variable VCAP_SERVICES. VCAP_SERVICES allows your application to discover bound services and how to access the service. 
User-provided services (private to an organization) can be created - accessed the same way as a Bluemix provided service.
Question 6
A developer is using the DevOps toolchains Web IDE to add a feature to an IBM Cloud application. 
After the first tests are successful, they notice that the active branch in the origin repository has changed. 
What option should they choose in the Git menu to update the branch in the workspace to the current version and then apply each commit that they have created?
  1. Push
  2. Fetch
  3. Squash
  4. Rebase
Correct answer: A
Explanation:
After you create the toolchain, you change your app’s code and push the change to the GitHub repo. When you push changes to your GitHub repo, the delivery pipeline automatically builds and deploys the code that is in the repo. References: https://www.ibm.com/blogs/bluemix/2017/04/add-toolchain-app/
After you create the toolchain, you change your app’s code and push the change to the GitHub repo. When you push changes to your GitHub repo, the delivery pipeline automatically builds and deploys the code that is in the repo. 
References: https://www.ibm.com/blogs/bluemix/2017/04/add-toolchain-app/
Question 7
Which is a valid Cloudant NoSQL Database name?
  1. Mydatabase
  2. -mydatabase
  3. myDatabase-
  4. mydatabase-
Correct answer: D
Explanation:
The database name must begin with a letter and can include only lowercase characters (a-z), numerals (0-9), and any of the following characters _, $, (, ), +, -, and /. References: https://console.bluemix.net/docs/services/Cloudant/getting-started.html#getting-started-with-cloudant
The database name must begin with a letter and can include only lowercase characters (a-z), numerals (0-9), and any of the following characters _, $, (, ), +, -, and /. 
References: https://console.bluemix.net/docs/services/Cloudant/getting-started.html#getting-started-with-cloudant
Question 8
According to the Twelve-Factor App methodology, what is a backing service?
  1. A packaging service for distributing support libraries.
  2. A service that stores user session data in memory of the application.
  3. A service that creates an in memory shadow copy of an application for redundancy.
  4. A service consumed by an application over the network as part of its normal operation.
Correct answer: D
Explanation:
A backing service is, basically, any networked attached service that your application consumes to do its job. This might be a MongoDB instance, PostgreSQL database, a binary store like Amazon’s S3, metrics-gathering services like New Relic, a RabbitMQ or ActiveMQ message queue, a Memcached or Redis-based cache, an FTP service, an email service or indeed anything else. The distinction is not so much what the service is so much as how it’s exposed and consumed in an application. References: https://dzone.com/articles/12-factor-app-style-backing
A backing service is, basically, any networked attached service that your application consumes to do its job. This might be a MongoDB instance, PostgreSQL database, a binary store like Amazon’s S3, metrics-gathering services like New Relic, a RabbitMQ or ActiveMQ message queue, a Memcached or Redis-based cache, an FTP service, an email service or indeed anything else. The distinction is not so much what the service is so much as how it’s exposed and consumed in an application. 
References: https://dzone.com/articles/12-factor-app-style-backing
Question 9
An e-commerce web site currently consists of a 2-tier web application (app server + DB) deployed on IBM Cloud: 1 webapp instance for the Java front-end and 1 Cloudant instance for the DB.
Immediately after deployment on Bluemix, the application fails to start. When reviewing the application logs the following excerpt is found:
App instance exited with guid 549fb650-8ded-43aa-b895-f230692be4b0 payload:
{... "index"=>0, "reason"=>"CRASHED", "exit_status"=>255, 
"exit_description"=>"out of memory",...} 
How can the problem be fixed?
  1. It looks like an internal Bluemix problem, open a ticket with IBM Support so they can fix it for you.
  2. Use the IBM Static Analyzer for Bluemix to run a static code analysis on the entire web application to identify memory leaks.
  3. Not enough memory is allocated to the application. Increase the memory either via the command line, in the manifest.yml file, or through the Bluemix console.
  4. The application is overloaded with more requests than it can handle. Increase the number of instances either via the command line, in the manifest.yml file or through the Bluemix console.
Correct answer: C
Explanation:
As the application fails to start the most likely cause of the problem is that the application does not have enough memory. Note: Receiving an OutOfMemoryError normally means one of two things:You heap size is not large enough for the memory requirement of the application. You have a memory leak The quickest thing to try would be to increase the memory allowance for your application, which will also increase the Java heap size for you. You can do this using a "memory" entry in the manifest.yml. For the second, you really need to generate a heapdump so that you can analyse the problem using Memory Analyzer. References: https://developer.ibm.com/answers/questions/29036/out-of-memory-error-on-bluemix-app.html
As the application fails to start the most likely cause of the problem is that the application does not have enough memory. 
Note: Receiving an OutOfMemoryError normally means one of two things:
  1. You heap size is not large enough for the memory requirement of the application. 
  2. You have a memory leak 
The quickest thing to try would be to increase the memory allowance for your application, which will also increase the Java heap size for you. You can do this using a "memory" entry in the manifest.yml. 
For the second, you really need to generate a heapdump so that you can analyse the problem using Memory Analyzer. 
References: https://developer.ibm.com/answers/questions/29036/out-of-memory-error-on-bluemix-app.html
Question 10
Which two of the following can be performed directly with the IBM Cloud Functions CLI plug-in? (Select two.)
  1. Add ACL to a package.
  2. Create package bindings.
  3. List entities in a package.
  4. SSH into the server running an action.
  5. Encrypt code associated with an action.
Correct answer: BC
Explanation:
B: Although you can use the entities in a package directly, you might find yourself passing the same parameters to the action every time. You can simplify the process by binding to a package and specifying default parameters, which are inherited by the actions in the package.Example: Bind to the /whisk.system/samples package and set a default place parameter value.wsk package bind /whisk.system/samples valhallaSamples --param place Valhalla ok: created binding valhallaSamplesC:  Several packages are registered with Cloud Functions. You can get a list of packages in a namespace, list the entities in a package, and get a description of the individual entities in a package.Example: Get a list of packages in the /whisk.system namespace.wsk package list /whisk.system Note: Using the Cloud Functions CLIOnce the environment is configured, you can use the Cloud Functions CLI to perform the following tasks:Run your code snippets, or actions, on Cloud Functions Use triggers and rules to enable your actions to respond to events. Learn how packages bundle actions and configure external events sources. Explore the catalog of packages and enhance your applications with external services, such as a Cloudant event source. References: https://console.bluemix.net/docs/openwhisk/openwhisk_packages.html#openwhisk_packages
B: Although you can use the entities in a package directly, you might find yourself passing the same parameters to the action every time. You can simplify the process by binding to a package and specifying default parameters, which are inherited by the actions in the package.
Example: Bind to the /whisk.system/samples package and set a default place parameter value.
wsk package bind /whisk.system/samples valhallaSamples --param place Valhalla 
ok: created binding valhallaSamples
C:  Several packages are registered with Cloud Functions. You can get a list of packages in a namespace, list the entities in a package, and get a description of the individual entities in a package.
Example: Get a list of packages in the /whisk.system namespace.
wsk package list /whisk.system 
Note: Using the Cloud Functions CLI
Once the environment is configured, you can use the Cloud Functions CLI to perform the following tasks:
  • Run your code snippets, or actions, on Cloud Functions 
  • Use triggers and rules to enable your actions to respond to events. 
  • Learn how packages bundle actions and configure external events sources. 
  • Explore the catalog of packages and enhance your applications with external services, such as a Cloudant event source. 
References: https://console.bluemix.net/docs/openwhisk/openwhisk_packages.html#openwhisk_packages
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!