Tuesday 5 December 2017

IBM Bluemix Application Development & Certification Paper 2

IBM Bluemix Application Development & Certification

IBM Bluemix is a cloud platform as a service developed by IBM. It supports several programming languages and services as well as integrated DevOps to build, run, deploy and manage applications on the cloud.




Bluemix™ is the latest cloud offering from IBM®. It enables organizations and developers to quickly and easily create, deploy, and manage applications on the cloud. Bluemix is an implementation of IBM's Open Cloud Architecture based on Cloud Foundry, an open source Platform as a Service (PaaS). Bluemix delivers enterprise-level services that can easily integrate with your cloud applications without you needing to know how to install or configure them. This article gives a high-level description of Cloud Foundry and Bluemix and outlines the features and services that were part of the open beta of Bluemix, which make it a compelling PaaS in the market today.



What is Cloud Foundry?

Cloud Foundry is an open source platform as a service (PaaS) that lets you quickly create and deploy applications on the cloud. Because of its open source roots, Cloud Foundry is not vendor specific and does not lock you into proprietary software or cloud infrastructure. Cloud Foundry abstracts the underlying infrastructure needed to run a cloud, letting you focus on the business of building cloud applications. The beauty of Cloud Foundry is that it provides choice. Developers and organizations can choose:

Development Frameworks: Cloud Foundry supports Java™ code, Spring, Ruby, Node.js, and custom frameworks.

Application Services: Cloud Foundry offers support for MySQL, MongoDB, PostgreSQL, Redis, RabbitMQ, and custom services.


Clouds: Developers and organizations can choose to run Cloud Foundry in Public, Private, VMWare and OpenStack-based clouds.

Cloud Foundry's ability to provide choice comes through buildpacks, a convenient way to package frameworks and runtimes. Buildpacks can be community based, custom built, or built from scratch. In other words, if you cannot find a framework or service buildpack that suits your needs, you could modify an existing buildpack or create your own. By using buildpacks, companies are able to provide enterprise-level services like the Bluemix cloud offering.

What is Bluemix?

Bluemix is an implementation of IBM's Open Cloud Architecture, based on Cloud Foundry, that enables you to rapidly create, deploy, and manage your cloud applications. Because Bluemix is based on Cloud Foundry, you can tap into a growing ecosystem of runtime frameworks and services. In addition to providing additional frameworks and services, Bluemix provides a dashboard for you to create, view, and manage your applications and services as well as monitor your application's resource usage. The Bluemix dashboard also provides the ability to manage organizations, spaces, and user access.

Bluemix provides access to a wide variety of services that can be incorporated into an application. Some of these services are delivered through Cloud Foundry. Others are delivered from IBM and third party vendors. New and enhanced services are added to the catalog often. To see the current list of runtimes and services, and their status go to the Bluemix catalog.

Some of the commonly used runtimes are:
  • Node.js
  • PHP
  • Python
  • Ruby
IBM Cloud Certification Application Developer Exam Questions and Answers

IBM Bluemix Application Development & Certification Paper 2


1.In IBM Bluemix Cloud Foundry what happens when an application that can only be handled by a single system buildpack is deployed without a buildpack being specified?
A The buildpack with the highest priority is used
B The buildpack with the lowest position number will be used
C The user is prompted during deployment to confirm the appropriate buildpack
D The buildpack is determined based on the files being deployed with the application

2.When following the Twelve-Factor App methodology, what should a web process fo when it receives a SIGTERM signal from the process manager?
A Shut down gracefully
B Initiate a sudden death routine
C Immeditately disconnect client sessions
D Return the current request to the work queue

3.Which statement describes an IBM Bluemix quota?
A The quota represents the number of user accounts allocated to the organisation for Bluemix usage
B The quota is the minimum spending threshold for the organization as establish by a subscription plan
C The quota represents the number of compute nodes allocated to the organization for Bluemix usage
D The quota represents the resource limits for the organization, which is assigned when the organization is created

4. Which statement is true regarding IBM Bluemix catalog third party services?
A Third party services are not available in the UK region
B Third party services are provided by a company other than IBM
C Third party serrvices are always created by thhe IBM Bluemix Garage
D Third party services can receive fixes from IBM support if users encounter a defect

5.How can a developer require that certain conditions are met before proceeding to the next stage of a deployment pipeline?
A Set a trigger in stage configuration page
B Specify EXIT at the end of the stage script
C Include the conditions in the environment propteries of the deploy job
D Add a test job and check the box " Stop running this stage if this job fails"

6.According to the IBM Reference implementation of a cloud native Omnichannel application, which developers should own the code that UIs use to interface with the backend services?
A The developers of each type of UI should own a component to call backend services used by that UI
B The developers for each microservice with a public API should own a public gateway compnent for the service
C A common messaging based server component should be ownedd by a small team of developers and used for all UI types
D A common REST based server API component should be owned by a small team of evelopers and user for all UI types

7.A developer has modified and saved a local file with a code editor. They want to update the repository master to trigger a build and deploy using an IBM Bluemix DevOps toolchain. The response to git push is:
Everything up-tp-date
What did the developer forget to do?
A They forgot to clone the master repository to thier local workstation
B They forgot to add and commit the changed file
C They forgot to switch to the master branch
D They forgot to fork the master repository

8.What is an IBM Bluemix Public Region?
A A bluemix service thast stores load-balanced data across data centers for resilience
B Multiple inter-linked applications that are deployed into Bluemix across data centers
C A term related to billing when an organization has multiple departments that use Bluemix
D A geographical territory that is available to organizations into which applications can be deployed

9.When inserting a new document into Coudant via the API, if the code does not specify a value for the _id field, what will happen?
A The server will assign a value to the field
B The insert operation will fail and show an error
C The last value provided for the field will be used
D The application will automatically prompt the user for a value

10.A developer has been asked to build a News alert application on IBM Bluemix to retreive articles that match specific sentiment or keyword and to identify kay events like acquisitions or personnel changes which IBM Bluemix Watson product should be used?
A Discovery
B Natural Language Understanding
C Retrieve and Rank
D Natual Language Classifier

11. Which IBM Bluemix command is used to list all services that are available in the marketplace?
A bx service list
B bx offerings list
C bx service offerings
D bx marketplace offerings

12 With the IBM Bluemix plug-in for IBM Bluemix Container Service, errors can be debugged by using which option with cf ic commands?
A Run the --stdout option at the end of the command
B Use either the -v or --verbrose option before the command
C Include the -d or --debug option at the end of the command
D No option is needed, full debug output is reported by default

13. When using the Load Impact service,which of the following mimics real user behaviour by default what URLs will be requested by simulated users?
A Load metrics
B User scenario
C Automation strategy
D Threshold functions

14. A retail company wishes to improve their customers experience on their e-commerce web site that they have recently deployed on Bluemix. Which IBM Bluemix Watson product could quickly enable them to create a chatbot to better engage with their customers in natural language?
A Discovery News
B Conversation
C Tone Analyzer
D Cognitive Commerce

15. According to the Twelve-Factor App methodology, what does a clean contract with the underlying operating system provide?
A Scalability
B Minimum divergence
C Faster development
D Maximum protability

16. An administrator wants to monitor his Bluemix application to determine performance. What two Bluemix services can be used to achieve this?
A New Relic
B AppDynamics
C Watson Grafana
D Decision Optimization
D Bluemix Monitoring and Analytics

17. What deploying a node.js application, what would be the result of the following command?
                bx app push app_name -b node.js_buildpack -p app_path
A Build application and save the current buildpack
B Build application and create a shareable buildpack
C Build application using the built-in community buildpack
D Build application using the default built-in IBM buildpack

18. What does the creation of a single rule in IBM Bluemix OpenWisk accomplish?
A It associates one trigger with one action
B It associates one sensor monitor with one server task
C It associates one event handler with one server thread
D It associates one event monitor with one container clone

19. Which statement describes the message flow for the Message Hub Pub/Sub artchitecture?
A Only one consumer can receive each message published by the producer
B Producers send messages to a specific topic and consumers receive messages from a specific topic
C Producers send messages to all topics and consumers browse the messages to determine which specific topics they want to subcribe
D Producers choose specific partitions where they wish to put messages and consumers are alerted when the message arrives so they can get message from the queue

20. Which two of the following can be performed directly with the IBM Bluemix OpenWisk CLI?
A Invoke actions
B Add ACL to a package
C Create package bindings
D SSH into the server running an action
E Encrypt code associated with an action

21. Which two files types are supported when configuring a certificate for a custom domain on IBM Bluemix?
A CSR(.csr)
B AES-256(cfb)
C EDI(.as2 or edi)
D PKCS #7(.p7b, .p7r, .spc)
E PEM(.pem, .crt, .cer, and .cert)

22. For an IBM Bluemix Cloud Foundry application, what is an example of an Auto-Scaling Service Policy Rule?
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 usage exceeds 80% for 300 seconds, add 64 MB of memory
D If the average memory utilization exceeds 80% for 600 seconds, add one instance

23. The following is an example of the service credentials created for an ibm bluemix object storage services. What action is requiredd in order for a developer to obtain the url and bearer token required to interact with the service?
A Use the swift API with username, password and projectid
B Bind the service to an application or another service in the same space
C Authenticate to the object storage instance with keystone API using the userid, password and projectid
D Export the authentication information using CF CLI export command

24 Which statement is true when establishing a custom domain for the URL of an IBM bluemix public application?
A The domain name must be registered on a public DNS server
B It must be a cloud Foundry application
C THe URL must include the name of the Bluemix org
D THe domain name must have the applicstion name in it

25 When using the MQ Light API with a bluemix message hub service, which statement is true?
A The developer must specify the JMS provider
B The admin must configure a MQTT-kafka bridge
C Only Quality of service(QoS) = 2 messages are allowed
Messages are stored in a kafka topic named "MQLight"

26 Which of the following is a message that is sent to a certificate authority to request the signing of the public key and associated information for a domain?
A Domain Name Request(DNR)
B Certificate Signing Request (CSR)
C Serverr Name Indication(SNI) request
D Fully qualified doamin name(FQDN) request

27 When retrieving a document from a Cloudant NoSQL database using an API call, which part of the following code represents the documents id?
                gET https://bloggs1.cloudant.com/mydb/JM018
A Get
B mydb
C JM018
D bloggs1

28. Which statement describes the behaviour of sequences in IBM Bluemix OpenWhisk?
A A defined series of actions that are started asynchronously in the order they appear in the sequence
B A defined series of actions where the output of each one becomes the input to the next one in the sequence
C A defined series of actions where all input to the sequence is automatically passed to all subsequent action in the sequence
D A defined series of actions where a collection of the return codes of all members of the sequence is returned following the last action in the sequence

29. Which two files need to be uploaded to enable TLS for an IBM Bluemix application with a custom domain?
A Public Key
B Private Key
C CNAME Record
D Certificate file
E Certificate Signing Request

30. What can be used as an alternative to Cloud Foundry Application runtimes when deploying applications on IBM Bluemix?
A EC2
B OpenShift
C OpenStack Services
D Containers and Virtual Servers

31. What does the blank out shaping operation do in IBM data connect?
A Converts the string value of a column to null
B Masks a selected columns value for data security
C Updates the column to a value defined by the operator
D Removes trailing blank spaces in character type columns

32.Which tool integration in IBM Bluemix Continuous Delivery facilities collaboration through communication?
A Slack
B PagerDuty
C Sauce Labs
D Bluemix Delivery Pipeline

33.When debugging application failures, the IBM Bluemix command line interface can be used to view log history. Which command will show the application log history?
A bx app appname --recent logs
B bx app logs appname --recent
C bx app appname logs --recent
D bx applogs --recent appname

34. When using IBM Bluemix Continuous Delivery, which statement is true regarding code editors?
A Local IBEs like Eclipse cannot be used
B The Eclipse Orion Web IDE must be used
C Local code editors like Atom can be used
D IBM Bluemix live sync must be used with all code editors

35. A utility campany has an existing web applicstion developed in Java for Websphere Application Server and is currently running an premises. they want to move that application to IBM Bluemix. The application is already using Redis as an in-memory data store for storing HTTP sessions. The application needs to cache frequently used data consisting of key-value pairs to improve performance. Which is the correct service for these requirements?
A Compose for Redis
B Compose for RethinkDB
C A traaditional db2 database on Bluemix
D A NoSQL database servicce such as cloudant

36.What are two advantages of using IBM Bluemix OpenWhisk?
A Event handling is inherently scaled
B It handles stateless and stateful request models
C It can encrypt the code snippets associated with an action
D It gives fine-grained control of the virtual machine running an action
E Customers only pay for utilization when their action code is executing

37. Which environment is supported by session cache?
A A php application on a PHP runtime
B A standard WAR file in a tomcat runtime
C A standard WAR file in a liberty runtime
D A javascript web application on a Node.js runtime

38. Which consistency mode does Cloudant NoSQL  database use for data?
A ACID Consistent
B Always Consistent
C Continuous Consistent
D Eventually Consistent

39. Which is an advantage for an organization when deploying applications on IBM Bluemix platform as a Service(PaaS)?
A The organization has the ability to manage its applicsation infrastructure across the deployemnet stack
B The organization no longer needs to consider application upgrades as a PaaS cloud will do this automatically
C The organization has a better view of an applications operational costs and related capital costs reduce or disappear
D The organization is typically not responsible for their application security in a cloud environment so data is more secure

40. While using the Web IDE in IBM Bluemix DevOps toolchain, there is a need to change the Bluemix deployment region from US South to the UnitedKinkdom. What must be edited?
A Launch configuration
B Manifest file(manifest.yml)
C IBM Bluemix DevOps toolchain user profile
D Application configuration file(package.jason or server.xml)

41.Which feature can be used to query the document stored in a cloudant database with the maximum flexibility(any field in any order)?
A primary index
B Secondary index
C Search index
D Drilldown index

42.What is the purpose of the hystrix netflix OSS component in the IBM  refernce implementation of a cloud native omnichannel application?
A Provides a Service Registry
B Provides a proxy layer for the microservices
C Provides a set of configuration management APIs
D Provides an implementation of the circuit breaker pattern

43. Which Git command creates an empty Git repository?
A git new
B git init
C git clone
D git create

44. Which HTTP request method is used to reterive the metadata of an object storage container?
A GET
B HEAD
C TRACE
D OPTIONS

45.Which Bluemix service provides Extract Transform and Load(ETL) functionality?
A IBM Data Connect
B Retrieve and Rank
C Cloudant No SQL Database
D IBM insights for Twitter

46. When configuring an application with the IBM single sign on service for bluemix, what step must be performed in the integrate tab?
A Select one or more identity sources for eternal authentication
B Select the database type for storage of authentication credentials
C Configure the API key and secret for a third party authentication service
D Provide the application url for posting userID and passsword form intput

47. When application data is stored inside a container at runtime, what will happen to that data upon container re-creation?
A All the data wiil be restored
B All the data will be lost unless a volume is attached
C The data will be restored to the last point in time before the crash
D The data will only be restored if the container was marked as persistent

48. Which Bluemix environment variable can be used to connect to a Cloudant NoSQL Database?
A VCAP_DATABASE
B VCAP_APP_HOST
C VCAP_SERVICES
D VCAP_APPLICATION

49. According to the Twelve-Factor App methodology, what is the recommendation for handling an API credential by an application?
A Store in the respective backing service
B Define as a constant in the application code
C Store the credential in an environment variable
D Place in a config file in the application repository

50. What is the purpose of the IBM Bluemix Data Connect service?
A Cache data in memory
B Transform and move data
C Perform complex queries on a system-of-record
D Provide an adapter to connect to system-of-record data

51. Which statement is accurate regarding IBM platform ad a Service(PaaS) environment?
A Developer are able to use fine grained controls to manage disk-space allocations
B It provides rapid deployment of bare metal infrastructure to the developers specification
C Developers can focus on code and data without needing to design the underlying compute infrastructure
D Business applications are available in a ready-to-use, self-service form for the developer to tune and configure

52. Which statement regarding buildpacks is true?
A External buildpacks are not allowed for bluemix applications
B IBM created buildpacks take precedence over the community ones
C Applications can programmatically set runtime versions after deployment
D The bx app push -c option indicates the use of a community buildpack

53. A developers application has been using a Managed Service Instance in IBM  bluemix cloud foundry for several weeks. They want to start using a new instance of the service because there have been some performance upgrades. Based on the twelve-factor app methodology, how should the developer do this?
A Update the applications route to point to the new service instance
B Edit the applications VCAP_SERVICES env veriable and update the seervice instances metadata
C Unbind the previous service instance from the application and then bind the new service instance to it

D Update the application source code to point to the new service isntance and commit to the code repository as a new version


No comments:

Post a Comment

Featured post

Freecharge Recharge Hack Trick 100% Cashback