C5050-285 Exam - IBM Cloud Platform Application Development V1

certleader.com

Q1. How are managed services from the IBM Bluemix PaaS catalog used in an application? 

A. Services can only be used by anIBM Bluemix PaaS application with a signed one year agreement. 

B. Services can be found through the IBM Cloud Marketplace and must be purchased before using them. 

C. Services are ready for immediate use and can be used by any IBM Bluemix PaaS application after binding. 

D. Services must be downloaded from IBM, third-party, or community locations and installed on a virtual machine before using them. 

Answer:

Q2. What allows for the sharing of variables across any job in a stage in the Delivery Pipeline of IBM Bluemix DevOps Services? 

A. environment properties 

B. the Admin options in the Project settings 

C. a flag passed to the job when it is executed 

D. a setting in the project’s properties called Shared Variables 

Answer:

Q3. A developer is going into production with aconsumerweb application in IBM Bluemix PaaS. The developer is keen to understand how the application is performing to maximize customer retention. 

The scaling history for the application shows repetitive scale out and scale in actions. To reduce resources used by each instance startup, the developer wants the scaling service to wait longer before taking action. What parameter should be changed and how? 

A. increase the cooldown period for scaling in 

B. decrease the cooldown period for scaling in 

C. increase the cooldown period for scaling out 

D. decrease the cooldown period for scaling out 

Answer:

Q4. How are viewscreated in Cloudant? 

A. by creating a PrimaryIndex withdoc id’s 

B. by creating a Secondary Index with doc id’s 

C. by creating a Primary Index using the Map function 

D. by creating a Secondary Index using the Map function 

Answer:

Q5. Which operation is supported by the development mode in Eclipse Tools for Bluemix in IBM Bluemix PaaS? 

A. initiate remote debug sessions with that application instance 

B. scale the application while load testing for development purposes 

C. send emails to developer when bug is hit or crash occurs on the application instance 

D. help develop the application by lockingthe access to the application and allowing a fix while nobody else can use it 

Answer:

Reference:https://www-304.ibm.com/partnerworld/wps/servlet/download/DownloadServlet?id=7do7u9UN5SciPCA $cnt&attachmentName=Study_Guide_C5020_285.pdf&token=MTQ1MzQwMDAwNDE0Mg ==&locale=en_ALL_ZZ(page 12) 

Q6. Applications A, B and C are configured to use IBM MQ Light for Bluemix messaging capabilities. Application A publishes messages as shown in the diagram. What messages are received by Applications B and C? (Select two.) 

A. Application C receives “My” “World” 

B. Application B receives “Hello” “World” 

C. Application B receives “Hello” “Bluemix” D. Application B receives “Hello” “My” “Bluemix” “World” 

E. Application C receives “Hello” “My” “Bluemix” “World” 

Answer: D,E 

Q7. In IBM Bluemix PaaS, what function is performed by the Router? 

A. controlling the number of application instances 

B. providing health status of running application instances 

C. routing log traffic to a third-party log management service 

D. provides request routing to access a running application instance 

Answer:

Q8. A developer’s application is falling to work correctly in IBM Bluemix PaaS. The developer is unsure if the problem is caused by a bad environment value or a bug in the code. How should they proceed? 

A. Rebind the service associated with VCAP_SERVICES. 

B. Usecf env <app_name>to get all the environment variables forthe application. 

C. Delete the service associated with VCAP_SERVICES and recreate it without rebinding. 

D. Usecf set-env <app_name>to set all environment variables to null for the application. 

Answer:

Q9. Applications A and B are configured to use IBM MQ Light for Bluemix messaging capabilities. Application A publishes messages to a topic. Application B subscribes to the same topic in order to receive the messages published by Application A. What occurs when Application A publishes the message after Application B goes down? 

A. Destination stores the message and it will be received if Application B comes back up before the destination time-to-live expires. 

B. Application A receives a notification from the destination that Application B is down. 

C. Topic stores the message forever, and the message will be received by Application B after it comes back up. 

D. Destination stores the copy of the message for one hour. If Application B does not come back up within one hour the message will be lost. 

Answer:

Explanation: 

MQ Light messaging provides two models for delivery assurance, at most once, and at least once. The first is appropriate when occasional loss of data caused by a communication disruption is acceptable, and the second is required when there can be no loss of data. When using at least once, duplicate messages may appear around communication disruptions and they should to be programmatically discarded. MQ Light buffers messages based upon message and destination time-to-live. When an application subscribes to a topic it may specify a destination time-to-live, which will cause MQ Light to store messages at the destination in the event of a receiving application crash. After the destination time-to-live exipres, MQ Light will discard all held messages and stops storing new messages. 

Q10. Which statement is correct regarding the capabilities available on the Run Query tab shown in the image of the SQL DatabaseServiceweb console to manage instances in IBM Bluemix PaaS? 

A. OnlySQL SELECTstatements are allowed. 

B. The queries can only be generated through a wizard. 

C. Queries can use JSON documents as SQL command arguments. 

D. A maximum of 500 rows of data can be returned from each query. 

Answer: