Docsity

PrepIQ CloudBees Feature Management Associate Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
PrepIQ CloudBees Feature Management Associate
Ultimate Exam
**Question 1. Which of the following most accurately defines a feature flag?**
A) A permanent code change that adds new functionality
B) A configuration that toggles code execution without redeploying
C) A database schema migration tool
D) A version control branch
Answer: B
Explanation: A feature flag is a runtime configuration that enables or disables code
paths, allowing changes without redeploying the application.
**Question 2. What are the three essential components of a feature flag?**
A) Name, state, logging level
B) Name, state, targeting rules
C) Owner, version, state
D) Name, description, expiration date
Answer: B
Explanation: Every flag has a unique name, a current state (on/off), and optional
targeting rules that determine which users see the flag.
**Question 3. Which type of feature flag is primarily used to control exposure of a
new feature to a limited audience for testing?**
A) Release toggle
B) Operational toggle
C) Experiment toggle
D) Security toggle
Answer: C
Explanation: Experiment toggles support A/B testing and other experiments by
exposing variations to specific user groups.
**Question 4. A “kill switch” in feature management is best described as:**
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

Partial preview of the text

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

Ultimate Exam

Question 1. Which of the following most accurately defines a feature flag? A) A permanent code change that adds new functionality B) A configuration that toggles code execution without redeploying C) A database schema migration tool D) A version control branch Answer: B Explanation: A feature flag is a runtime configuration that enables or disables code paths, allowing changes without redeploying the application. Question 2. What are the three essential components of a feature flag? A) Name, state, logging level B) Name, state, targeting rules C) Owner, version, state D) Name, description, expiration date Answer: B Explanation: Every flag has a unique name, a current state (on/off), and optional targeting rules that determine which users see the flag. Question 3. Which type of feature flag is primarily used to control exposure of a new feature to a limited audience for testing? A) Release toggle B) Operational toggle C) Experiment toggle D) Security toggle Answer: C Explanation: Experiment toggles support A/B testing and other experiments by exposing variations to specific user groups. Question 4. A “kill switch” in feature management is best described as:

Ultimate Exam

A) A scheduled retirement of a flag after a release deadline B) An instant method to disable a feature for all users C) A tool to migrate data during a rollout D) A feature that automatically scales resources Answer: B Explanation: A kill switch provides an immediate way to turn off a feature globally, useful for emergency rollbacks. Question 5. Progressive delivery differs from traditional release pipelines because it: A) Requires a separate code branch for each environment B) Deploys code only after a feature flag is turned on for all users C) Allows incremental exposure of a feature to users after deployment D) Eliminates the need for testing environments Answer: C Explanation: Progressive delivery uses feature flags to gradually expose a feature post-deployment, reducing risk. Question 6. Which of the following is a common use case for a canary release? A) Deploying a feature to 100% of users at once B) Testing a feature in a production-like environment with a small user subset C) Automatically rolling back failed database migrations D) Encrypting traffic between services Answer: B Explanation: Canary releases expose a new version to a small fraction of traffic to monitor behavior before full rollout. Question 7. In the context of feature flags, “selective rollout” means: A) Deploying code only to certain servers B) Targeting a specific group of users based on attributes C) Randomly disabling features for performance testing

Ultimate Exam

Explanation: A project’s identity (name and owner) is required before adding environments or flags. Question 11. To create a new feature flag in the CloudBees UI, which sequence is correct? A) Navigate to “Analytics” → “Create Flag” → “Save” B) Open “Projects” → select a project → “Flags” → “New Flag” → configure → “Create” C) Go to “Environments” → “Add Flag” → “Deploy” D) Click “User Management” → “Add Flag” → “Assign” Answer: B Explanation: Flags are created under a specific project via the “Flags” section. Question 12. The default state of a newly created flag should generally be set to: A) On, to ensure immediate availability B) Off, to prevent accidental exposure before testing C) Random, to simulate real-world traffic D) Disabled, which is different from “off” Answer: B Explanation: Starting with “off” avoids unintentionally exposing an unfinished feature. Question 13. Which stage of the feature flag lifecycle involves permanently removing a flag from the system? A) Creation B) Activation C) Retirement D) Archiving Answer: C Explanation: Retirement marks a flag as obsolete and removes it after any necessary cleanup.

Ultimate Exam

Question 14. Custom properties in CloudBees Feature Management are used primarily for: A) Storing secret keys for encryption B) Adding metadata that can be referenced in targeting rules C) Defining the UI theme of the dashboard D) Setting the flag’s expiration date Answer: B Explanation: Custom properties allow teams to store additional data (e.g., version, owner) that can influence evaluation. Question 15. Role-Based Access Control (RBAC) in CloudBees ensures that: A) All users have full edit rights on every flag B) Permissions are granted based on a user’s role, such as Viewer or Admin C) Flags automatically inherit permissions from the underlying repository D) Only the flag creator can ever modify a flag Answer: B Explanation: RBAC assigns specific capabilities (view, edit, delete) based on predefined roles. Question 16. Which role typically has permission to create and delete flags but cannot manage project settings? A) Viewer B) Editor C) Admin D) Operator Answer: B Explanation: The Editor role focuses on flag management without broader project administration rights. Question 17. Enabling “Secret Mode” for a flag is most appropriate when:

Ultimate Exam

C) Ensure all users see the feature at the same time D) Automatically rollback after a set time period Answer: B Explanation: Percentage rollouts expose a feature to a controlled slice of users, facilitating monitoring and safe scaling. Question 21. The difference between a gradual rollout and an instant rollback is that: A) Gradual rollout changes the flag state over time; instant rollback reverses it immediately for all users B) Both are the same operation performed in different UI sections C) Gradual rollout only works in staging environments, while instant rollback works only in production D) Instant rollback requires code changes, while gradual rollout does not Answer: A Explanation: Gradual rollout progresses the exposure; instant rollback flips the flag back for everyone at once. Question 22. Which SDK method is typically used to evaluate a flag’s state in server-side code? A) getFlagValue() B) toggle() C) evaluateFeature() D) isEnabled() Answer: D Explanation: Most CloudBees SDKs expose an isEnabled method to check whether a flag is active for a given context. Question 23. The “Toggle Router” in CloudBees architecture is responsible for: A) Routing HTTP traffic to different microservices B) Determining the final flag state after applying targeting rules and overrides C) Managing user authentication for the dashboard

Ultimate Exam

D) Storing flag definitions in a relational database Answer: B Explanation: The Toggle Router aggregates all evaluation inputs (default, targeting, overrides) to compute the flag’s effective state. Question 24. Flag impressions are important because they: A) Count how many times a flag’s definition was edited B) Measure how many times the flag was evaluated in client code, providing usage data C) Indicate the number of developers working on a flag D) Show the number of environments where the flag is present Answer: B Explanation: Impressions track each evaluation call, helping teams understand exposure and performance impact. Question 25. Which of the following best describes a “Feature Analytics” report? A) A list of all flags that have been retired in the past year B) Metrics showing user adoption, conversion rates, and error rates associated with a flag’s variations C) A summary of SDK installation steps for each language D) A security audit of secret-mode flags Answer: B Explanation: Feature Analytics provides insight into how flag variations affect user behavior and system health. Question 26. Audit logs in CloudBees are primarily used for: A) Debugging SDK integration issues B) Tracking every change to flags for compliance and governance C) Monitoring real-time traffic spikes D) Generating automated release notes Answer: B

Ultimate Exam

Question 30. Which scenario best illustrates the need for a “kill switch”? A) A new UI component is performing poorly in production and must be disabled immediately B) A feature is being A/B tested with 10% of users C) A developer wants to preview a flag in a local environment D) A flag is being retired after a month of inactivity Answer: A Explanation: Kill switches enable rapid deactivation of problematic features without a new deployment. Question 31. The primary purpose of “Geographical targeting” in feature flags is to: A) Reduce latency by serving content from the nearest data center B) Enable compliance with regional regulations by exposing features only in allowed regions C) Automatically translate UI strings based on location D) Balance server load across continents Answer: B Explanation: Geography-based rules let organizations comply with local laws and tailor experiences per region. Question 32. Which of the following statements about “Release Toggles” is correct? A) They are used to turn off features after a security breach B) They control the rollout of a feature that is fully tested and ready for production C) They are only applicable to backend services, not UI components D) They cannot be combined with percentage rollouts Answer: B Explanation: Release toggles manage the activation of fully developed features, allowing staged releases.

Ultimate Exam

Question 33. An “Operational Toggle” is typically used to: A) Run performance experiments on new algorithms B) Enable or disable infrastructure-related behaviors like logging or caching C) Switch between different UI themes for A/B testing D) Control user authentication methods Answer: B Explanation: Operational toggles manage non-functional aspects such as diagnostics, throttling, or maintenance mode. Question 34. When a flag is set to “off” in the production environment but “on” in staging, what is the expected behavior? A) The feature will be active for all users in production but not in staging B) The feature will be active only in staging; production users will not see it C) The flag will cause a deployment failure in production D) The flag state will be ignored because environments must match Answer: B Explanation: Flag states are evaluated per environment, so production sees the “off” state while staging sees “on”. Question 35. Which method is used to retrieve the current value of a flag for a specific user context in the JavaScript SDK? A) client.getFlag('flag-key', context) B) client.isFeatureEnabled('flag-key', context) C) client.evaluate('flag-key', context) D) client.toggleState('flag-key') Answer: B Explanation: The JavaScript SDK provides isFeatureEnabled to evaluate a flag given a context object. Question 36. In the CloudBees UI, “Secret Mode” changes the display of a flag’s state to:

Ultimate Exam

C) Turn on “Secret Mode” for the flag D) Disable the flag in production Answer: B Explanation: Custom roles scoped to a flag allow fine-grained permission control for specific teams. Question 40. Which of the following is NOT a typical metric found in Feature Analytics? A) Conversion rate per flag variation B) Error count associated with a flag’s activation C. Number of lines of code changed in the last commit D) User retention differences between flag states Answer: C Explanation: Feature Analytics focuses on usage and impact, not on source-code metrics. Question 41. When configuring a percentage rollout, the “bucket” algorithm is used to: A) Randomly assign users to a server cluster B) Deterministically map a user identifier to a bucket number for consistent rollout C) Encrypt flag values before transmission D) Balance network traffic across regions Answer: B Explanation: Bucket algorithms hash a stable identifier (e.g., user ID) to ensure a user consistently falls into the same rollout bucket. Question 42. Which statement about “Flag Retirement” is correct? A) Retired flags are automatically deleted after 30 days B) Retired flags can still be referenced in targeting rules C) Retiring a flag disables it and removes it from the UI after a grace period D) Retired flags are archived for future reuse without modification

Ultimate Exam

Answer: C Explanation: Retirement disables the flag and eventually removes it, preventing accidental reuse. Question 43. In CloudBees, the “Projects” hierarchy is primarily used to: A) Group related applications, environments, and flags under a common business domain B) Store source code repositories for each flag C) Manage network firewall rules for each environment D. Provide a backup of all flag definitions Answer: A Explanation: Projects provide logical organization for related assets. Question 44. Which of the following is a recommended naming convention for flags? A) feature_2023_09 B) EnableNewCheckoutFlow (PascalCase) C) new-checkout-flow (kebab-case) D) new_checkout_flow (snake_case) Answer: D Explanation: Snake_case (new_checkout_flow) is commonly recommended for readability and consistency across SDKs. Question 45. If a flag’s evaluation returns “null,” what does this indicate in the CloudBees SDK? A) The flag does not exist or the SDK cannot retrieve its definition B) The flag is deliberately disabled for all users C) The flag is in secret mode and hidden from the SDK D) The user’s context is missing required attributes Answer: A Explanation: A null result typically means the SDK could not find the flag definition (e.g., wrong key or network issue).

Ultimate Exam

Question 49. A developer wants to test a new feature locally without affecting other developers. Which approach is most appropriate? A) Create a personal environment in CloudBees and set the flag to “on” there B) Change the flag’s default state to “on” globally C) Edit the source code to comment out the flag check D) Disable RBAC for the flag Answer: A Explanation: Personal environments allow isolated flag configurations without impacting shared environments. Question 50. Which of the following is NOT a supported target attribute in CloudBees by default? A) email B) subscription_tier C) device_temperature D) country Answer: C Explanation: Device temperature is not a built-in attribute; the others are standard. Question 51. The “Toggle Router” uses which of the following data sources to compute a flag’s final state? A) Default flag value, targeting rules, overrides, and context attributes B) Only the default flag value C) The latest Git commit hash D) The server’s CPU usage Answer: A Explanation: The router aggregates all inputs (default, rules, overrides, context) to resolve the state. Question 52. Which action should be taken before deleting a flag that is currently used in production?

Ultimate Exam

A) Immediately delete it; production will ignore missing flags B) Replace the flag with a hard-coded value in code and ensure no evaluations occur, then retire the flag C) Turn the flag on for all users to avoid errors D) Change the flag name to “deleted_...” and keep it active Answer: B Explanation: Safely replace flag usage in code, ensure the flag is no longer evaluated, then retire and delete. Question 53. In CloudBees, the “Audit Log” entry for a flag change includes all EXCEPT: A) Timestamp of the change B) User who performed the change C) The exact SDK call that evaluated the flag D) The type of change (create, update, delete) Answer: C Explanation: Audit logs track configuration changes, not runtime SDK evaluations. Question 54. Which of the following best illustrates a “Canary Release” using feature flags? A) Turning a flag on for 100% of users after a successful test in staging B) Enabling a flag for 5% of production users, monitoring metrics, then gradually increasing the percentage C) Deploying a new microservice without any flags D) Using a flag to switch between two database schemas simultaneously Answer: B Explanation: Canary releases start with a small user percentage and expand based on observed behavior. Question 55. When a flag is in “Secret Mode,” which of the following statements is true? A) The flag value is encrypted in transit but visible in the UI

Ultimate Exam

C) Disable audit logs to improve performance D) Store experiment results in the flag’s custom properties Answer: B Explanation: Separate flags for each variant make it easier to track and analyze results. Question 59. When evaluating a flag with the Java SDK, which object typically carries the user attributes? A) FeatureContext B) ToggleRequest C) EvaluationContext D) FlagPayload Answer: C Explanation: The EvaluationContext holds attributes like user ID, country, and custom properties. Question 60. Which of the following is NOT a reason to retire a flag? A) The underlying code has been permanently enabled B) The flag is no longer needed for any environment C) The flag is being used for a long-running experiment that will continue indefinitely D) The flag was created by mistake and never used Answer: C Explanation: Ongoing experiments require the flag to stay active; retirement is for obsolete flags. Question 61. A “Target Group” that uses the rule country == "US" AND subscription_tier == "premium" will include: A) All users worldwide B) Only users in the US with a premium subscription C) Users in the US regardless of subscription tier

Ultimate Exam

D) Users with a premium subscription regardless of country Answer: B Explanation: Both conditions must be true for a user to belong to the group. Question 62. Which of the following best describes the purpose of “Feature Flag Governance”? A) Automating flag creation for every new pull request B) Establishing policies, reviews, and audit trails for flag usage to ensure compliance and reduce risk C) Disabling all flags after a security incident D) Enforcing a single flag per project rule Answer: B Explanation: Governance provides structured processes and oversight for flag lifecycle and usage. Question 63. In CloudBees, the “Flag State” column in the dashboard shows: A) The number of times the flag was edited B) Whether the flag is currently enabled, disabled, or in secret mode for the selected environment C) The SDK version used by the flag D) The total number of users evaluated against the flag Answer: B Explanation: The column reflects the effective state (on/off/secret) per environment. Question 64. Which of the following is a typical consequence of not removing obsolete flags? A) Increased memory usage in the SDK runtime B) Higher risk of accidental re-enabling a deprecated feature C) Immediate application crashes D) Automatic revocation of user access tokens Answer: B