{"id":59154,"date":"2026-12-03T11:24:39","date_gmt":"2026-12-03T08:24:39","guid":{"rendered":"https:\/\/sarhgroups.com\/?post_type=product&#038;p=59154"},"modified":"2026-12-03T20:30:20","modified_gmt":"2026-12-03T17:30:20","slug":"pmi-cpmai-course-en","status":"publish","type":"product","link":"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en","title":{"rendered":"PMI-CPMAI\u2122 Certified Professional in Managing AI Course"},"content":{"rendered":"\n<style id=\"sarh-crs-design-v1\">\/* ===========================================================================\n   Sarh course-product pages \u2014 certificate-page design system   (prefix: crs-)\n   ---------------------------------------------------------------------------\n   Authored from the measured cert system (cfm-\/cma-\/chrm-) rather than copied,\n   for three reasons:\n     1. The cert pages hand-mirror physical left\/right per language. Products\n        serve Arabic AND English from ONE stylesheet, so everything here is a\n        LOGICAL property (inline-start\/end). No RTL fork, no mirror bugs.\n     2. Products carry a WooCommerce <h1> already, so the hero heading is an h2.\n        Nothing here restyles h1 \u2014 the buy box above is left alone.\n     3. Products need three commerce components certificate pages never have\n        (price strip, related products, cohort widget mount).\n   Rhythm and scale copied exactly from the cert pages:\n     wrap  min(1180px, 100% - 48px)  \/  mobile 100% - 32px\n     sec   86px block padding        \/  mobile 62px\n     bands white  |  is-soft #f7f6f3 |  is-mist #eef3f7 (once per page)\n     breakpoints 1024 and 767 ONLY \u2014 the cert system has no phone breakpoint\n   HEADING SIZES: the cert pages' own clamps (h1 44-72, h2 34-56) never render \u2014\n   Customizer block sarh-title-scale-certs-v1 overrides them to h1 30-46 \/ h2 26-38.\n   Those EFFECTIVE sizes are written directly below, so this file needs no entry in\n   that Customizer list and cannot drift out of sync with it.\n   =========================================================================== *\/\n.crs-v1,.crs-v1 *{box-sizing:border-box}\n.crs-v1{\n  --nv:#16243f; --nvd:#101827; --rd:#b5181a; --rdd:#8f1214;\n  --soft:#f7f6f3; --mist:#eef3f7; --line:#dfe4ea;\n  --tx:#3f4a5d; --mu:#687386; --pk:#f3abb1;\n  width:100vw; margin-inline:calc(50% - 50vw); overflow:hidden;\n  color:var(--tx); background:#fff; font-family:inherit; line-height:1.9;\n}\n.crs-v1 img{display:block; max-width:100%}\n.crs-v1 a{color:inherit}\n.crs-v1 p{margin:0}\n.crs-v1 [id]{scroll-margin-block-start:110px}\n.crs-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.crs-sec{padding-block:72px}\n.crs-sec.is-soft{background:var(--soft)}\n.crs-sec.is-mist{background:var(--mist)}\n\n\/* ---------- section head: big title beside its lede ---------- *\/\n.crs-head{margin-block-end:34px}\n.crs-head.has-lede{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);\n  gap:52px; align-items:end}\n.crs-head:not(.has-lede) h2{max-width:24ch}\n.crs-head h2{margin:0; color:var(--nvd); font-size:clamp(26px,2.7vw,38px);\n  line-height:1.3; font-weight:850; letter-spacing:-.015em; text-wrap:balance}\n.crs-head>p{color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- the red kicker \u2014 rationed, hero + at most one section ---------- *\/\n.crs-kick{display:inline-flex; align-items:center; gap:10px; margin-block-end:12px;\n  color:var(--rd); font-size:13px; font-weight:800; letter-spacing:.01em}\n.crs-kick::before{content:\"\"; width:8px; height:8px; border-radius:50%;\n  background:currentColor; box-shadow:0 0 0 6px rgba(181,24,26,.09); flex:none}\n\n\/* ---------- opening section (replaces the old navy banner) ----------\n   The WooCommerce gallery, title, price and buy box sit directly above this, so a\n   second dark hero competed with them. This is an editorial opening instead. *\/\n.crs-intro{padding-block:56px 64px; border-block-end:1px solid var(--line)}\n.crs-intro h2{margin:0 0 18px; max-width:20ch; color:var(--nvd);\n  font-size:clamp(30px,3.4vw,46px); line-height:1.25; font-weight:850;\n  letter-spacing:-.02em; text-wrap:balance}\n.crs-intro h2 span{color:var(--rd)}\n.crs-lead{max-width:62ch; color:var(--mu); font-size:17px; line-height:1.95}\n.crs-acts{display:flex; flex-wrap:wrap; gap:12px; margin-block-start:26px}\n\/* opening section can carry a photo beside its copy *\/\n.crs-intro-g{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);\n  gap:48px; align-items:center}\n.crs-figure{margin:0; border:1px solid var(--line); border-radius:22px; overflow:hidden;\n  background:#fff}\n.crs-figure img{display:block; width:100%; height:auto}\n.crs-cap{margin:12px 0 0; color:var(--mu); font-size:13.5px; line-height:1.7}\n\n\/* ---------- buttons ---------- *\/\n.crs-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;\n  min-height:50px; padding:13px 26px; border:0; border-radius:999px; cursor:pointer;\n  font-family:inherit; font-size:14px; font-weight:800; line-height:1.5;\n  text-decoration:none !important; transition:background .2s ease, transform .2s ease}\n.crs-v1 .crs-btn-red{background:var(--rd); color:#fff}\n.crs-v1 .crs-btn-soft{background:rgba(255,255,255,.1); color:#fff;\n  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}\n.crs-v1 .crs-btn-ghost{background:#fff; color:var(--nv); box-shadow:inset 0 0 0 1px var(--line)}\n@media(hover:hover){\n  .crs-btn:hover{transform:translateY(-2px)}\n  .crs-v1 .crs-btn-red:hover{background:var(--rdd)}\n  .crs-v1 .crs-btn-soft:hover{background:rgba(255,255,255,.18)}\n  .crs-v1 .crs-btn-ghost:hover{background:var(--nv); color:#fff}\n}\n.crs-btn:focus-visible{outline:3px solid rgba(255,255,255,.5); outline-offset:2px}\n\n\/* ---------- fact tiles (At a glance) ---------- *\/\n.crs-facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(258px,1fr)); gap:14px}\n\/* children come from the source markup with NO class of their own - style them directly *\/\n.crs-facts>*{padding:26px 24px; border:1px solid var(--line); border-radius:20px;\n  background:#fff; color:var(--nvd); font-size:15.5px; line-height:1.75; font-weight:600}\n.crs-fact{padding:26px 24px; border:1px solid var(--line); border-radius:20px; background:#fff}\n\/* stat tiles: a big figure over its label (scp-stats \/ scp-exam shape) *\/\n.crs-facts>* strong{display:block; color:var(--nvd); font-family:Montserrat,Cairo,sans-serif;\n  font-size:clamp(24px,2.4vw,32px); line-height:1.15; font-weight:800;\n  font-variant-numeric:tabular-nums}\n.crs-facts>* b{display:block; color:var(--nvd,#16243f); font-size:15px; line-height:1.5; font-weight:800; margin-block-end:6px}\n.crs-facts>* span{display:block; margin-block-start:6px; color:var(--mu);\n  font-size:13.5px; line-height:1.7; font-weight:500}\n.crs-fact strong{display:block; color:var(--nvd); font-family:Montserrat,Cairo,sans-serif;\n  font-size:clamp(26px,2.6vw,36px); line-height:1.1; font-weight:800;\n  font-variant-numeric:tabular-nums; direction:ltr}\n.crs-fact span{display:block; margin-block-start:8px; color:var(--mu);\n  font-size:13.5px; line-height:1.7}\n.crs-fact p{color:var(--tx); font-size:14.5px; line-height:1.85}\n\n\/* ---------- prose panel ---------- *\/\n.crs-how{padding:30px 32px; border:1px solid var(--line); border-radius:22px;\n  background:#fff; color:var(--tx); font-size:16px; line-height:1.95; max-width:78ch}\n.crs-how p{margin:0 0 14px}\n.crs-how p:last-child{margin:0}\n\n\/* ---------- cards ---------- *\/\n.crs-cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px}\n.crs-card{padding:28px 26px; border:1px solid var(--line); border-radius:22px; background:#fff;\n  transition:transform .25s ease, box-shadow .25s ease}\n.crs-card h3{margin:0 0 9px; color:var(--nv); font-size:19px; line-height:1.45; font-weight:800}\n.crs-card p{color:var(--mu); font-size:14.5px; line-height:1.85}\n@media(hover:hover){.crs-card:hover{transform:translateY(-5px);\n  box-shadow:0 22px 50px rgba(22,36,63,.12)}}\n\n\/* ---------- specification rows ---------- *\/\n.crs-rows{display:grid; gap:0; margin:0; border:1px solid var(--line);\n  border-radius:20px; overflow:hidden; background:#fff}\n.crs-rows>div{display:grid; grid-template-columns:minmax(150px,.42fr) 1fr; gap:18px;\n  padding:17px 22px; border-block-end:1px solid var(--line)}\n.crs-rows>div:last-child{border-block-end:0}\n.crs-rows dt{color:var(--nv); font-size:14px; font-weight:800}\n.crs-rows dd{margin:0; color:var(--tx); font-size:14.5px; line-height:1.8}\n\n\/* ---------- chips ---------- *\/\n.crs-chips{display:flex; flex-wrap:wrap; gap:9px; margin-block-start:14px}\n.crs-chips span{padding:9px 15px; border:1px solid var(--line); border-radius:999px;\n  background:#fff; color:var(--tx); font-size:13px; line-height:1.5}\n\n\/* ---------- accordion \/ FAQ (pure CSS, no JS) ---------- *\/\n.crs-faq{border:1px solid var(--line); border-radius:18px; background:#fff;\n  margin-block-end:12px; overflow:hidden}\n.crs-faq>summary{display:flex; align-items:center; justify-content:space-between; gap:16px;\n  min-height:64px; padding:16px 22px; cursor:pointer; list-style:none;\n  color:var(--nv); font-size:15px; font-weight:820; line-height:1.6}\n.crs-faq>summary::-webkit-details-marker{display:none}\n.crs-faq>summary::after{content:\"+\"; flex:none; color:var(--rd); font-size:21px;\n  font-weight:800; line-height:1; transition:transform .2s ease}\n.crs-faq[open]>summary::after{transform:rotate(45deg)}\n.crs-faq>summary:focus-visible{outline:3px solid rgba(22,36,63,.3); outline-offset:-3px}\n.crs-faq-a{padding:0 22px 20px; color:var(--tx); font-size:14.5px; line-height:1.9}\n\n\/* ---------- navy \"path\" band ---------- *\/\n.crs-path{background:var(--nv); color:#fff}\n.crs-path .crs-head h2{color:#fff}\n.crs-v1 .crs-path.crs-path .crs-head>p{color:#cbd5e1}\n.crs-v1 .crs-path.crs-path .crs-head h2{color:#fff}\n.crs-v1 .crs-path.crs-path .crs-step p{color:#c8d2e0}\n.crs-steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:16px}\n.crs-step{padding:26px 24px; border-radius:20px; background:rgba(255,255,255,.06)}\n.crs-step b{display:block; margin-block-end:10px; color:var(--pk);\n  font-family:Montserrat,Cairo,sans-serif; font-size:13px; font-weight:800; letter-spacing:.06em}\n.crs-step h3{margin:0 0 8px; color:#fff; font-size:16px; line-height:1.5; font-weight:800}\n.crs-step p{color:#c8d2e0; font-size:14px; line-height:1.8}\n\n\/* ---------- commerce bits the cert pages do not have ---------- *\/\n.crs-strip{display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;\n  padding:20px 24px; border:1px solid var(--line); border-radius:20px; background:#fff}\n.crs-strip small{color:var(--mu); font-size:13px; line-height:1.75}\n.crs-dates{padding:24px 26px; border:1px solid var(--line);\n  border-inline-start:5px solid var(--rd); border-radius:20px; background:#fff}\n.crs-dates strong{display:block; margin-block-end:8px; color:var(--nv);\n  font-size:15px; font-weight:800}\n.crs-dates p{color:var(--tx); font-size:14.5px; line-height:1.85}\n.crs-rel{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px}\n.crs-rel a{display:block; padding:20px 22px; border:1px solid var(--line); border-radius:18px;\n  background:#fff; color:var(--nv); font-size:14.5px; font-weight:700; line-height:1.7;\n  text-decoration:none; transition:transform .2s ease, box-shadow .2s ease}\n@media(hover:hover){.crs-rel a:hover{transform:translateY(-4px);\n  box-shadow:0 18px 40px rgba(22,36,63,.12)}}\n\n\/* ---------- closing CTA ---------- *\/\n.crs-cta-sec{padding-block:0 90px}\n.crs-cta{position:relative; overflow:hidden; display:grid;\n  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:40px; align-items:center;\n  padding:52px 48px; border-radius:30px; color:#fff;\n  background:linear-gradient(135deg,var(--rd),var(--rdd))}\n.crs-cta h2{margin:0 0 12px; color:#fff; font-size:clamp(26px,2.7vw,38px);\n  line-height:1.3; font-weight:850; letter-spacing:-.015em; text-wrap:balance}\n.crs-v1 .crs-cta.crs-cta p{color:#ffe5e8; font-size:16px; line-height:1.9}\n.crs-v1 .crs-cta.crs-cta h2{color:#fff}\n.crs-cta-acts{display:grid; gap:12px}\n.crs-cta .crs-btn-ghost{background:#fff; color:var(--rdd); box-shadow:none}\n.crs-cta .crs-btn-soft{background:rgba(255,255,255,.14); color:#fff;\n  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}\n\n\/* ===================== tablet ===================== *\/\n@media(max-width:1024px){\n  .crs-head,.crs-cta,.crs-intro-g{grid-template-columns:1fr; gap:22px}\n  .crs-head{align-items:start}\n  .crs-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .crs-steps{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ===================== mobile ===================== *\/\n@media(max-width:767px){\n  .crs-wrap{width:calc(100% - 32px)}\n  .crs-sec{padding-block:56px}\n  .crs-intro{padding-block:40px 48px}\n  .crs-intro h2{max-width:none}\n  .crs-lead{font-size:16px; line-height:1.9}\n  .crs-head{margin-block-end:26px}\n  .crs-head.has-lede{gap:16px}\n  .crs-acts{display:grid; grid-template-columns:1fr}\n  .crs-acts .crs-btn,.crs-cta-acts .crs-btn{width:100%}\n  .crs-facts,.crs-cards,.crs-steps,.crs-rel,.crs-cta-acts{grid-template-columns:1fr}\n  .crs-card,.crs-step{padding:23px 21px}\n  .crs-fact{padding:21px 18px}\n  .crs-fact strong{font-size:30px}\n  .crs-cta{gap:26px; padding:36px 24px; border-radius:26px}\n  .crs-cta-sec{padding-block-end:64px}\n  .crs-strip,.crs-dates{padding:20px}\n  .crs-how{padding:22px 20px; font-size:15px}\n  .crs-facts>*{padding:20px 18px; font-size:15px}\n  \/* spec rows de-stack into label-over-value so nothing is squeezed or scrolls *\/\n  .crs-rows>div{grid-template-columns:1fr; gap:6px; padding:16px 18px}\n  .crs-faq>summary{padding:14px 18px; font-size:14.5px}\n  .crs-faq-a{padding:0 18px 18px}\n}\n@media(prefers-reduced-motion:reduce){\n  .crs-btn,.crs-card,.crs-rel a{transition:none}\n  .crs-btn:hover,.crs-card:hover,.crs-rel a:hover{transform:none}\n}\n<\/style>\n<style>\/* Sarh \u00d7 TMS schedule widget \u2014 palette matches the certification pages *\/ .sarh-next,.sarh-next *{box-sizing:border-box} .sarh-next{display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); gap:22px; align-items:center; width:100%} .sarh-next-kick{display:block; color:#b5181a; font-size:12px; font-weight:800; line-height:1.5; letter-spacing:.01em; margin-bottom:4px} .sarh-next-date{display:block; color:#16243f; font-size:clamp(19px,2.2vw,25px); font-weight:850; line-height:1.25; margin-bottom:4px} .sarh-next-cohort{display:block; color:#687386; font-size:12.5px; line-height:1.6; margin-bottom:12px} .sarh-next-rows{display:grid; grid-template-columns:auto 1fr; gap:4px 12px; margin:0} .sarh-next-rows dt{color:#687386; font-size:12px; line-height:1.7; margin:0} .sarh-next-rows dd{color:#16243f; font-size:12.5px; font-weight:700; line-height:1.7; margin:0} .sarh-next-more{margin:10px 0 0; color:#687386; font-size:11.5px; line-height:1.6} .sarh-next-side{display:grid; gap:8px; justify-items:stretch; text-align:center} .sarh-next-price{color:#16243f; font-size:13px; line-height:1.7} .sarh-next-price b{font-family:Montserrat,Cairo,sans-serif; font-size:21px; color:#b5181a} .sarh-next-price s{color:#98a2b3; margin-inline-start:6px; font-size:12.5px} .sarh-next-price i{display:block; color:#687386; font-size:11px; font-style:normal; margin-top:2px} .sarh-next-btn{display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 22px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:13.5px; font-weight:800; text-decoration:none !important; transition:background .2s ease, transform .2s ease} .sarh-next-btn:hover{background:#8f1214; transform:translateY(-1px)} .sarh-next-all{appearance:none; border:1px solid #dfe4ea; border-radius:999px; background:#fff; color:#16243f; padding:9px 18px; font-size:12px; font-weight:750; cursor:pointer; font-family:inherit; transition:border-color .2s ease, color .2s ease} .sarh-next-all:hover{border-color:#b5181a; color:#b5181a} @media(max-width:767px){.sarh-next{grid-template-columns:1fr; gap:16px}.sarh-next-side{justify-items:stretch}} \/* ---------------- modal ---------------- *\/ .sarh-modal{position:fixed; inset:0; z-index:99999; display:none} .sarh-modal.is-open{display:block} .sarh-modal-back{position:absolute; inset:0; background:rgba(10,19,37,.55); backdrop-filter:blur(2px)} .sarh-modal-card{position:relative; z-index:1; width:min(980px,calc(100% - 32px)); max-height:86vh; margin:7vh auto 0; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; background:#fff; box-shadow:0 40px 100px rgba(10,19,37,.4)} .sarh-modal-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:24px 26px; border-bottom:1px solid #dfe4ea; background:#f7f6f3} .sarh-modal-top h2{margin:0 0 4px; color:#101827; font-size:clamp(20px,2.4vw,27px); line-height:1.25; font-weight:850} .sarh-modal-top p{margin:0; color:#687386; font-size:12.5px; line-height:1.7} .sarh-modal-x{appearance:none; border:0; background:#fff; border:1px solid #dfe4ea; border-radius:50%; width:36px; height:36px; flex:none; font-size:22px; line-height:1; color:#16243f; cursor:pointer} .sarh-modal-x:hover{border-color:#b5181a; color:#b5181a} .sarh-modal-body{padding:8px 26px 26px; overflow-y:auto} .sarh-modal-msg{margin:26px 0; color:#687386; font-size:14px; text-align:center} .sarh-mon{margin-top:22px} .sarh-mon h3{position:sticky; top:0; margin:0 0 12px; padding:10px 0; background:#fff; color:#b5181a; font-size:13px; font-weight:850; letter-spacing:.02em} .sarh-mon-list{display:grid; gap:10px} .sarh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,auto); gap:18px; align-items:center; padding:16px 18px; border:1px solid #dfe4ea; border-radius:16px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease} .sarh-row:hover{border-color:#c9d2dd; box-shadow:0 10px 26px rgba(22,36,63,.07)} .sarh-row-main strong{display:block; color:#16243f; font-size:15px; line-height:1.45} .sarh-row-cohort{display:inline-block; margin-top:4px; padding:3px 9px; border-radius:999px; background:#eef3f7; color:#16243f; font-size:11px; font-weight:750} .sarh-row-date{display:block; margin-top:6px; color:#3f4a5d; font-size:12.5px; font-weight:700; line-height:1.6} .sarh-row-meta{display:block; margin-top:3px; color:#687386; font-size:11.5px; line-height:1.6} .sarh-row-side{display:grid; gap:6px; justify-items:stretch; text-align:center} .sarh-row-price{color:#16243f; font-size:12px; line-height:1.6} .sarh-row-price b{font-family:Montserrat,Cairo,sans-serif; font-size:17px; color:#b5181a} .sarh-row-price s{color:#98a2b3; margin-inline-start:5px; font-size:11.5px} .sarh-row-price i{display:block; color:#687386; font-size:10.5px; font-style:normal} .sarh-row-btn{display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 18px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:12.5px; font-weight:800; text-decoration:none !important} .sarh-row-btn:hover{background:#8f1214} .sarh-row-link{color:#687386 !important; font-size:11px; text-decoration:none !important} .sarh-row-link:hover{color:#b5181a !important} @media(max-width:767px){.sarh-modal-card{width:calc(100% - 20px); margin:4vh auto 0; max-height:92vh; border-radius:20px}.sarh-modal-top{padding:18px}.sarh-modal-body{padding:6px 18px 20px}.sarh-row{grid-template-columns:1fr; gap:12px}.sarh-row-side{justify-items:stretch}} @media(prefers-reduced-motion:reduce){.sarh-next-btn,.sarh-row{transition:none}} .scp-root [data-sarh-next]{margin:18px 0}.scp-root .sarh-next-btn{background:#b5181a;color:#fff;border-radius:999px;padding:12px 22px;font-weight:800;text-decoration:none;display:block;text-align:center}.scp-root .sarh-next-btn:hover{background:#8f1214;color:#fff}.scp-root .sarh-next-all{background:transparent;color:#16243f;border:1.5px solid #cfd6e2;border-radius:999px;padding:11px 22px;font-weight:800;cursor:pointer;display:block;width:100%} .bottom-cta-container .single_add_to_cart_button,.cta-unified-stack-wrapper .single_add_to_cart_button{background:#b5181a!important;color:#fff!important;border-color:#b5181a!important}.bottom-cta-container .single_add_to_cart_button:hover,.cta-unified-stack-wrapper .single_add_to_cart_button:hover{background:#8f1214!important;color:#fff!important}.woocommerce-Reviews .woocommerce-noreviews,#reviews .woocommerce-noreviews,p.woocommerce-noreviews{display:none!important} html body .summary.entry-summary form.cart table.variations th.label,html body .summary.entry-summary form.cart table.variations td.value,html body .entry-summary form.cart table.variations th.label,html body .entry-summary form.cart table.variations td.value{text-align:left!important;direction:ltr!important}html body .summary.entry-summary form.cart table.variations td.value select,html body .entry-summary form.cart table.variations td.value select,html body .woocommerce div.product form.cart .variations select{text-align:left!important;direction:ltr!important;text-align-last:left!important}html body .summary.entry-summary form.cart table.variations th.label label,html body .entry-summary form.cart table.variations th.label label{font-family:Montserrat,Cairo,system-ui,sans-serif!important;text-align:left!important;direction:ltr!important}html body .single-product-payments-custom-01 .payment-custom-img,html body img.payment-custom-img{border-radius:0!important;object-fit:contain!important;width:auto!important;max-width:58px!important;height:22px!important} \/* sarh-product-rich-v1 rich *\/ .scp-faq{display:grid;gap:10px}.scp-qa{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.scp-qa summary{padding:15px 18px;cursor:pointer;font-weight:800;color:var(--nv,#16243f);list-style:none;position:relative;font-size:14.5px;line-height:1.7}.scp-qa summary::-webkit-details-marker{display:none}.scp-qa summary::after{content:\"+\";position:absolute;inset-inline-end:16px;top:12px;font-size:20px;font-weight:800;color:#b5181a}.scp-qa[open] summary::after{content:\"\\2212\"}.scp-qa p{margin:0;padding:0 18px 16px;color:var(--mu,#5a6577);font-size:14px;line-height:1.9}.scp-rel{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.scp-rel a{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}.scp-rel a:hover{border-color:#b5181a;box-shadow:0 6px 18px rgba(16,22,38,.07)}.scp-rel b{display:block;color:var(--nv,#16243f);font-size:14px;line-height:1.6;margin-bottom:4px}.scp-rel span{display:block;color:var(--mu,#5a6577);font-size:12.5px;line-height:1.6}.scp-eb{font-size:12px}.scp-cap{font-size:12px}<\/style>\n<!-- sarh-crs-design-v1 -->\n<div class=\"crs-v1\">\n<section class=\"crs-sec crs-intro\"><div class=\"crs-wrap\">\n<span class=\"crs-kick\">A professional certification from PMI<\/span>\n<h2>Lead AI initiatives from idea to operation<\/h2>\n<p class=\"crs-lead\">A preparation course for the PMI-CPMAI\u2122 certification awarded by the Project Management Institute (PMI). You train on the six phases of the CPMAI methodology and the five exam domains, and you receive PMI&#8217;s official learning kit.<\/p>\n<div class=\"crs-acts\"><a class=\"crs-btn crs-btn-red\" href=\"#\" data-sarh-schedule=\"CPMAI\" data-scp-cart>See the available cohort<\/a><a class=\"crs-btn crs-btn-ghost\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Talk to a programme adviser<\/a><\/div>\n<div class=\"crs-seal\" style=\"display:flex;align-items:center;gap:18px;max-width:660px;margin-block-start:28px;padding:16px 18px;border:1px solid var(--line);border-radius:20px;background:#fff\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/sarh-accr-pmi-atp.png\" alt=\"PMI Authorized Training Partner seal\" width=\"96\" height=\"96\" loading=\"lazy\" decoding=\"async\" style=\"width:96px;height:96px;flex:none\"><p dir=\"ltr\" style=\"margin:0;text-align:left;color:var(--mu);font-size:12.5px;line-height:1.7\">Provider is a member of the PMI ATP Program.<br>PMI does not specifically endorse, approve, or warrant ATP&#8217;s products, courses, publications, or services.<br>The PMI ATP seal is a registered mark of the Project Management Institute, Inc.<br>PMI, PMI-CPMAI and CPMAI are marks of Project Management Institute, Inc.<\/p><\/div>\n<\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Programme essentials<\/h2><\/div><div class=\"crs-facts\" style=\"grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))\">\n<div>Awarding body: Project Management Institute (PMI)<\/div>\n<div>PMI&#8217;s official learning kit for every participant<\/div>\n<div>Training on the six CPMAI phases and the five exam domains<\/div>\n<div>Language of instruction: Arabic and English (PMI&#8217;s learning kit is in English)<\/div>\n<div>A 120-question exam, available in Arabic or English<\/div>\n<div>No prior experience or PMI membership required<\/div>\n<div>In person in Amman or live online<\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-dates\" data-sarh-next=\"\/products\/pmi-cpmai-course\" data-sarh-price=\"off\"><strong>Next cohort<\/strong>\n<p>CPMAI 1 starts on Saturday 2 January 2027 and ends on 27 February 2027. It meets on Saturdays from 10:00am to 1:30pm, in person at Sarh&#8217;s premises in Jabal Al-Hussein or live online.<\/p>\n<p style=\"margin-block-start:14px\"><a class=\"crs-btn crs-btn-ghost\" href=\"https:\/\/tms.sarhint.com\/register?c=1496\" target=\"_blank\" rel=\"noopener\">Register for this cohort<\/a><\/p>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-strip\">\n<div><small>The course fee includes PMI&#8217;s official learning kit for every participant, the training, in-person or online attendance and the session recordings. It does not include the PMI-CPMAI\u2122 exam fee, which you pay to PMI directly when you book the exam. Choose how you will attend in the options at the top of the page, then pay online.<\/small><\/div>\n<p><a class=\"crs-btn crs-btn-red\" href=\"#\" data-sarh-buy data-scp-cart>Enrol now<\/a><\/p><\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Who this programme serves<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">For people who lead AI initiatives in their organisation, or are preparing to. No prior experience in project management, technology or AI is required.<\/p><\/div><div class=\"crs-cards\" style=\"grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))\">\n<div class=\"crs-card\">\n<p>Project and programme managers<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>Product managers and business analysts<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>Technology and digital transformation leaders<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>Data and analytics specialists<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>Anyone who leads AI initiatives or is preparing to lead them<\/p>\n<\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What you will learn<\/h2><\/div><div class=\"crs-cards\">\n<div>How to run an AI project through the six phases of the CPMAI methodology, from business understanding to putting the model into operation.<\/div>\n<div>How to match a business need to the right AI pattern, and assess feasibility, risk and return on investment.<\/div>\n<div>How to identify and assess the data a project needs, and make the go\/no-go decision.<\/div>\n<div>How to apply responsible and trustworthy AI in practice: privacy, transparency, bias checks and compliance.<\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec crs-path\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>The CPMAI methodology<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">The methodology builds on the CRISP-DM framework, which puts data at the centre of the work, and on agile iteration, and adds governance, ethical considerations and alignment with business goals at every phase. A project moves through six iterative phases: the team may go back to an earlier phase, and the whole cycle can repeat whenever needs change.<\/p><\/div><div class=\"crs-steps\" style=\"grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))\">\n<div class=\"crs-step\"><b>01<\/b><h3>Business understanding<\/h3><p>Set the business goals, confirm that AI suits the problem, and define the success criteria, KPIs and expected return.<\/p><\/div>\n<div class=\"crs-step\"><b>02<\/b><h3>Data understanding<\/h3><p>Identify the data required, confirm that it is available and where it comes from, and assess its quality.<\/p><\/div>\n<div class=\"crs-step\"><b>03<\/b><h3>Data preparation<\/h3><p>Clean, aggregate, augment, label and transform the data so that it is ready for model building.<\/p><\/div>\n<div class=\"crs-step\"><b>04<\/b><h3>Model development<\/h3><p>Choose the algorithms, then train, tune and validate the model.<\/p><\/div>\n<div class=\"crs-step\"><b>05<\/b><h3>Model evaluation<\/h3><p>Measure accuracy, analyse errors and align the results with the KPIs, checking for bias, fairness, explainability and compliance.<\/p><\/div>\n<div class=\"crs-step\"><b>06<\/b><h3>Model operationalisation<\/h3><p>Deploy the solution and build it into the business, monitor drift and performance decline, and govern it in operation so that it keeps delivering value.<\/p><\/div>\n<\/div>\n<p style=\"margin-block-start:26px;max-width:92ch;color:#cbd5e1;font-size:15px;line-height:1.95\">The methodology applies to AI, machine learning, advanced analytics and intelligent automation projects of any size, and it uses the seven patterns of AI to scope each project: hyperpersonalisation, conversational and human interaction, recognition, patterns and anomalies, predictive analytics and decision support, goal-driven systems, and autonomous systems.<\/p>\n<\/div><\/section>\n<section class=\"crs-sec is-mist\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>The syllabus in full<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">The course covers the five PMI-CPMAI\u2122 exam domains as set out in PMI&#8217;s exam content outline (September 2025), with the weight of each domain in the exam.<\/p><\/div><details class=\"crs-faq\" open>\n<summary><b>1<\/b>Domain 1: Support Responsible and Trustworthy AI Efforts (15%)<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\" style=\"padding:0 22px 20px\"><span>Data privacy and security plan<\/span><span>Transparency and model explainability<\/span><span>Checking data, models and algorithms for bias<\/span><span>Compliance with laws and policies, and documented accountability<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>2<\/b>Domain 2: Identify Business Needs and Solutions (26%)<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\" style=\"padding:0 22px 20px\"><span>Defining the problem and matching it to AI patterns<\/span><span>Initial feasibility and risk assessment<\/span><span>Project scope and return on investment<\/span><span>Success criteria, KPIs and the feasibility study<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>3<\/b>Domain 3: Identify Data Needs (26%)<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\" style=\"padding:0 22px 20px\"><span>The data required, its sources and its subject experts<\/span><span>The working environment and AI infrastructure<\/span><span>Data privacy, compliance and access rights<\/span><span>Data assessment and the go\/no-go decision<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>4<\/b>Domain 4: Manage AI Model Development and Evaluation (16%)<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\" style=\"padding:0 22px 20px\"><span>Overseeing how models are built and trained<\/span><span>Data preparation, transformation and quality control<\/span><span>Model quality control and testing<\/span><span>Deciding whether the model is ready for operation<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>5<\/b>Domain 5: Operationalize AI Solution (17%)<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\" style=\"padding:0 22px 20px\"><span>Deployment plan and execution<\/span><span>Model governance: monitoring drift and retraining<\/span><span>Solution metrics, and transition and contingency plans<\/span><span>Final report and lessons learned<\/span><\/div>\n<\/details><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>How the programme runs<\/h2><\/div><div class=\"crs-how\">Every cohort runs in person at Sarh&#8217;s premises in Jabal Al-Hussein, Amman, and live online at the same time, so you choose the way that suits you. You train on the six CPMAI phases and the five PMI-CPMAI\u2122 exam domains with PMI&#8217;s official learning kit, which every participant receives, and the session recordings are available to watch on the Sarh Online platform.<\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Scheduling and enrolment<\/h2><\/div><dl class=\"crs-rows\"><div><dt>Lecture times<\/dt><dd>According to the schedule of the cohort you choose<\/dd><\/div><div><dt>Attendance option and location<\/dt><dd>In person at Sarh&#8217;s premises in Jabal Al-Hussein, Amman \u00b7 or live online<\/dd><\/div><div><dt>Session recordings<\/dt><dd>Available to watch on the Sarh Online platform<\/dd><\/div><div><dt>Language of instruction<\/dt><dd>Arabic and English<\/dd><\/div><div><dt>Course material language<\/dt><dd>English (PMI&#8217;s official learning kit)<\/dd><\/div><div><dt>What the fee covers<\/dt><dd>PMI&#8217;s official learning kit for every participant, training on the six CPMAI phases and the five PMI-CPMAI\u2122 exam domains, in-person or online attendance, and the session recordings<\/dd><\/div><div><dt>Not included<\/dt><dd>The PMI-CPMAI\u2122 exam fee, paid to PMI directly when you book, at PMI&#8217;s regional rates<\/dd><\/div><div><dt>How to enrol<\/dt><dd>Choose Online or In-Person in the options at the top of this page and pay online, or <a href=\"https:\/\/tms.sarhint.com\/register?c=1496\" target=\"_blank\" rel=\"noopener\">register for the cohort through the registration form<\/a><\/dd><\/div><div><dt>Companies and organisations<\/dt><dd>For organisations nominating more than one employee, corporate and group prices are reviewed with each request and sent as a formal quotation, with a statement of account and an invoice in the organisation&#8217;s name. <a href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Contact us<\/a><\/dd><\/div><\/dl><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Exam information<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">The PMI Certified Professional in Managing AI (PMI-CPMAI)\u2122 certification is awarded by the Project Management Institute (PMI). Its exam measures your ability to manage AI initiatives from idea to operation using the CPMAI methodology, which is not tied to any one tool or vendor. No prior experience or PMI membership is required, but PMI requires you to complete the PMI-CPMAI\u2122 preparation course before you book the exam. Completing this course at Sarh meets that requirement.<\/p><\/div><div class=\"crs-facts\">\n<div><strong>120 questions<\/strong><span>100 of them count towards the result<\/span><\/div>\n<div><strong>Arabic or English<\/strong><span>among other exam languages<\/span><\/div>\n<div><strong>Pearson VUE<\/strong><span>at a test centre or online with remote proctoring<\/span><\/div>\n<div><strong>Pass or fail<\/strong><span>the result appears in your PMI account<\/span><\/div>\n<div><strong>3 attempts<\/strong><span>within one year, with an exam fee for each retake<\/span><\/div>\n<div><strong>30 PDUs<\/strong><span>professional development units to renew the certification every 3 years<\/span><\/div>\n<div><strong>PMI&#8217;s fee<\/strong><span>not included in the course fee; paid to PMI directly when you book, at its regional rates<\/span><\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What sets the programme apart<\/h2><\/div><div class=\"crs-cards\">\n<div class=\"crs-card\">\n<p>PMI&#8217;s official learning kit: every participant receives it, and it is included in the course fee.<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>A practical method for AI projects: a structured way to run the project, from defining the business need and assessing the data to deploying the solution and monitoring it.<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>Responsible and trustworthy AI: data privacy and security, transparency and explainability, bias checks, and compliance with laws and policies.<\/p>\n<\/div>\n<div class=\"crs-card\">\n<p>In person or online: attend at Sarh&#8217;s premises in Amman or live online, and go back to the session recordings on the Sarh Online platform.<\/p>\n<\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What people ask before they enrol<\/h2><\/div><div class=\"crs-faq-list\"><details class=\"crs-faq\"><summary>Who awards the PMI-CPMAI\u2122 certification, and what does the exam measure?<\/summary><p class=\"crs-faq-a\">It is awarded by the Project Management Institute (PMI). The exam measures your ability to manage AI initiatives from idea to operation using the CPMAI methodology, which is not tied to any one tool or vendor.<\/p><\/details><details class=\"crs-faq\"><summary>Do I need prior experience or PMI membership?<\/summary><p class=\"crs-faq-a\">No prior experience in project management, technology or AI is required, and you do not need PMI membership. PMI requires you to complete the PMI-CPMAI\u2122 preparation course before you book the exam, and completing this course at Sarh meets that requirement.<\/p><\/details><details class=\"crs-faq\"><summary>How do I attend the course?<\/summary><p class=\"crs-faq-a\">Every cohort runs in person at Sarh&#8217;s premises in Jabal Al-Hussein, Amman, and live online, so you choose the way that suits you. The session recordings are available to watch on the Sarh Online platform.<\/p><\/details><details class=\"crs-faq\"><summary>What language is the course taught in?<\/summary><p class=\"crs-faq-a\">The course is taught in Arabic and English, and PMI&#8217;s official learning kit is in English. The PMI-CPMAI\u2122 exam itself is available in Arabic or English, among other languages.<\/p><\/details><details class=\"crs-faq\"><summary>What does the course fee cover?<\/summary><p class=\"crs-faq-a\">It covers PMI&#8217;s official learning kit for every participant, training on the six CPMAI phases and the five PMI-CPMAI\u2122 exam domains, in-person or live online attendance, and the session recordings on the Sarh Online platform.<\/p><\/details><details class=\"crs-faq\"><summary>Is the exam fee included in the course fee?<\/summary><p class=\"crs-faq-a\">No. You pay the exam fee to PMI directly when you book, at PMI&#8217;s regional rates. You have three attempts within one year, and each retake carries its own exam fee.<\/p><\/details><details class=\"crs-faq\"><summary>What does the PMI-CPMAI\u2122 exam look like?<\/summary><p class=\"crs-faq-a\">It has 120 questions, 100 of which count towards the result, and it covers the five exam domains of the CPMAI methodology. You sit it through Pearson VUE at a test centre or online with remote proctoring, in Arabic or English among other languages, and the result is pass or fail.<\/p><\/details><details class=\"crs-faq\"><summary>How do I enrol?<\/summary><p class=\"crs-faq-a\">Choose Online or In-Person in the options at the top of this page and pay online, or register for the cohort through the registration form from the &#8220;See the available cohort&#8221; button. If you have any questions, get in touch and we will help.<\/p><\/details><details class=\"crs-faq\"><summary>Are there prices for companies and organisations?<\/summary><p class=\"crs-faq-a\">Yes. For organisations nominating more than one employee, corporate and group prices are reviewed with each request and sent as a formal quotation, with a statement of account and an invoice in the organisation&#8217;s name. Contact us to request one.<\/p><\/details><\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Pairs well with this<\/h2><\/div><div class=\"crs-rel\"><a href=\"https:\/\/sarhgroups.com\/en\/pmi-cpmai\"><b style=\"display:block\">About the PMI-CPMAI\u2122 certification<\/b><span style=\"display:block;margin-block-start:4px;color:var(--mu);font-size:13.5px;font-weight:500\">The certification, the methodology and the exam.<\/span><\/a><a href=\"https:\/\/sarhgroups.com\/en\/products\/pmp-project-management-professional-course\"><b style=\"display:block\">PMP\u00ae Project Management Professional Course<\/b><span style=\"display:block;margin-block-start:4px;color:var(--mu);font-size:13.5px;font-weight:500\">Another certification awarded by PMI.<\/span><\/a><a href=\"https:\/\/sarhgroups.com\/en\/training-courses\"><b style=\"display:block\">All training courses<\/b><span style=\"display:block;margin-block-start:4px;color:var(--mu);font-size:13.5px;font-weight:500\">Every programme open for enrolment at Sarh.<\/span><\/a><\/div><\/div><\/section>\n<section class=\"crs-sec crs-cta-sec\"><div class=\"crs-wrap\"><div class=\"crs-cta\"><div><h2>Ready to start?<\/h2><p>Choose the study option that suits you, or get in touch and we will help you pick the cohort and attendance method that fit.<\/p><\/div><div class=\"crs-cta-acts\"><a class=\"crs-btn crs-btn-ghost\" href=\"#\" data-sarh-schedule=\"CPMAI\" data-scp-cart>See the available cohort<\/a><a class=\"crs-btn crs-btn-soft\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Talk to a programme adviser<\/a><\/div><\/div><\/div><\/section>\n<\/div>\n<script>(function(){try{var d=atob(\"LyogU2FyaCDDlyB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lIj4nICsgbW9yZVRleHQobGlzdC5sZW5ndGggLSAxKSArICc8L3A+JwogICAgICA6ICIiOwogICAgZWwuaW5uZXJIVE1MID0KICAgICAgJzxkaXYgY2xhc3M9InNhcmgtbmV4dCI+JyArCiAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtbmV4dC1tYWluIj4nICsKICAgICAgICAgICc8c3BhbiBjbGFzcz0ic2FyaC1uZXh0LWtpY2siPicgKyBULm5leHQgKyAnPC9zcGFuPicgKwogICAgICAgICAgJzxzdHJvbmcgY2xhc3M9InNhcmgtbmV4dC1kYXRlIj4nICsgZXNjKGZtdERhdGUoYy5zdGFydF9kYXRlKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtbmV4dC1jb2hvcnQiPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAoYy5jb2hvcnQgPyAiIMK3ICIgKyBlc2MoYy5jb2hvcnQpIDogIiIpICsgJzwvc3Bhbj4nICsKICAgICAgICAgICc8ZGwgY2xhc3M9InNhcmgtbmV4dC1yb3dzIj4nICsKICAgICAgICAgICAgcm93cy5tYXAoZnVuY3Rpb24gKHIpIHsgcmV0dXJuICI8ZHQ+IiArIGVzYyhyWzBdKSArICI8L2R0PjxkZD4iICsgZXNjKHJbMV0pICsgIjwvZGQ+IjsgfSkuam9pbigiIikgKwogICAgICAgICAgJzwvZGw+JyArIG1vcmUgKwogICAgICAgICc8L2Rpdj4nICsKICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1uZXh0LXNpZGUiPicgKwogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtbmV4dC1wcmljZSI+JyArIGZtdFByaWNlKGMpICsgJzwvZGl2PicgKwogICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLW5leHQtYnRuIiBocmVmPSInICsgZXNjKHJlZ1VybChjKSkgKyAnIiByZWw9Im5vb3BlbmVyIj4nICsgVC5yZWcgKyAnPC9hPicgKwogICAgICAgICA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wogICAgaWYgKCFtb250aHMubGVuZ3RoIHx8ICEoZGF0YS5jb3VudCA+IDApKSB7CiAgICAgIGJvZHkuaW5uZXJIVE1MID0gJzxwIGNsYXNzPSJzYXJoLW1vZGFsLW1zZyI+JyArIFQuZW1wdHkgKyAiPC9wPiI7CiAgICAgIHJldHVybjsKICAgIH0KICAgIHZhciBodG1sID0gIiI7CiAgICBtb250aHMuZm9yRWFjaChmdW5jdGlvbiAobSkgewogICAgICB2YXIgaWRzID0gbS5jb2hvcnRzIHx8IFtdOwogICAgICB2YXIgcm93cyA9IGlkcy5tYXAoZnVuY3Rpb24gKHgpIHsKICAgICAgICB2YXIgaWQgPSAoeCAmJiB0eXBlb2YgeCA9PT0gIm9iamVjdCIpID8geC5pZCA6IHg7CiAgICAgICAgcmV0dXJuIGJ5SWRbaWRdIHx8IGZsYXQoeCk7ICAgICAgICAgIC8qIHByZWZlciB0aGUgc25ha2VfY2FzZSByb3csIGVsc2UgZmxhdHRlbiAqLwogICAgICB9KS5maWx0ZXIoQm9vbGVhbik7CiAgICAgIGlmIChmaWx0ZXIpIHsKICAgICAgICB2YXIgdGVybXMgPSBTdHJpbmcoZmlsdGVyKS5zcGxpdCgifCIpLm1hcChmdW5jdGlvbiAodCkgeyByZXR1cm4gdC50cmltKCk7IH0pLmZpbHRlcihCb29sZWFuKTsKICAgICAgICByb3dzID0gcm93cy5maWx0ZXIoZnVuY3Rpb24gKGMpIHsKICAgICAgICAgIHZhciBoYXkgPSAoYy5jb3Vyc2VfYXIgfHwgIiIpICsgIiAiICsgKGMuY291cnNlX2VuIHx8ICIiKSArICIgIiArIChjLmNvaG9ydCB8fCAiIik7CiAgICAgICAgICByZXR1cm4gdGVybXMuc29tZShmdW5jdGlvbiAodCkgeyByZXR1cm4gaGF5LmluZGV4T2YodCkgIT09IC0xOyB9KTsKICAgICAgICB9KTsKICAgICAgfQogICAgICBpZiAoIXJvd3MubGVuZ3RoKSByZXR1cm47CiAgICAgIGh0bWwgKz0gJzxzZWN0aW9uIGNsYXNzPSJzYXJoLW1vbiI+PGgzPicgKyBlc2MobS5sYWJlbCB8fCBtLmtleSkgKyAnPC9oMz48ZGl2IGNsYXNzPSJzYXJoLW1vbi1saXN0Ij4nOwogICAgICByb3dzLmZvckVhY2goZnVuY3Rpb24gKGMpIHsKICAgICAgICB2YXIgbWV0YSA9IFtmbXREYXlzKGMuZGF5cyksCiAgICAgICAgICAgICAgICAgICAgYy5zdGFydF90aW1lID8gZm10VGltZShjLnN0YXJ0X3RpbWUpICsgIiDigJMgIiArIGZtdFRpbWUoYy5lbmRfdGltZSkgOiAiIiwKICAgICAgICAgICAgICAgICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIj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VjdG9yKCIuc2FyaC1tb2RhbC1ib2R5IikuaW5uZXJIVE1MID0gJzxwIGNsYXNzPSJzYXJoLW1vZGFsLW1zZyI+JyArIFQuZXJyICsgIjwvcD4iOwogICAgfSk7CiAgfQoKICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCJjbGljayIsIGZ1bmN0aW9uIChlKSB7CiAgICB2YXIgYiA9IGUudGFyZ2V0LmNsb3Nlc3QgPyBlLnRhcmdldC5jbG9zZXN0KCJbZGF0YS1zYXJoLXNjaGVkdWxlXSIpIDogbnVsbDsKICAgIGlmIChiKSB7IGUucHJldmVudERlZmF1bHQoKTsgb3BlbihiLmdldEF0dHJpYnV0ZSgiZGF0YS1zYXJoLXNjaGVkdWxlIikgfHwgIiIpOyB9CiAgfSk7CgogIGZ1bmN0aW9uIGJvb3QoKSB7CiAgICB2YXIgbmV4dHMgPSBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCJbZGF0YS1zYXJoLW5leHRdIik7CiAgICBpZiAoIW5leHRzLmxlbmd0aCkgcmV0dXJuOwogICAgbG9hZCgpLnRoZW4oZnVuY3Rpb24gKGQpIHsKICAgICAgQXJyYXkucHJvdG90eXBlLmZvckVhY2guY2FsbChuZXh0cywgZnVuY3Rpb24gKGVsKSB7CiAgICAgICAgdHJ5IHsgZmlsbE5leHQoZWwsIGQpOyB9IGNhdGNoIChlKSB7fQogICAgICB9KTsKICAgIH0pLmNhdGNoKGZ1bmN0aW9uICgpIHsgLyogc3RhdGljIGZhbGxiYWNrIHN0YXlzICovIH0pOwogIH0KICBpZiAoZG9jdW1lbnQucmVhZHlTdGF0ZSA9PT0gImxvYWRpbmciKSBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgYm9vdCk7CiAgZWxzZSBib290KCk7Cn0pKCk7Cg==\"),n=d.length,u=new Uint8Array(n),i=n;while(i--){u[i]=d.charCodeAt(i);}new Function(new TextDecoder(\"utf-8\").decode(u))();}catch(e){}})();<\/script><script>(function(){if(window.__sarhBuy){return;}window.__sarhBuy=1;document.addEventListener(\"click\",function(e){var a=e.target.closest?e.target.closest(\"[data-sarh-buy]\"):null;if(!a){return;}var f=document.querySelector(\"form.variations_form\")||document.querySelector(\"form.cart\");if(!f){return;}e.preventDefault();f.scrollIntoView({behavior:\"smooth\",block:\"center\"});var s=f.querySelector(\"select\");if(s){setTimeout(function(){try{s.focus();}catch(x){}},450);}});}());<\/script>\n<!-- sarh-schema-v2 --><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en#faq\",\"inLanguage\":\"en\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Who awards the PMI-CPMAI\u2122 certification, and what does the exam measure?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It is awarded by the Project Management Institute (PMI). The exam measures your ability to manage AI initiatives from idea to operation using the CPMAI methodology, which is not tied to any one tool or vendor.\"}},{\"@type\":\"Question\",\"name\":\"Do I need prior experience or PMI membership?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No prior experience in project management, technology or AI is required, and you do not need PMI membership. PMI requires you to complete the PMI-CPMAI\u2122 preparation course before you book the exam, and completing this course at Sarh meets that requirement.\"}},{\"@type\":\"Question\",\"name\":\"How do I attend the course?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Every cohort runs in person at Sarh's premises in Jabal Al-Hussein, Amman, and live online, so you choose the way that suits you. The session recordings are available to watch on the Sarh Online platform.\"}},{\"@type\":\"Question\",\"name\":\"What language is the course taught in?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The course is taught in Arabic and English, and PMI's official learning kit is in English. The PMI-CPMAI\u2122 exam itself is available in Arabic or English, among other languages.\"}},{\"@type\":\"Question\",\"name\":\"What does the course fee cover?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It covers PMI's official learning kit for every participant, training on the six CPMAI phases and the five PMI-CPMAI\u2122 exam domains, in-person or live online attendance, and the session recordings on the Sarh Online platform.\"}},{\"@type\":\"Question\",\"name\":\"Is the exam fee included in the course fee?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. You pay the exam fee to PMI directly when you book, at PMI's regional rates. You have three attempts within one year, and each retake carries its own exam fee.\"}},{\"@type\":\"Question\",\"name\":\"What does the PMI-CPMAI\u2122 exam look like?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It has 120 questions, 100 of which count towards the result, and it covers the five exam domains of the CPMAI methodology. You sit it through Pearson VUE at a test centre or online with remote proctoring, in Arabic or English among other languages, and the result is pass or fail.\"}},{\"@type\":\"Question\",\"name\":\"How do I enrol?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Choose Online or In-Person in the options at the top of this page and pay online, or register for the cohort through the registration form from the \\\"See the available cohort\\\" button. If you have any questions, get in touch and we will help.\"}},{\"@type\":\"Question\",\"name\":\"Are there prices for companies and organisations?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. For organisations nominating more than one employee, corporate and group prices are reviewed with each request and sent as a formal quotation, with a statement of account and an invoice in the organisation's name. Contact us to request one.\"}}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sarhgroups.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Training Courses\",\"item\":\"https:\/\/sarhgroups.com\/en\/training-courses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PMI-CPMAI\u2122 Certified Professional in Managing AI Course\",\"item\":\"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en\"}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"Course\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en#course\",\"name\":\"PMI-CPMAI\u2122 Certified Professional in Managing AI Course\",\"description\":\"A preparation programme for the PMI-CPMAI\u2122 exam in managing AI projects, delivered by Sarh as a member of the PMI Authorized Training Partner (ATP) Program, in person at its premises in Amman or live online. The fee includes PMI's official learning kit for every participant; the exam fee is paid to PMI directly.\",\"url\":\"https:\/\/sarhgroups.com\/en\/products\/pmi-cpmai-course-en\",\"inLanguage\":[\"ar\",\"en\"],\"provider\":{\"@type\":\"Organization\",\"@id\":\"https:\/\/sarhgroups.com\/#organization\"}}<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>A preparation programme for the PMI-CPMAI\u2122 exam in managing AI projects, delivered by Sarh as a member of the PMI Authorized Training Partner (ATP) Program, in person at its premises in Amman or live online. The fee includes PMI&#8217;s official learning kit for every participant; the exam fee is paid to PMI directly.<\/p>\n","protected":false},"featured_media":59147,"comment_status":"open","ping_status":"closed","template":"","meta":{"_kb_optimizer_status":0,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":""},"product_brand":[],"product_cat":[65],"product_tag":[],"class_list":["post-59154","product","type-product","status-publish","has-post-thumbnail","product_cat-training-courses","first","instock","sale","shipping-taxable","purchasable","product-type-variable","has-default-attributes","entry","content-bg","loop-entry"],"taxonomy_info":{"product_cat":[{"value":65,"label":"Training Courses"}]},"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/12\/sarh-pmi-cpmai-course-2026-en.webp",1000,1000,false],"author_info":[],"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product\/59154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/comments?post=59154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/59147"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=59154"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_brand?post=59154"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_cat?post=59154"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_tag?post=59154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}