IBM Bluemix Application Development & Certification
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:
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 1
IBM Bluemix Application Development & Certification Paper 1
1. IBM
Bluemix Cloud Foundry application uses a relational database that must be
initialized with several tables and several hundred rows of initial data. Based
on the Twelve-Factor App methodology, how should be this done?
o
A. The
Application should include code to initialize the database if it has not been initialized.
o
B. The
Application should include code to call
an ETL service to initialize the database if it has not An yet been
initialized.
o
C. A
backup file of the database should be included in the application and restored
by the application code on startup.
o
D. A script or separate application
should be used to initialize the database prior to deploying the application as
a one-off process.
2. What
are the names of the three IBM Bluemix deployment models?
o
A. IaaS,
Paas, and PCaaS
o
B. IaaS,
PaaS, and Hybrid
o
C. Public, Dedicated, and Local
o
D. Public,
Private, and On-premises
3. A
retail company wishes to improve their customers experience on their e-commerce
web site that they have recently deployed on Bluemix. The Company wants to
improve the conversion rates by better understanding their visitors. Which IBM
Bluemix Watson product could they use to analyse transactional and Social media
data to try to determine purchase decisions, intent and behavioural traits of
their Visitors?
o
A. Conversation
o
B. Tone
Analyzer
o
C. Discovery
News
o
D. Personality Insights
4. What
must occur before an Organization Manager can add a user to an organization in
IBM Bluemix?
o
A. The Organization Manager must
create spaces
o
B. The
Organization manager must define quotas.
o
C. The
user must have an Email address.
o
D. The
User must request access to the Bluemix system domain.
5. According
to the Twelve-Factor App Methodology, what is a backing service?
o
A. A
packaging service for distributing support libraries.
o
B. A
Service that stores user session data in memory of the application.
o
C. A
Service that creates an in-memory shadow copy of an application for redundancy.
o
D. A Service consumed by an
application over the network as part of its normal operation.
6. A
developer is using the DevOps toolchains Web IDE to add a feature to an IBM
Bluemix 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?
o
A. Push
o
B. Fetch
o
C. Squash
o
D. Rebase
7. According
to the Twelve-Factor App methodology, What practice can be used to minimize
time and cost when adding new developers?
o
A. Explicitly declare and isolate
dependencies.
o
B. Standardize
on a code logging library, such as log4j.
o
C. Store
application configuration data in the code repository.
o
D. Design
application to be stateful to simplify code architecture.
8. What
kind of API does the Cloudant NoSQL Database Service provide in IBM Bluemix?
o
A. WSDL
o
B. SOAP
o
C. REST
o
D. WebSocket
9. Which
git command is used to identify changes to files in a GitHub repository?
o
A. git
fault
o
B. git blame
o
C. git
remote
o
D. git
source
10. What
are two features provided by Session Cache?
o
A. Low latency data access.
o
B. AES
data encryption to protect data privacy.
o
C. Data
partitioning strategies to improve performance.
o
D. Data
replication across Bluemix regions.
o
E. Dynamic scalability of both data
and transactional capacity.
11. Which
Statement is true regarding built-in IBM buildpacks?
o
A. Buildpacks
contain boilerplates for various runtimes
o
B. Buildpacks
allow users to add or modify the included runtime version
o
C. Buildpacks
remove the need to check if your application relies on a specific dependency
o D.
Buildpacks use a default version of components if the
application does not explicitly set it.
12. Which
is a feature provided for both Managed service instances and User provided
service instances in IBM Bluemix Cloud Foundry?
o
A. Automatic
encryption of service instance metadata.
o
B. Instance
lifecycle management via the Cloud Controller.
o
C. Automatic
creation of service instances during application deployment.
o D.
Expose service instance metadata to application via the
VCAP_SERVICES enviorment variable.
13. What
is the first test that should be performed as part of load testing an
application to evaluate performance?
o
A. Baseline test.
o
B. Benchmark
test.
o
C. Scalability
test.
o
D. Compatibility
test.
14. Which
IBM Bluemix CLI command is used to View the health of all instances of a Cloud
Foundry application?
o
A. bx app show app_name
o
B. bx
status app_name
o
C. bx
app health app_name
o
D. bx
instance health app_name
15. Which
statement is true regarding Bluemix Public Object Storage?
o
A. The
Service Provides optional data encryption of the data that is uploaded.
o
B. Folders
can be added to organize how files are placed within each Container.
o C.
Developers can associate additional metadata with objects
using Swift API.
o
D. A
threshold can be set for the amount of container memory allocated to each
application using the service within each space.
16. Which
two third-party services are available in the IBM Bluemix catalog for
performing application load tresting?
o
A. CloudFront
o B.
BlazeMeter
o C.
Load Impact
o
D. Visual
Studio
o
E. Watson
Load Insights
17. Which
OpenStack API generates authorization tokens that will enable an application or
service to access objects in an IBM Bluemix Object Storage Container?
o
A. Stack
API
o
B. Swift
API
o
C. Karbor
API
o
D. Keystone API
18. Which
two of the following can be performed directly with the IBM Bluemix OpenWhisk
CLI?
o
A. Add
ACL to a package.
o
B. Create Package bindings.
o
C. List entities in a package.
o
D. SSH
into the server running an action.
o
E. Encrypt
code associated with an action.
19. Which
Statement accurately describes IBM Bluemix Continuous Delivery toolchains?
o
A. Toolchains
automate dependency management and testing.
o
B. Toolchains
combine the DevOps test and deploy phase of deploying software.
o C.
Toolchains enable development organizations to
Standardize and scale their continuous delivery.
o
D. Toolchains
can be created in three ways: Use a template, Use a buildpack, or create the
toolchain from an application.
20. A
Kafka client connecting to Message Hub authenticates with the service by
supplying what information?
o
A. The
Kafka version and certificate number.
o
B. The
Credentials from their MQTT-Kafka bridge.
o C.
The User and password found in the Message Hub service
credentials.
o
D. A
user and password created by the admin when the topics are created.
21. The
Liberty buildpack is used when deploying which kind of applications?
o
A. Swift.
o
B. Node
js.
o
C. ASP
Net.
o
D. Java EE.
22. What
can a user do after deploying a boilerplate application?
o
A. Use
Bluemix provided test data in the application.
o
B. Manage
the application from another Bluemix region.
o C.
Connect additional managed services to the application.
o
D. Choose
the runtime they wish to use for that application.
23. What
is the method IBM has developed which brings together IBM Design Thinking, Lean
Startup, agile development and Continuous delivery?
o
A. IBM Cloud Garage Method.
o
B. IBM
Cloud Factory Method.
o
C. IBM
Cloud Workshop Method.
o
D. IBM
Cloud Developer Method.
24. What
are two capabilities of the IBM Bluemix Container Service?
o
A. The
ability to export a container to a Bluemix infrastructure virtual server.
o
B. All
running containers are automatically mapped to a public IP address.
o
C. The ability to backup persistent
storage used by containers with command line tools.
o D.
The ability to create highly available container groups
in different Bluemix regions.
o
E. Allows
deployment of IBM Bluemix Cloud Foundry apps directly to a container using
command line tools.
25. A
Cloud Foundry application in IBM Bluemix could not connect to a managed
database service and fails to start. The manifest.yml file for the application
is shown.
name: bx-myapp
host: bx-myapp
memory 256M
services:
-cloudantdb-myapp
What is a correct step to debug the issue?
o
A. Push
the app without starting using bx app push –no-hostname
o
B. Check if the services is available
to the application using bx service list.
o
C. Change
the credentials in the VCAP_SERVICES environment variable
o
D. Rename
the CloudantDB service to cloudantdb without the –myapp suffix
26. IBM
DB2 on Cloud for Bluemix achieves protection of data at rest on cloud using
what encryption?
o A.
DB2 native encryption
o
B. IBM
Cloud Data Encryption Service
o
C. IBM
Security Guardium Data Encryption
o
D. End-to-end
SSL encryption for connections to DB2 on Cloud
27. Which
is a valid Cloudant NoSQL Database name?
o
A. Mydatabase
o
B. -mydatabase
o
C. myDatabase-
o
D. mydatabase
28. Which
source code control and collaboration management practice includes early error
detection, early system integration, and improved collaboration?
o
A. Chaotic
Testing
o
B. Delivery
Pipeline
o
C. Continuous
Delivery
o
D. Continuous Integration
29. When
connecting to on-premises data sources with IBM Data Connect, where is the
security Gateway client installed?
o
A. Within
the Source and target databasees
o
B. As
a separate application in IBM Bluemix PaaS
o
C. On
a Server provisioned from IBM Bluemix IaaS
o
D. On a computer running behind the
corporate firewall
30. What
is the purpose of the Eureka Netflix OSS component in the IBM Reference
implementation of a Cloud native Omnichannel application?
o
A. Provides a Service Registry
o
B. Provides
a proxy layer for the microservices
o
C. Provides
a set of Configuration management APIs
o
D. Provides
an implementation of the Circuit Breaker pattern
31. What
can a developer accomplish using Spaces in a Bluemix organization?
o
A. Assign
team members to multiple regions in Bluemix
o
B. Unify
existing Bluemix and SoftLayer billing accounts
o
C. Set
Quotas in multiple regions for applications, Services, and team members
o
D. Group a set of applications,
services, and team members
32. A
developer is building an IBM Bluemix Cloud Foundry application that uses an
enterprise service available as a RESTful API. Following security best
practises, how should credentials for the service be stored?
o
A. In
a file located within in custom buildpack
o
B. As constants
in the application source code
o
C. As environment variables in a
user-provided service
o
D. In
a Properties file in the same code repository as the application
33. The
IBM Bluemix Message Hub service provides three interfaces through which
messages can be produced and consumed which include the native Kafka interface
for Kafka clients and the MQ Light API for MQ Light Clients. What is the third
Interface?
o
A. SOAP
o
B. REST API
o
C. MessageBus
o
D. MessageSight
34. Where
does IBM Bluemix store information necessary to allow an application to
interact with IBM Data Connect using the Data Load REST API?
o
A. In
an associated Cloudant NoSQL database
o
B. In the VCAP_SERVICES environment
variable
o
C. In
an encrypted file within the application code
o
D. In
a cookie placed on the developer’s computer when creating the service
35. By
default, what port do applications use to communicate with a Cloudant NoSQL DB?
o
A. 223
o
B. 443
o
C. 5521
o
D. 3301
36. Which
Statement is true for monitoring containers in IBM Bluemix?
o
A. Containers come with built-in
monitoring and logging
o
B. The
Bluemix administrator should install and maintain a logstash agent inside the
container
o
C. The
ENABLE_LOGGING variable must be specified when creating a container to have
Bluemix monitor the container.
o
D. System
messages stdout and stderr are not captured by default
37. What
are two examples of serverless computing frameworks?
o
A. AWS
EC2
o
B. OpenWhisk
o
C. AWS
Blushift
o
D. Azure
Automation
o
E. Google Cloud Functions
38. What
is MapReduce used for in relation to Cloudant NoSQL databases?
o
A. Compressing
Data
o
B. Creating data Views
o
C. Storing
Special Data
o
D. Converting
data from JSON to WSDL
39. Which
Compute platform offers serverless computing and is an event-driven compute
service available on IBM Bluemix?
o
A. PubNub
o
B. OpenWhisk
o
C. OpenStack
o
D. TinyQueries
40. When
using a Delivery Pipeline to automate a build, what must occur before a build
can be run manually?
o
A. The
Container in which the build job will run must be specified
o
B. The Stage Trigger option to only
run jobs manually must be selected
o
C. UNIX
shell scripts with the necessary build commands must be added
o
D. Input
for the build stage must be specified and at least one build job must be
configured
41. Which
standard mechanism is used to secure the API Gateway in the IBM Reference implementation of a Cloud
native Omnichannel application?
o
A. SAML
o
B. OAuth
o
C. OpenID
o
D. WebSEAL
42. Which
Statement is true regarding the NoSQL data services available in IBM Bluemix?
o
A. Compose
for PostgreSQL provides horizontal scaling
o
B. NoSQL
data services always enforce ACID transactions
o C.
Cloudant and Compose for MongoDB are document databases
o
D. There
is guaranteed consistency of data across multiple instances of a Cloudant
database
43. In
IBM Bluemix Cloud Foundry what happens when an application that can be handled
by multiple buildpacks is deployed without a buildpack being specified?
o
A. The most recent version of a
matching buildpack will be selected
o
B. The
matching buildpack with the lowest position number will be selected
o
C. The
User is prompted during deployment to select the appropriate buildpack
o
D. An
AppNotDetected error is generated because a buildpack was not specified
44. What
action may be performed to restrict access to an IBM Bluemix domain and
application to specific clients?
o
A. Use
the bx network route-map command to add the clients that need access to the
application
o
B. Use
the “Manage organization” menu to add the clients that needs access to the
application
o
C. Use the client certificate trust
store file upload option to specify a group of Client-side certificates
o
D. Upload
the client certificates to the DNS service provider.
45. A
retail company wishes to improve their customers experience on their e-commerce
web site that they have recently deployed on Bluemix.
The company wants to understand the
emotions expressed by their customers on social media such as Twitter, to
better serve them Which IBM Bluemix Watson product can they use to help them?
o
A. Natural Language Understanding
o
B. Conversation
o
C. Personality
Insights
o
D. Natural
Language Classifier
46. Which
two fields are required in a Certificate Signing Request(CSR)?
o
A. Encryption
key
o
B. Organization name
o
C. Certificate
Trust Store
o
D. Certificate
Authority (Issuer Name)
o
E. Common Name (fully qualified
domain name)
47. Which
Statement is true regarding a Twelve-Factor App?
o
A. A
Twelve-Factor App can be in the same code repository with other Twelve-Factor
Apps
o
B. A
Twelve-Factor App never uses backing services provided and managed by third
parties
o
C. A
Twelve-Factor App’s processes can be stateful and cache user session data in
memory
o D.
A Twelve-Factor App never concerns itself with routing or
storage of its event stream
48. What
does the creation of a single rule in IBM Bluemix Openwhisk accomplish?
o
A. It associates one trigger with
one action
o
B. It
associates one or more triggers with one action
o
C. It
associates one trigger with one or more actions
o
D. It
associates one or more triggers with one or more actions
49. Which
Statement is true regarding horizontal scaling Cloud Foundry applications?
o
A. Horizontal
increases the memory (RAM)
o
B. Horizontal
scaling is not available on IBM Bluemix
o C. Horizontal scale is achieved by increasing the number of
application instances
o
D. Horizontal
scaling is achieved by increasing the resources available to an application
instance
50. When
using IBM Bluemix Continuous Delivery, which statement is true regarding code
editors?
o
A. The
Eclipse Orion Web IDE must be used
o
B. Local
code editors like Atom cannot be used
o
C. Local IDEs like Eclipse can be
used
o
D. IBM
Bluemix Live Sync must be used with all code editors
1. An
e-commerce web site currently consists of a 2-tier web application (app server+
DB) deployed on IBM Bluemix: 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_decription”=>”out of memory”,…}
How can the problem be fixed?
o
A. It
looks like an internal Bluemix problem, open a ticket with IBM Support so they
can fix it for you
o
B. Use
the IBM Static Analyzer for Bluemix to run a static code analysis on the entire
web application to identify memory leaks
o
C. 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.
No comments:
Post a Comment