Courseiva

EX280 · domain

Application Deployment And Lifecycle

This domain covers building and rolling out applications on OpenShift Container Platform 4.14+: BuildConfigs, ImageStreams, DeploymentConfigs, triggers, hooks, and rollout strategies. You are tested through hands-on oc commands and YAML edits: starting builds, wiring image-change triggers, configuring deployment triggers, and explaining hook behavior in real cluster tasks.

62 questions16 easy26 medium20 hard

Focused practice

Practice Application Deployment And Lifecycle questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Application Deployment And Lifecycle

Be able to create and start builds, edit BuildConfig and DeploymentConfig YAML, and wire ImageChange triggers correctly. The key skill is knowing which resource owns each trigger and verifying rollouts with oc logs, oc status, and oc rollout status.

Starting builds with oc start-build against an existing BuildConfig, including --from and --follow options

DeploymentConfig trigger types: ImageChange and ConfigChange, configured in the triggers array

ImageStream ImageChange triggers in BuildConfigs that rebuild when the base image tag updates

postCommit hook purpose: running commands after a build completes, such as tests or artifact cleanup

Watch out for

Common Application Deployment And Lifecycle exam traps

  • ▸Confusing BuildConfig image-change triggers with DeploymentConfig ImageChange triggers; they are separate resources with separate trigger syntax
  • ▸Assuming a new build starts automatically without setting the ImageChange trigger and referencing the correct ImageStream tag
  • ▸Treating postCommit as a deployment hook; it runs after the build, not after the pod is deployed

Question index

All Application Deployment And Lifecycle questions (62)

Click any question to see the full explanation, or start a practice session above.

1

What is the primary difference between a Deployment and a DeploymentConfig in OpenShift?

Medium
2

You need to update an application without downtime. Which deployment strategy is most appropriate?

Medium
3

An administrator needs to roll back a Deployment in OpenShift to a specific previous revision because the latest update introduced a critical database connection bug. Which command identifies the available revisions and their associated change causes before executing the rollback?

Hard
4

An administrator needs to perform a canary deployment strategy using standard OpenShift Deployment resources (not DeploymentConfigs). What is the standard Kubernetes/OpenShift native mechanism to route a small percentage of traffic to the canary deployment?

Hard
5

An ImageStream named 'frontend' in a project contains multiple tags, including 'latest' and 'v1.0'. You want to update an existing Deployment to specifically use the 'v1.0' tag of this ImageStream. Where must this reference be updated in the Deployment specification?

Easy
6

You need to ensure that your application deployment always maintains at least 80% of its desired pod count during a rolling update. Which strategy parameter should you configure?

Medium
7

An administrator needs to completely remove a Helm release named my-redis from the cluster, including its history. Which Helm command should be executed?

Easy
8

A developer has deployed a Helm chart in OpenShift and needs to list all currently installed Helm releases in the current namespace. Which command should be used?

Easy
9

You notice that your builds are failing due to a lack of memory. Where can you set resource limits for the build process?

Hard
10

A developer has created a Kustomization file that applies a namespace prefix and some patches to base Kubernetes manifests. How can the developer apply these manifests to an OpenShift cluster using standard oc tooling without installing standalone Kustomize?

Hard
11

Which THREE methods can be used to pass parameters or configuration values into a Helm chart installation in OpenShift? (Choose three.)

Hard
12

An administrator needs to view the rollout history of a DeploymentConfig named web-frontend. Which command accomplishes this?

Easy
13

An administrator needs to deploy a containerized web application using a Git repository as the source without writing a Dockerfile. Which OpenShift build strategy should be used?

Easy
14

When managing application lifecycles and rollouts using standard Kubernetes Deployments in OpenShift 4.14, which TWO parameters are explicitly configurable under the rollingUpdate strategy settings? (Choose two.)

Medium
15

A DeploymentConfig in OpenShift has a Rolling strategy defined. Which parameter in the strategy configuration controls the maximum number of pods that can be created above the desired replica count during the update?

Medium
16

An administrator needs to deploy a Helm chart into an OpenShift cluster while overriding specific chart values using a local YAML file. Which Helm CLI command should be executed?

Hard
17

An OpenShift administrator needs to trigger a rollback of a Deployment to its previous working revision after a failed update. Which oc command should be used?

Medium
18

An administrator wants to pause rollouts on a DeploymentConfig named backend-api to make multiple configuration changes without triggering intermediate builds or rollouts. Which command pauses the rollout?

Medium
19

You need to deploy a Node.js application from a Git repository using Source-to-Image (S2I) on OpenShift 4.14, and you want to ensure the build triggers automatically whenever a new image is pushed to the dependent base ImageStream. Which BuildConfig strategy and configuration element achieves this?

Medium
20

How do you view the history of deployments for a DeploymentConfig?

Medium
21

Which resource in OpenShift acts as an abstraction over a set of images to provide a stable reference?

Easy
22

You want to prevent a specific pod from being scheduled on nodes that are already running other pods of the same application. What should you configure?

Medium
23

Which THREE items are contained within a Helm Chart structure?

Hard
24

An administrator is managing a DeploymentConfig named frontend in an OpenShift 4.14 cluster. The DeploymentConfig has a ConfigChange trigger enabled. The administrator needs to update the container image in the DeploymentConfig without triggering an automatic rollout, so that multiple changes can be made before a manual rollout. Which action should the administrator take?

Hard
25

Which THREE of the following are valid build strategies supported by OpenShift BuildConfigs? (Choose three.)

Easy
26

Which command-line argument can you use to change the output format of 'oc get' to YAML?

Easy
27

Which command allows you to view the logs of a specific build?

Easy
28

You are using Kustomize to manage environment-specific configurations. Which file must be present in the base directory to define resources?

Medium
29

Which THREE pieces of data can an ImageStream reference?

Hard
30

When managing ImageStreams in OpenShift, which TWO tasks can an administrator perform using oc commands? (Choose two.)

Medium
31

You have a Helm chart that requires custom values for different environments. Which flag allows you to pass a custom values file?

Hard
32

You need to perform a canary deployment by shifting traffic between two versions of your app. What is the standard way to accomplish this in OpenShift without using a Service Mesh?

Hard
33

An administrator needs to create a new OpenShift build using a BuildConfig. Which TWO build strategies are natively supported out-of-the-box by OpenShift? (Choose two.)

Medium
34

A team runs a Deployment named catalog-api in project retail. After a configuration change, pods crash with an application error, and the administrator needs to return the Deployment to the last known-good revision. The administrator runs oc rollout history deployment/catalog-api and sees revision 7 as the current one. Which single command restores the previous working revision?

Hard
35

Which THREE things can you configure in a BuildConfig?

Hard
36

An administrator needs to configure a BuildConfig so that whenever a new image is pushed to a dependent ImageStream tag, a new build is automatically triggered. Which trigger type must be added to the BuildConfig?

Hard
37

You want to trigger a new build automatically whenever the base image in an ImageStream changes. What must be enabled in the BuildConfig?

Easy
38

What is the purpose of the 'postCommit' hook in a BuildConfig?

Medium
39

Which TWO of the following are valid ways to trigger a build in OpenShift?

Medium
40

An administrator is configuring a DeploymentConfig in OpenShift and wants to set up automated triggers for new rollouts. Which TWO trigger types are natively supported in a DeploymentConfig spec? (Choose two.)

Medium
41

Which THREE actions can be performed using the oc rollout subcommand in OpenShift? (Choose three.)

Hard
42

Which OpenShift resource defines the desired state of a containerized application, including replica count and image version?

Easy
43

Which THREE components are part of a Kustomize configuration?

Hard
44

You are preparing to deploy an application to an OpenShift Container Platform 4.14 cluster. The application is defined across multiple Kubernetes manifests, and you need to ensure that a set of common labels and a namespace prefix are applied to all resources. You want to use Kustomize to manage this without writing custom scripts. Which of the following best describes how to achieve this using the oc CLI?

Medium
45

Which command is used to start a new build from an existing BuildConfig named 'frontend'?

Easy
46

A developer is using Kustomize to manage environment overlays (dev and prod) for an OpenShift application. Where should the common base resources be referenced in the prod/kustomization.yaml file?

Medium
47

During an S2I build, an administrator needs to pass sensitive build arguments, such as subscription keys, without hardcoding them into the BuildConfig or exposing them in the final image history. How should this be handled?

Medium
48

A developer wants to inspect the generated Kubernetes manifests from a Helm chart without actually installing the chart into the OpenShift cluster. Which Helm command should be used?

Easy
49

Which TWO of the following are valid deployment strategies supported by OpenShift?

Medium
50

A developer has built a container image and pushed it to an external registry. They now want to deploy this image as a new application in an OpenShift 4.14 project. Which oc command should they use to create a Deployment that runs the image and exposes it with a Service?

Easy
51

How do you define a health check that verifies if your application is ready to start receiving traffic?

Hard
52

Which TWO pieces of information are needed when defining a new Helm repository?

Medium
53

An administrator manages a Deployment named payments-api in the project finance-prod. During a maintenance window, changes to the pod template must be staged without any new pods being created. Once all edits are complete, a single rollout should start. Which oc command should the administrator run first?

Medium
54

Which TWO of the following can be used to troubleshoot a failing deployment?

Medium
55

Which TWO statements are true regarding Kustomize usage within OpenShift? (Choose two.)

Medium
56

A developer wants to track multiple versions and tags of container images within an OpenShift cluster efficiently. Which OpenShift resource provides this capability?

Easy
57

When creating a build using S2I, what does the 'assemble' script do?

Medium
58

When performing a 'rollout undo' on a Deployment, what is the default behavior if no revision is specified?

Medium
59

Which tool would you use to package an application including its dependencies and configuration for easy distribution in OpenShift?

Easy
60

Which THREE items are required to successfully deploy a basic application using S2I?

Hard
61

You want to automate the application lifecycle so that every time a code change is pushed, the build and deployment occur automatically. Which combination of features should you use?

Hard
62

What is the result of using a 'Recreate' strategy during a deployment?

Hard

Frequently asked questions

What does the Application Deployment And Lifecycle domain cover on the EX280 exam?
Be able to create and start builds, edit BuildConfig and DeploymentConfig YAML, and wire ImageChange triggers correctly. The key skill is knowing which resource owns each trigger and verifying rollouts with oc logs, oc status, and oc rollout status.
How many questions are in this domain?
This page lists all 62 Application Deployment And Lifecycle questions in the EX280 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Application Deployment And Lifecycle questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Red Hat Certified OpenShift Administrator (EX280, OpenShift Container Platform 4.14+) (EX280) Application Deployment And Lifecycle Practice Questions