Docsity

PrepIQ CloudBees Feature Management Essentials Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
PrepIQ CloudBees Feature Management Essentials
Ultimate Exam
**Question 1. What is the main advantage of using a feature flag to
separate deployment from release?**
A) It reduces the size of the binary.
B) It allows code to be shipped without being visible to end-users.
C) It eliminates the need for automated testing.
D) It guarantees zero latency for feature rollout.
Answer: B
Explanation: Feature flags enable teams to deploy code to production
while keeping the new functionality hidden, thus decoupling deployment
from the actual release to users.
**Question 2. Which CloudBees Feature Management flag type is best
suited for running an A/B test with three variants?**
A) Release flag
B) Operational flag
C) Experimental flag
D) Permission flag
Answer: C
Explanation: Experimental flags support multiple variants and are
intended for experimentation such as A/B or multivariate testing.
**Question 3. In CloudBees, what does a “kill switch” refer to?**
A) A flag that disables a feature instantly in production.
B) A configuration that turns off the SDK.
C) A scheduled rollout that pauses after 10 % exposure.
D) A permission flag that revokes user access.
Answer: A
Explanation: A kill switch is an operational flag used to turn off a
problematic feature without redeploying code.
**Question 4. Which rollout method gradually increases exposure based on
a percentage of traffic?**
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
pf51
pf52
pf53

Partial preview of the text

Download PrepIQ CloudBees Feature Management Essentials Ultimate Exam and more Exams Technology in PDF only on Docsity!

Ultimate Exam

Question 1. What is the main advantage of using a feature flag to separate deployment from release? A) It reduces the size of the binary. B) It allows code to be shipped without being visible to end-users. C) It eliminates the need for automated testing. D) It guarantees zero latency for feature rollout. Answer: B Explanation: Feature flags enable teams to deploy code to production while keeping the new functionality hidden, thus decoupling deployment from the actual release to users. Question 2. Which CloudBees Feature Management flag type is best suited for running an A/B test with three variants? A) Release flag B) Operational flag C) Experimental flag D) Permission flag Answer: C Explanation: Experimental flags support multiple variants and are intended for experimentation such as A/B or multivariate testing. Question 3. In CloudBees, what does a “kill switch” refer to? A) A flag that disables a feature instantly in production. B) A configuration that turns off the SDK. C) A scheduled rollout that pauses after 10 % exposure. D) A permission flag that revokes user access. Answer: A Explanation: A kill switch is an operational flag used to turn off a problematic feature without redeploying code. Question 4. Which rollout method gradually increases exposure based on a percentage of traffic?

Ultimate Exam

A) Canary release B) Dark launch C) Targeted rollout D) Percentage rollout Answer: D Explanation: Percentage rollout automatically raises the proportion of users who receive the feature, enabling a smooth, controlled exposure. Question 5. What is the purpose of a “dark launch” in progressive delivery? A) To expose a feature to 100 % of users immediately. B) To run a feature in production without any user seeing it. C) To test UI colors in a staging environment. D) To disable a feature for a specific region. Answer: B Explanation: A dark launch runs the new code in production while keeping it hidden from end-users, allowing real-world validation without impact. Question 6. Which component of the CloudBees architecture is responsible for evaluating flag rules on the client side? A) Platform UI B) Server-side SDK C) Client-side SDK D) Configuration as Code service Answer: C Explanation: The client-side SDK runs in the application process and evaluates flag rules locally, using cached configuration. Question 7. How does a “percentage rollout” differ from a “canary release” in CloudBees? A) Percentage rollout uses time-based schedules, canary uses user attributes.

Ultimate Exam

B) SDK version C) Custom property (e.g., region) D) Application ID Answer: C Explanation: Custom properties such as region, plan type, or user ID allow the creation of target groups for selective rollout. Question 11. What does “CasC” stand for in the context of CloudBees Feature Management? A) Configuration as Code B) Canary as Service Component C) Cloud-based Automated Scaling Cluster D) Continuous Access Security Control Answer: A Explanation: CasC (Configuration as Code) lets teams store flag configurations in version-controlled files, enabling reproducible and auditable deployments. Question 12. Which of the following best describes a “target group” in CloudBees? A) A collection of SDK keys. B) A set of users defined by shared attributes. C) A list of environments for a release. D) A group of developers with admin rights. Answer: B Explanation: Target groups are segments of users identified by common attributes, used to control who sees a feature. Question 13. In the UI, what is the primary purpose of the “Feature Release” settings page? A) To edit SDK source code. B) To schedule rollout dates and percentages.

Ultimate Exam

C) To change the flag’s default value only. D) To delete the flag permanently. Answer: B Explanation: The Feature Release page lets users define when and how a flag is exposed, including scheduling and percentage increments. Question 14. Which of the following statements about “impression data” is true? A) It records every time a flag is evaluated. B) It only logs failures of flag evaluation. C) It is stored in the SDK key file. D) It is automatically deleted after 24 hours. Answer: A Explanation: An impression is generated each time a flag is evaluated, providing analytics on usage and experiment results. Question 15. Which type of flag would you use to enable a feature only for internal beta testers? A) Permission flag B) Operational flag C) Release flag D) Experimental flag Answer: A Explanation: Permission flags control entitlement, making them ideal for granting access to a limited set of users such as beta testers. **Question 16. What is the effect of setting a flag’s default value to “off”? ** A) The flag will never be evaluated. B) All users will see the new feature unless overridden. C) The feature will be hidden for users who do not match any targeting rule.

Ultimate Exam

Explanation: Operational flags are intended for safety and maintenance tasks such as quickly disabling a failing component. Question 20. When integrating the CloudBees SDK, what is the purpose of the “SDK key”? A) It identifies the flag’s default value. B) It authenticates the client to fetch the correct configuration for a specific environment. C) It determines the rollout percentage. D) It encrypts all flag values. Answer: B Explanation: The SDK key ties the SDK instance to a particular application environment, allowing it to retrieve the appropriate flag configuration. Question 21. Which statement best describes a “percentage rollout” that is set to 30 %? A) Exactly 30 % of all requests will see the feature, regardless of traffic spikes. B) The feature will be shown to 30 % of users who meet the targeting rules. C) The feature will be active for 30 minutes each hour. D) Only 30 users can access the feature at a time. Answer: B Explanation: A 30 % rollout means the flag evaluates to “on” for roughly 30 % of the traffic that matches any targeting criteria. Question 22. What is the primary benefit of using “Configuration as Code” for feature flags? A) It removes the need for an SDK. B) It enables flag definitions to be version-controlled and reviewed. C) It automatically generates UI components. D) It guarantees zero-latency flag evaluation. Answer: B

Ultimate Exam

Explanation: CasC stores flag definitions in source control, allowing teams to track changes, perform code reviews, and synchronize configurations via CI/CD pipelines. Question 23. Which UI element lets you create a segment based on user attributes such as “plan = premium”? A) Flag default editor B) Target Group builder C) Environment selector D) SDK key generator Answer: B Explanation: The Target Group builder is used to define segments by specifying attribute filters like “plan = premium”. Question 24. In CloudBees, what does the term “progressive delivery” encompass? A) Deploying code only on weekends. B) Gradually exposing features to users while collecting feedback. C) Using only server-side flags. D) Replacing all feature flags with environment variables. Answer: B Explanation: Progressive delivery combines techniques such as canary releases, percentage rollouts, and A/B testing to safely deliver new functionality. Question 25. Which of the following is an example of a “release flag”? A) A flag that toggles a new checkout flow for all users after a scheduled date. B) A flag that records the time a user spends on a page. C) A flag that limits API calls to 100 per minute. D) A flag that changes the logo color based on user role. Answer: A

Ultimate Exam

Explanation: Server-side SDKs keep evaluation on the backend, preventing exposure of business logic or secrets to the client. Question 29. Which of the following actions can be performed directly from the CloudBees UI without writing code? A) Deploy a new microservice. B) Create a new feature flag and set its default value. C. Write a custom SDK integration. D) Configure a CI/CD pipeline. Answer: B Explanation: The UI provides a UI-based workflow for creating flags, setting defaults, and configuring targeting without code changes. Question 30. What is the main reason to use a “percentage rollout” before a full release? A) To reduce server load. B) To collect early performance and error data from a small user base. C) To avoid writing unit tests. D) To ensure the flag never reaches 100 %. Answer: B Explanation: Incremental exposure lets teams observe real-world behavior and catch issues early, minimizing impact. Question 31. Which flag type would you select to implement a “kill switch” for a payment service? A) Release flag B) Experimental flag C) Operational flag D) Permission flag Answer: C Explanation: Operational flags are designed for safety mechanisms like kill switches that can instantly turn off a feature.

Ultimate Exam

Question 32. What does the “default value” of a flag represent? A) The value used when no targeting rule matches the request. B) The value that overrides all other rules. C) The value stored in the SDK key file. D) The value that is only used in the staging environment. Answer: A Explanation: The default is the fallback used when no specific targeting condition applies. Question 33. How can you restrict a flag to be evaluated only for mobile devices? A) By setting the flag type to “mobile”. B) By adding a device-type condition in the targeting rule. C) By using a different SDK key for mobile. D) By deleting the flag from the web environment. Answer: B Explanation: Targeting rules can include device attributes, allowing evaluation only for mobile users. Question 34. Which of the following is NOT a benefit of progressive delivery? A) Faster feedback loops. B) Complete elimination of all bugs. C) Reduced release risk. D) Ability to test in production with limited impact. Answer: B Explanation: Progressive delivery mitigates risk and provides early feedback but cannot guarantee absolute bug-free releases.

Ultimate Exam

A) Enabling a feature for 100 % of all users immediately. B) Providing early access to a select group of power users for feedback. C) Randomly toggling a flag on and off every minute. D. Using a flag to store API keys. Answer: B Explanation: Beta programs use permission or targeted flags to grant a limited set of users early access and collect feedback. Question 39. How does CloudBees handle flag evaluation when the SDK cannot reach the backend for the latest configuration? A) It throws a runtime exception. B) It falls back to the last known configuration cached locally. C) It disables all flags. D) It automatically retries forever. Answer: B Explanation: SDKs cache the most recent configuration and use it when connectivity is lost, ensuring continued operation. Question 40. Which of the following is a correct statement about “user segmentation” in CloudBees? A) Segments can only be based on geographic location. B) Segments are defined by combining multiple custom attributes with logical operators. C) Segments are automatically created for each environment. D) Segments replace the need for a default flag value. Answer: B Explanation: User segmentation allows complex rules using multiple attributes (e.g., region AND plan) to define target groups. Question 41. What is the primary reason to use a “string” flag type instead of a Boolean? A) To enable multiple mutually exclusive variants of a feature.

Ultimate Exam

B) To increase evaluation speed. C) To hide the flag from the audit log. D) To store encrypted data. Answer: A Explanation: String (or enum) flags can represent several distinct variants, enabling multi-variant rollouts and experiments. Question 42. Which CloudBees feature allows you to schedule a flag to turn on at a specific UTC date and time? A) Immediate rollout B) Percentage rollout C) Scheduled release D) Dark launch Answer: C Explanation: The scheduled release feature lets you define an exact activation time for a flag. Question 43. When would you use a “permission flag” rather than a “release flag”? A) When you need to control access based on user entitlements. B) When you want to run an A/B test. C) When you need to quickly disable a broken service. D) When you are rolling out a new UI component. Answer: A Explanation: Permission flags manage who is allowed to see a feature, typically based on roles, subscriptions, or licenses. Question 44. Which of the following best explains “flag impressions”? A) The number of times a flag’s default value is changed. B) The count of SDK initialization attempts. C) Events generated each time a flag is evaluated for a user.

Ultimate Exam

D) Inside the unit test suite. Answer: C Explanation: CasC files are version-controlled and pushed during the pipeline to keep the platform’s configuration in sync with source code. Question 48. Which of the following is a recommended practice when using feature flags for experiments? A) Keep the flag enabled permanently after the experiment. B) Delete the flag immediately after the experiment ends. C) Define clear success metrics and roll back if they are not met. D) Use the same flag key for multiple unrelated experiments. Answer: C Explanation: Experiments should have measurable goals; if the criteria aren’t satisfied, the flag should be rolled back. Question 49. What does the “client-side SDK” need to function correctly in a web application? A) Access to the server’s file system. B) The SDK key for the specific application environment. C) A dedicated database connection. D) A hard-coded list of all feature flags. Answer: B Explanation: The SDK key authenticates the client and tells it which configuration to fetch. Question 50. Which of the following is NOT a typical reason to use a feature flag? A) To perform a gradual rollout. B) To replace automated testing. C) To enable a kill switch. D) To run A/B experiments.

Ultimate Exam

Answer: B Explanation: Feature flags complement testing but do not replace automated tests. Question 51. Which UI element lets you view real-time flag evaluation metrics? A) Flag Impressions dashboard. B) SDK Key generator. C) Environment selector. D) Permission matrix. Answer: A Explanation: The Impressions dashboard shows live data on how often and where flags are evaluated. Question 52. How does a “target group” differ from a “percentage rollout”? A) Target groups are static user segments; percentage rollouts are dynamic traffic fractions. B) Target groups only work for server-side SDKs. C) Percentage rollouts require a custom property. D) There is no difference; they are the same concept. Answer: A Explanation: Target groups filter users based on attributes, while percentage rollouts control exposure based on a proportion of traffic. Question 53. Which of the following is a correct way to disable a feature instantly in production? A) Change the flag’s default value to “off” and wait for the next sync. B) Delete the flag from the UI. C) Use an operational flag set to “off”. D) Restart all application servers. Answer: C

Ultimate Exam

Explanation: Canary releases rely on a defined small audience (target group) to receive the feature first. Question 57. Which of the following is true about “default value” and “variant values” for a non-Boolean flag? A) Default value is ignored if any variant is defined. B) Variant values are only used when the flag is “off”. C) Default value is used when no targeting rule matches; variant values are selected by rules. D) Variant values replace the default value permanently. Answer: C Explanation: The default serves as a fallback; targeting rules decide which variant to serve when conditions match. Question 58. In CloudBees, what does a “feature flag” with a type of “String” enable you to do? A) Store a true/false value only. B) Represent multiple named variants such as “blue”, “green”, “red”. C) Execute SQL queries. D) Automatically generate UI components. Answer: B Explanation: String flags can hold any textual value, allowing multi-variant feature control. Question 59. Which of the following best describes the “progressive delivery” workflow? A) Deploy → Test → Release → Decommission. B) Build → Deploy → Immediate full rollout. C) Deploy → Enable flag for a small group → Collect data → Gradually increase exposure. D) Write code → Commit → Push to production. Answer: C

Ultimate Exam

Explanation: Progressive delivery uses flags to expose new code to a limited audience first, then expands based on feedback. Question 60. What is the effect of setting a flag’s “off” variant to a null value? A) The flag will cause a runtime error. B) The SDK will treat the flag as undefined for “off” cases. C) All users will receive the “on” variant. D) The flag will be removed from the UI. Answer: B Explanation: A null “off” variant means the flag returns no value when evaluated as “off”, which the SDK interprets as undefined. Question 61. Which of the following is a correct use of “CasC” in a DevOps pipeline? A) Storing flag definitions in a JSON file committed to Git and applying them via a pipeline step. B) Hard-coding flag values inside application source code. C) Manually editing flags through the UI for each release. D) Using CasC to generate random flag keys. Answer: A Explanation: CasC encourages storing configuration as code (e.g., JSON/YAML) in source control and applying it automatically. Question 62. Which scenario illustrates a “targeted rollout” using custom user attributes? A) Enabling a feature for all users on a specific date. B) Rolling out a feature to users whose “plan = enterprise”. C) Randomly selecting 10 % of traffic worldwide. D) Turning on a flag for every request after a server restart. Answer: B