C5050-285 Premium Bundle

C5050-285 Premium Bundle

IBM Cloud Platform Application Development V1 Certification Exam

4.5 
(15645 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 23, 2024Last update

IBM C5050-285 Free Practice Questions

Q1. 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:

Q2. While using the Web IDE in IBM Bluemix DevOpsServices, there is a need to change the 

Bluemix deployment region from US South to the United Kingdom. What must be edited? 

A. Launch Configuration 

B. IBM Bluemix DevOps Services User Profile 

C. IBM Bluemix PaaS manifest file (manifest.yml) 

D. application configuration file (package.json or server.xml) 

Answer:

Q3. A developer has an application based on the Liberty profile running in IBM Bluemix PaaS. The developer wants to maintain high availability on HTTP sessions. What is the benefit of using IBM Bluemix Session Cache service? 

A. Session data is shared across different browsers. 

B. Session data is automatically stored in remote file systems. 

C. Session data is encrypted and stored in a MySQL database. 

D. Session data is recovered after an application instance crashes. 

Answer:

Q4. When a Node.js application is configured for IBM Bluemix Live Sync Debug mode, opening the url https://<app-host>.mybluemix.net/bluemix-debug/manage shows: 

What will occur when the Restart button is selected? 

A. Redeploy and restart the application. 

B. Restart without redeploying application. 

C. Restart the managed services and not the application. 

D. Recycle the application memory and jump to the current breakpoint. 

Answer:

Q5. A developer is creating an application to search social media for pictures with specific content, What IBM Bluemix PaaS service should they use? 

A. DreamFace 

B. AlchemyAPI 

C. Personality Insights 

D. Monitoring and Analytics 

Answer:

Reference:http://www.alchemyapi.com/api/image-link-extraction 

Q6. Which three features are provided by IBM Bluemix DevOps Services?(Select three.) 

A. web code editor B. Delivery Pipeline 

C. database management 

D. application usage statistics 

E. source control management 

F. automatic unit test generation 

Answer: A,B,E 

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 24) 

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. 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:

Q9. Which component is responsible for managing the deployment of an application running in IBM Bluemix PaaS? 

A. Router 

B. Load Balancer 

C. Health Manager 

D. Cloud Controller 

Answer:

Q10. What is an example of an Auto-Scaling ServicePolicyRule in IBM Bluemix PaaS? 

A. If the application is not accessed for 600 seconds, remove one instance. 

B. If the average disk space utilization exceeds 99%, add dynamic disk storage. 

C. If the average memory utilization exceeds 80% for 600 seconds, add one instance. 

D. If the average memory usage exceeds 80% for 300 seconds, add 64 MB of memory. 

Answer:

Q11. 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:

Q12. A developer wants to deploy and start a large application to IBM Bluemix PaaS. When they enter the commandcf push appname, the following error is shown: 

0 of 1 instances running, 1 starting 0 of 1 instances running, 1 down FAILED Start app timeout 

What option is available for the developer to resolve the issue? 

A. Increase the start timeout in manifest.yml of the application. 

B. Increase the deploy timeout in manifest.yml of the application. 

C. Increase the upload timeout in manifest.yml of the application. 

D. Increase the staging timeout in manifest.yml of the application. 

Answer:

Reference:http://www.paasmag.com/2015/06/22/resolving-bluemix-application-push-failures-application-startup-errors/ 

Q13. 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. 

Q14. Which two actions can be performed using IBM DataWorks Forge? (Select two.) 

A. create a new SQL database 

B. join data from multiple tables 

C. assess quality of sample data 

D. generate large sample datasets 

E. perform bulk updates to tables using natural language 

Answer: B,C 

Q15. Based on the Twelve-Factor App methodology, where is the best place to store external configuration credentials in IBM Bluemix PaaS? 

A. in the source code 

B. in a user configuration file 

C. in an application database 

D. in the VCAP_SERVICESenvironment variable 

Answer:

Explanation: 

Provide any additional configuration information through the VCAP_SERVICES environment variable. Services that are bound to an application also populate VCAP_SERVICES with their configuration attributes. 

Q16. What is a Stage Trigger in Delivery Pipeline? 

A. an action that adds a new stage 

B. an action that tells a job when to execute 

C. an action that pushes code changes to git 

D. an action that updates a work item in Track & Plan 

Answer:

Q17. What is a boilerplate in IBM Bluemix PaaS? 

A. a script to build applications from scratch 

B. a service that can be bound to application 

C. a combination of a runtime and predefined services 

D. an external service that can be consumed by application 

Answer:

Explanation: 

Boilerplate consists of a combination of runtime and predefined services. Because they contain a runtime and set of services for a particular solution type, they can be used to quickly get an application up and running. 

Q18. 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 

Q19. The following document exists in a Cloudant database namedinvoicescreated by usercandidate 

What information is required in order to delete it? 

A. the document’s_idonly 

B. the document_idanduser 

C. the document’s most recent_revvalue only 

D. the document’s_idand most recent_revvalue 

Answer:

Explanation: 

To delete a document you need its _id and _rev, the easiest way to get the _rev for a known document _id is to issue a HEAD request against the document: 

Command 

curl -i -X HEADhttps://[username].cloudant.com/crud/[doc_id] 

Response 

HTTP/1.1 200 OK X-Couch-Request-ID: 89d9d456 Server: CouchDB/1.0.2 (Erlang OTP/R14B) ETag: "2-e4b98cc0fc2a181e4eb26f8ad41fa5fe" Date: Mon, 04 Jun 2012 14:47:15 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 113 Cache-Control: must-revalidate 

Q20. Which twostatements are correct regarding SQL scripts in the dashDB Service Web Console to manage instances in the IBM Bluemix PaaS?(Select two.) 

A. The script can be validated prior to running it. 

B. A script can be named and saved for later use. 

C. Syntax errors in the script can only be detected when the script is run. 

D. Unless specified otherwise via the dashDB configuration, Informix SQL syntax is used. 

E. Scripts can only containSQL INSERT, SQL UPDATE, and DDLcommands to create tables and views. 

Answer: B,D 

Q21. What are three types of work items available in the IBM Bluemix DevOps Services Track & Plan feature?(Select three.) 

A. PMR 

B. Task 

C. Story 

D. Sprint 

E. Defect 

F. Test Plan 

Answer: B,C,E 

Explanation: 

. Bluemix DevOps Services - Track & Plan supports typical activities conducted during agile projects, such as backlog management, sprint planning, and daily scrums 

. Understand work items in Track & Plan like epic, story, task, and defect 

On an agile project, features to implement are captured in a product backlog, then the team identifies the work for the next Sprint in the Sprint Backlog. 

Q22. When creating a new project in IBM Bluemix DevOps Services, which action is performed when Link to an existing repository is selected? 

A. An existing GitHub repository is linkedto the project by giving IBM DevOps Services access to a specified GitHub account. 

B. An existing Git project on the developer’s local machine is linked to the project. 

C. An existing GitHub repository is linked to the project using anonymous access. 

D. An existing user’s project in IBM DevOps Services is linked to the project. 

Answer:

Q23. In a hierarchical organization of related work items in the Track and Plan feature of IBM Bluemix DevOps Services, which type of work item would be at the top? 

A. Epic 

B. Task 

C. Story 

D. Detect 

Answer:

Q24. Which step must be taken in an application to use the IBM Single Sign On service for Bluemix PaaS? 

A. implement an authentication callback 

B. implement a login form requesting User ID and password 

C. configure the OAuth 2.0 client with the SSO service credentials 

D. securely store user credentials used for the external authentication 

Answer:

Q25. Which two capabilities are available in the dashDB Service Web Console to manage instances in IBM Bluemix PAAS?(Select two.) 

A. sync data from an instance of Cloudant 

B. load Comma Separated Values (CSV) from an external file 

C. load relational data directly from another instance of dashDB 

D. load relational data directly from an instance of SQL Database 

E. load time series data directly from an instance of the Time Series database 

Answer: B,E 

Q26. What are the two key elements defined in an Organization inIBMBluemix PaaS?(Select two.) 

A. Cities 

B. Users 

C. Routers 

D. Spaces E Regions 

Answer: B,D 

Explanation: 

Organizations and spaces are organizational units in the infrastructure that can store and track application resources. An organization contains domains, spaces, and users. A space contains applications and services. The default spaces are Development, Production, and Staging. 

Reference:http://www.ibm.com/developerworks/cloud/library/cl-bluemix-summary/ 

Q27. What is the output of thecf appscommand? 

A. a list of all the applications and services for the developer’s organization 

B. a list of services bound to each application for the developer’s organization 

C. a list of all the running applications on IBM Bluemix PaaS with application owner ID 

D. a list of all the applications in the developer’s space with the name and resource utilization 

Answer:

Q28. When defining a Cloudant view, what must be defined? 

A. a map function 

B. a sort function 

C. a reduce function 

D. a rereduce function 

Answer:

START C5050-285 EXAM