CKAD Certified Kubernetes Application Developer Exam Dumps

Page 1

Exam:CKAD

Title:

CertifiedKubernetes

ApplicationDeveloper

https://www.passcert.com/CKAD.html

Thesafer,easierwaytohelpyoupassanyITexams 1/6

1.CORRECTTEXT

Task:

UpdatethePodckad00018-newpodintheckad00018namespacetouseaNetworkPolicyallowingthe Podtosendandreceivetrafficonlytoandfromthepodswebanddb

Answer:

2CORRECTTEXT

Task:

ModifytheexistingDeploymentnamedbroker-deploymentrunninginnamespacequetzalsothatits containers.

Thebroker-deploymentismanifestfilecanbefoundat:

Answer:

Explanation:

Solution:

2/6
Thesafer,easierwaytohelpyoupassanyITexams
Thesafer,easierwaytohelpyoupassanyITexams 3/6 Text Descriptionautomaticallygenerated 3CORRECTTEXT

Context

Yousometimesneedtoobserveapod'slogs,andwritethoselogstoafileforfurtheranalysis

Task

Pleasecompletethefollowing;

•DeploythecounterpodtotheclusterusingtheprovidedYAMLspecfileat /opt/KDOB00201/counteryaml

•Retrieveallcurrentlyavailableapplicationlogsfromtherunningpodandstoretheminthefile /opt/KDOB0020l/logOutputtxt,whichhasalreadybeencreated

Answer:

4CORRECTTEXT

Context

Youhavebeentaskedwithscalinganexistingdeploymentforavailability,andcreatingaserviceto exposethedeploymentwithinyourinfrastructure

Task

Startwiththedeploymentnamedkdsn00101-deploymentwhichhasalreadybeendeployedtothe namespacekdsn00101Edititto:

•Addthefunc=webFrontEndkey/valuelabeltothepodtemplatemetadatatoidentifythepodforthe servicedefinition

•Have4replicas

Next,createanadeployinnamespacekdsn00l01aservicethataccomplishesthefollowing:

Thesafer,easierwaytohelpyoupassanyITexams 4/6

•ExposestheserviceonTCPport8080

•ismappedtomepodsdefinedbythespecificationofkdsn00l01-deployment

•IsoftypeNodePort

•Hasanameofcherry

Answer:

5CORRECTTEXT

Context

Developersoccasionallyneedtosubmitpodsthatrunperiodically Task

Followthestepsbelowtocreateapodthatwillstartatapredeterminedtimeand]whichrunsto completiononlyonceeachtimeitisstarted:

•CreateaYAMLformattedKubernetesmanifest/opt/KDPD00301/periodicyamlthatrunsthefollowing shellcommand:dateinasinglebusyboxcontainerThecommandshouldruneveryminuteandmust completewithin22secondsorbeterminatedoyKubernetesTheCronjobnampandcontainername shouldbothbehello

•Createtheresourceintheabovemanifestandverifythatthejobexecutessuccessfullyatleastonce

Answer:

6CORRECTTEXT

5/6
Thesafer,easierwaytohelpyoupassanyITexams

Context

Aprojectthatyouareworkingonhasarequirementforpersistentdatatobeavailable Task

Tofacilitatethis,performthefollowingtasks:

•Createafileonnodesk8s-node-0at/opt/KDSP00101/data/indexhtmlwiththecontentAcct=Finance

•CreateaPersistentVolumenamedtask-pv-volumeusinghostPathandallocate1Gitoit,specifyingthat thevolumeisat/opt/KDSP00101/dataonthecluster'snodeTheconfigurationshouldspecifytheaccess modeofReadWriteOnceItshoulddefinetheStorageClassnameexamforthePersistentVolume,which willbeusedtobindPersistentVolumeClaimrequeststothisPersistenetVolume

•CreateaPefsissentVolumeClaimnamedtask-pv-claimthatrequestsavolumeofatleast100Miand specifiesanaccessmodeofReadWriteOnce

•CreateapodthatusesthePersistentVolmeClaimasavolumewithalabelapp:my-storage-app mountingtheresultingvolumetoamountPath/usr/share/nginx/htmlinsidethepod

Answer:

6/6
Thesafer,easierwaytohelpyoupassanyITexams

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.