Docsity

TIBCO Cloud API Management Developer Portal Micro Practice Exam, Exams of Technology

Toggle sidebar
bg1
TIBCO Cloud API Management Developer Portal Micro Practice Exam
Question 1. What programming language is the core of Flogo Enterprise applications?
A) Python
B) Java
C) Go (Golang)
D) JavaScript
Answer: C
Explanation: Flogo Enterprise apps are built on Go, which provides ultralight, efficient event-driven
microservices.
Question 2. Which component in Flogo defines how the app responds to external events?
A) Activity
B) Trigger
C) Handler
D) Flow
Answer: B
Explanation: Triggers are responsible for listening to external events and starting flows.
Question 3. What is the primary function of a Flow in a Flogo application?
A) Storing configuration
B) Orchestrating activities
C) Handling HTTP requests
D) Building Docker images
Answer: B
Explanation: Flows orchestrate the sequence of activities executed in response to triggers.
Question 4. Which Flogo component is responsible for performing individual tasks?
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50

Partial preview of the text

Download TIBCO Cloud API Management Developer Portal Micro Practice Exam and more Exams Technology in PDF only on Docsity!

Question 1. What programming language is the core of Flogo Enterprise applications? A) Python B) Java C) Go (Golang) D) JavaScript Answer: C Explanation: Flogo Enterprise apps are built on Go, which provides ultralight, efficient event-driven microservices. Question 2. Which component in Flogo defines how the app responds to external events? A) Activity B) Trigger C) Handler D) Flow Answer: B Explanation: Triggers are responsible for listening to external events and starting flows. Question 3. What is the primary function of a Flow in a Flogo application? A) Storing configuration B) Orchestrating activities C) Handling HTTP requests D) Building Docker images Answer: B Explanation: Flows orchestrate the sequence of activities executed in response to triggers. Question 4. Which Flogo component is responsible for performing individual tasks?

A) Flow B) Handler C) Activity D) Trigger Answer: C Explanation: Activities represent the tasks performed within a flow, such as calling APIs or transforming data. Question 5. What is the role of a Handler in Flogo architecture? A) Stores application logic B) Routes events to flows C) Defines the response to a trigger D) Packages the application Answer: C Explanation: Handlers define what happens when a trigger is activated, linking triggers to flows. Question 6. What is the first step in the Flogo app development lifecycle? A) Building the app binary B) Creating a flow design C) Deploying the app D) Testing the app Answer: B Explanation: The lifecycle starts with designing flows, which define the app’s logic. Question 7. Which CLI command is used to build a Flogo app binary? A) flogo build

C) build.gradle D) app.json Answer: B Explanation: Dockerfile contains instructions to create a custom image for the Flogo binary. Question 11. How can Docker images be shared with other platforms? A) Save to local disk B) Tag and push to a container registry C) Email the image D) Use FTP Answer: B Explanation: Tagging and pushing Docker images to a registry like Docker Hub enables sharing and deployment. Question 12. What mechanism allows Flogo apps to manage configuration externally? A) App Properties B) Hardcoded values C) Docker labels D) User input Answer: A Explanation: App Properties enable externalizing configuration such as endpoints and credentials. Question 13. How can app configuration be overridden at runtime? A) Change the code B) Use Environment Variables C) Edit the flow

D) Rebuild the image Answer: B Explanation: Environment Variables can be set at runtime to override default configuration values. Question 14. Which external system can Flogo integrate with for configuration management? A) Redis B) Consul C) GitHub D) S Answer: B Explanation: Consul provides centralized configuration management that Flogo apps can use. Question 15. What AWS service can store and retrieve configuration for Flogo apps? A) S B) EC C) Systems Manager Parameter Store D) CloudWatch Answer: C Explanation: AWS Systems Manager Parameter Store is designed for secure storage and retrieval of configuration. Question 16. To encrypt passwords in Flogo configuration, which option is correct? A) Store as plain text B) Use password encryption feature C) Hash passwords D) Use UUIDs

Explanation: Docker and kubectl are essential for building containers and managing K8s clusters. Question 20. What does a Kubernetes Deployment YAML define for Flogo apps? A) Network ports only B) Replica count, container image, and environment C) Only resource limits D) App configuration Answer: B Explanation: Deployment YAML specifies replicas, images, environment variables, and more for the app. Question 21. What managed Kubernetes service is provided by Amazon? A) EKS B) EC C) S D) Lambda Answer: A Explanation: Amazon EKS is a managed Kubernetes cluster service suitable for deploying Flogo apps. Question 22. Which Google service is used for Kubernetes deployment? A) GCE B) GKE C) GCP Storage D) BigQuery Answer: B Explanation: Google Kubernetes Engine (GKE) is Google’s managed Kubernetes platform.

Question 23. What is Azure’s container management service for Kubernetes? A) Azure Blob B) Azure Container Service C) Azure SQL D) Azure Functions Answer: B Explanation: Azure Container Service provides managed Kubernetes clusters for container deployment. Question 24. Which command deploys a Flogo app in a Docker container? A) docker run B) flogo deploy C) kubectl apply D) flogo build Answer: A Explanation: 'docker run' launches the containerized Flogo application. Question 25. What platform allows serverless deployment of Flogo Docker containers on AWS? A) Lambda B) Fargate C) EC D) S Answer: B Explanation: AWS Fargate lets you run Docker containers serverlessly, without managing servers.

A) Logging B) Serverless workloads on Kubernetes C) Database management D) Monitoring Answer: B Explanation: Knative enables serverless deployment and scaling of containers within Kubernetes. Question 30. What is PCF in the context of Flogo deployment? A) Personal Cloud File B) Pivotal Cloud Foundry C) Public Cloud Function D) Private Cloud Firewall Answer: B Explanation: Pivotal Cloud Foundry (PCF) is used for deploying Flogo apps in a cloud-native platform. Question 31. What is the first step for deploying a Flogo app to AWS Lambda? A) Set GOOS=windows B) Build with Linux AMD64 target C) Upload directly D) Use Docker CLI Answer: B Explanation: Lambda requires binaries built for Linux AMD64. Question 32. Which Flogo trigger is essential for AWS Lambda deployment? A) HTTP Trigger

B) Receive Lambda Invocation Trigger C) Timer Trigger D) REST Trigger Answer: B Explanation: 'Receive Lambda Invocation Trigger' enables Flogo apps to respond to Lambda events. Question 33. How can a Flogo binary be deployed to AWS Lambda? A) Use FTP B) Use deploy parameter or compress and upload C) Email the binary D) Store in S3 only Answer: B Explanation: You can deploy using the Flogo binary’s deploy parameter or upload a compressed file. Question 34. Which AWS service can trigger Lambda functions for Flogo apps? A) S3 Bucket Event B) EC C) CloudFront D) VPC Answer: A Explanation: S3 bucket events can invoke Lambda functions built with Flogo. Question 35. Which Azure service allows running Flogo apps as serverless functions? A) Azure SQL B) Azure Functions

D) Restart the server Answer: B Explanation: Flogo allows changing log levels at runtime for debugging or monitoring. Question 39. Which distributed tracing tool does Flogo support? A) Prometheus B) Jaeger C) Grafana D) Zipkin Answer: B Explanation: Jaeger is supported for distributed tracing in Flogo applications. Question 40. What AWS service does Flogo support for distributed tracing? A) CloudWatch B) X-Ray C) S D) EC Answer: B Explanation: AWS X-Ray can be used to trace requests in Flogo apps deployed on AWS. Question 41. Which open standard is supported for tracing in Flogo? A) Prometheus B) OpenTelemetry C) New Relic D) Datadog

Answer: B Explanation: OpenTelemetry Collector is supported for tracing and monitoring. Question 42. What API provides runtime health status in Flogo? A) Statistics API B) Healthcheck API C) Docker API D) Trigger API Answer: B Explanation: The Healthcheck API returns the operational state of the Flogo app. Question 43. Which API provides Go language runtime statistics for Flogo apps? A) Profiling API B) Monitoring API C) Docker API D) Logging API Answer: A Explanation: The Profiling API exposes CPU and memory usage statistics for Go-based Flogo apps. Question 44. What is the main advantage of Flogo's ultralight architecture? A) Requires more resources B) Faster startup and less memory usage C) Only works on Windows D) Needs extra hardware Answer: B

Question 48. Which Flogo activity might send a REST API call? A) Mapper B) REST Activity C) Timer D) Trigger Answer: B Explanation: REST Activity enables integration with external RESTful APIs. Question 49. What does a Trigger listen for in a Flogo application? A) Internal flows B) External events or requests C) Binary creation D) Docker builds Answer: B Explanation: Triggers respond to external stimuli such as HTTP requests or messages. Question 50. Which activity is used to transform data in a Flogo flow? A) Mapper B) Handler C) Trigger D) Dockerfile Answer: A Explanation: Mapper activities transform and route data between flow components.

Question 51. What is the purpose of the Flogo App Build CLI? A) Manage containers B) Build application binaries C) Monitor flows D) Generate Dockerfiles Answer: B Explanation: The CLI helps build platform-specific binaries for Flogo apps. Question 52. How is flow logic defined in a Flogo application? A) Using YAML files B) Visual flow designer C) Docker CLI D) Command line only Answer: B Explanation: Flogo provides a graphical designer for building and visualizing flows. Question 53. Which deployment method requires a container registry? A) Kubernetes B) Local binary C) Zip upload D) Source code deployment Answer: A Explanation: Kubernetes deployments use container registries to pull images. Question 54. What is a Handler’s primary role in Flogo?

B) External Configuration Management C) Docker CLI D) Tracing Answer: B Explanation: Flogo can connect to AWS AppConfig for dynamic configuration. Question 58. Which Flogo trigger allows HTTP requests to start flows? A) Timer Trigger B) HTTP Trigger C) Receive Lambda Invocation Trigger D) REST Activity Answer: B Explanation: HTTP Trigger starts flows in response to incoming HTTP requests. Question 59. What is the main benefit of externalizing configuration? A) Hard to manage B) Enables dynamic changes without rebuilding C) Requires redeployment D) Increases security risks Answer: B Explanation: Externalized configuration allows updates without changing the application code. Question 60. What is the role of YAML in Kubernetes deployment? A) Building binaries B) Defining deployment objects and configuration

C) Encrypting passwords D) Monitoring flows Answer: B Explanation: YAML files describe Kubernetes objects like deployments, services, and configmaps. Question 61. Which Flogo deployment platform provides automatic scaling based on demand? A) PCF B) Knative C) Docker D) Go CLI Answer: B Explanation: Knative automatically scales containerized apps based on traffic. Question 62. In Flogo, what does the Healthcheck API report? A) Source code B) Application runtime status C) Docker image tags D) Handler logic Answer: B Explanation: The Healthcheck API returns information on the app’s operational health. Question 63. What is the default communication protocol for Flogo REST Activities? A) FTP B) HTTP C) SMTP